logprobsResult

public abstract Candidate.Builder logprobsResult(LogprobsResult logprobsResult)

Setter for logprobsResult.

logprobsResult: Output only. The detailed log probability information for the tokens in this candidate. This is useful for debugging, understanding model uncertainty, and identifying potential "hallucinations".


@CanIgnoreReturnValue()
public Candidate.Builder logprobsResult(LogprobsResult.Builder logprobsResultBuilder)

Setter for logprobsResult builder.

logprobsResult: Output only. The detailed log probability information for the tokens in this candidate. This is useful for debugging, understanding model uncertainty, and identifying potential "hallucinations".