Search Results for

    Show / Hide Table of Contents

    Class CachedContent

    Content that has been preprocessed and can be used in subsequent request to ModelService. Cached content can be only used with model it was created for.

    Inheritance
    object
    CachedContent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class CachedContent

    Properties

    | Edit this page View Source

    Contents

    Declaration
    [JsonProperty("contents")]
    public List<GeminiContent> Contents { get; set; }
    Property Value
    Type Description
    List<GeminiContent>
    | Edit this page View Source

    CreateTime

    Declaration
    [JsonProperty("createTime")]
    public ZuluTime CreateTime { get; set; }
    Property Value
    Type Description
    ZuluTime
    | Edit this page View Source

    DisplayName

    Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.

    Declaration
    [JsonProperty("displayName")]
    public string DisplayName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ExpireTime

    Declaration
    [JsonProperty("expireTime")]
    public ZuluTime ExpireTime { get; set; }
    Property Value
    Type Description
    ZuluTime
    | Edit this page View Source

    Model

    Declaration
    [JsonProperty("model")]
    public Model Model { get; set; }
    Property Value
    Type Description
    Model
    | Edit this page View Source

    Name

    Optional. Identifier. The resource name referring to the cached content. Format: cachedContents/{id}

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SystemInstruction

    Declaration
    [JsonProperty("systemInstruction")]
    public GeminiContent SystemInstruction { get; set; }
    Property Value
    Type Description
    GeminiContent
    | Edit this page View Source

    ToolConfig

    Declaration
    [JsonProperty("toolConfig")]
    public ToolConfig ToolConfig { get; set; }
    Property Value
    Type Description
    ToolConfig
    | Edit this page View Source

    Tools

    Declaration
    [JsonProperty("tools")]
    public List<GeminiTool> Tools { get; set; }
    Property Value
    Type Description
    List<GeminiTool>
    | Edit this page View Source

    Ttl

    Declaration
    [JsonProperty("ttl")]
    public ZuluTime Ttl { get; set; }
    Property Value
    Type Description
    ZuluTime
    | Edit this page View Source

    UpdateTime

    Declaration
    [JsonProperty("updateTime")]
    public ZuluTime UpdateTime { get; set; }
    Property Value
    Type Description
    ZuluTime
    | Edit this page View Source

    UsageMetadata

    Declaration
    [JsonProperty("usageMetadata")]
    public Usage UsageMetadata { get; set; }
    Property Value
    Type Description
    Usage

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation