Class QueryGenerationDebugInfo (2.52.0)

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

Debug information and model 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.
thinking_level str
The thinking level configured for the Gemini model.
thinking_budget_tokens int
The thinking budget (in number of tokens) configured for the Gemini model.
similarity_to_last_query float
The similarity score of the suggested query to the last suggested query.
similarity_to_last_query_threshold float
The similarity threshold used to filter out queries similar to the last suggestion.