ContentEmbeddingStatistics

@Serializable
data class ContentEmbeddingStatistics(val truncated: Boolean? = null, val tokenCount: Double? = null, val tokensDetails: List<ModalityTokenCount>? = null)

Statistics of the input text associated with the result of content embedding.

Constructors

Link copied to clipboard
constructor(truncated: Boolean? = null, tokenCount: Double? = null, tokensDetails: List<ModalityTokenCount>? = null)

Properties

Link copied to clipboard
val tokenCount: Double? = null

Gemini Enterprise Agent Platform only. Number of tokens of the input text.

Link copied to clipboard

Gemini Enterprise Agent Platform only. List of modalities and their token count for the input content.

Link copied to clipboard
val truncated: Boolean? = null

Gemini Enterprise Agent Platform only. If the input text was truncated due to having a length longer than the allowed maximum input.