Class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
Usage metadata about response(s).
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata : IDirectResponseSchema
Properties
CachedContentTokenCount
Output only. Number of tokens in the cached part in the input (the cached content).
Declaration
[JsonProperty("cachedContentTokenCount")]
public virtual int? CachedContentTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
CandidatesTokenCount
Number of tokens in the response(s).
Declaration
[JsonProperty("candidatesTokenCount")]
public virtual int? CandidatesTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PromptTokenCount
Number of tokens in the request. When cached_content
is set, this is still the total effective prompt size
meaning this includes the number of tokens in the cached content.
Declaration
[JsonProperty("promptTokenCount")]
public virtual int? PromptTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
TotalTokenCount
Total token count for prompt and response candidates.
Declaration
[JsonProperty("totalTokenCount")]
public virtual int? TotalTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |