Interface KnowledgeAssistDebugInfo.QueryGenerationDebugInfoOrBuilder (4.100.0)

public static interface KnowledgeAssistDebugInfo.QueryGenerationDebugInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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.