Class QueryGenerationDebugInfo (2.49.0)

QueryGenerationDebugInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Token usage metadata for query generation.

Attributes

Name Description
prompt_token_count int
The total number of tokens in the prompt.
candidates_token_count int
The total number of tokens in the generated candidates.
total_token_count int
The total number of tokens for the entire request.