Interface ContentEmbeddingStatistics

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

interface ContentEmbeddingStatistics {
    tokenCount?: number;
    truncated?: boolean;
}

Properties

tokenCount?: number

Vertex API only. Number of tokens of the input text.

truncated?: boolean

Vertex API only. If the input text was truncated due to having a length longer than the allowed maximum input.

MMNEPVFCICPMFPCPTTAAATR