public static interface KnowledgeAssistDebugInfo.QueryGenerationDebugInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCandidatesTokenCount()
public abstract int getCandidatesTokenCount()The total number of tokens in the generated candidates.
int32 candidates_token_count = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The candidatesTokenCount. |
getPromptTokenCount()
public abstract int getPromptTokenCount()The total number of tokens in the prompt.
int32 prompt_token_count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The promptTokenCount. |
getSimilarityToLastQuery()
public abstract float getSimilarityToLastQuery()The similarity score of the suggested query to the last suggested query.
float similarity_to_last_query = 6;
| Returns | |
|---|---|
| Type | Description |
float |
The similarityToLastQuery. |
getSimilarityToLastQueryThreshold()
public abstract float getSimilarityToLastQueryThreshold()The similarity threshold used to filter out queries similar to the last suggestion.
float similarity_to_last_query_threshold = 7;
| Returns | |
|---|---|
| Type | Description |
float |
The similarityToLastQueryThreshold. |
getThinkingBudgetTokens()
public abstract int getThinkingBudgetTokens()The thinking budget (in number of tokens) configured for the Gemini model.
int32 thinking_budget_tokens = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The thinkingBudgetTokens. |
getThinkingLevel()
public abstract String getThinkingLevel()The thinking level configured for the Gemini model.
string thinking_level = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The thinkingLevel. |
getThinkingLevelBytes()
public abstract ByteString getThinkingLevelBytes()The thinking level configured for the Gemini model.
string thinking_level = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for thinkingLevel. |
getTotalTokenCount()
public abstract int getTotalTokenCount()The total number of tokens for the entire request.
int32 total_token_count = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalTokenCount. |