Class ContentEmbeddingStatistics
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Statistics of the input text associated with the result of content embedding.
public class ContentEmbeddingStatistics
- Inheritance
-
ContentEmbeddingStatistics
- Inherited Members
- Extension Methods
Properties
TokenCount
Vertex API only. Number of tokens of the input text.
[JsonPropertyName("tokenCount")]
public double? TokenCount { get; set; }
Property Value
TokensDetails
Token counts per input modality.
[JsonPropertyName("tokensDetails")]
public List<ModalityTokenCount>? TokensDetails { get; set; }
Property Value
Truncated
Vertex API only. If the input text was truncated due to having a length longer than the allowed maximum input.
[JsonPropertyName("truncated")]
public bool? Truncated { get; set; }
Property Value
- bool?