Table of Contents

Class VertexPredictEmbeddingStatistics

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Input statistics returned by the Vertex AI embedding predict method (snake_case on the wire).

public class VertexPredictEmbeddingStatistics
Inheritance
VertexPredictEmbeddingStatistics
Inherited Members
Extension Methods

Properties

TokenCount

Number of tokens in the input.

[JsonPropertyName("token_count")]
public double? TokenCount { get; set; }

Property Value

double?

Truncated

Whether the input was truncated.

[JsonPropertyName("truncated")]
public bool? Truncated { get; set; }

Property Value

bool?