A log probability object.

interface Logprob {
    bytes: number[];
    logprob: number;
    token: string;
}

Properties

Properties

bytes: number[]

The bytes that were used to generate the log probability.

logprob: number

The log probability of the token.

token: string

The token that was used to generate the log probability.