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
CachedContent
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
|
Edit this page
View Source
CreateTime
Declaration
[JsonProperty("createTime")]
public ZuluTime CreateTime { get; set; }
Property Value
|
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
|
Edit this page
View Source
ExpireTime
Declaration
[JsonProperty("expireTime")]
public ZuluTime ExpireTime { get; set; }
Property Value
|
Edit this page
View Source
Model
Declaration
[JsonProperty("model")]
public Model Model { get; set; }
Property Value
|
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
|
Edit this page
View Source
SystemInstruction
Declaration
[JsonProperty("systemInstruction")]
public GeminiContent SystemInstruction { get; set; }
Property Value
|
Edit this page
View Source
ToolConfig
Declaration
[JsonProperty("toolConfig")]
public ToolConfig ToolConfig { get; set; }
Property Value
|
Edit this page
View Source
Tools
Declaration
[JsonProperty("tools")]
public List<GeminiTool> Tools { get; set; }
Property Value
|
Edit this page
View Source
Ttl
Declaration
[JsonProperty("ttl")]
public ZuluTime Ttl { get; set; }
Property Value
|
Edit this page
View Source
UpdateTime
Declaration
[JsonProperty("updateTime")]
public ZuluTime UpdateTime { get; set; }
Property Value
|
Edit this page
View Source
UsageMetadata
Declaration
[JsonProperty("usageMetadata")]
public Usage UsageMetadata { get; set; }
Property Value
Extension Methods