Log probabilities associated with the generated tokens.

interface CompletionsLogProbResult {
    text_offset: number[];
    token_logprobs: number[];
    tokens: string[];
    top_logprobs: JSONObject[];
}

Properties

text_offset: number[]

Text offsets for the generated tokens.

token_logprobs: number[]

Log probabilities of the generated tokens.

tokens: string[]

Tokens generated by the model.

top_logprobs: JSONObject[]

The top log probabilities for the generated tokens.