Skip to content

CreateChatCompletionStreamLogprobs

Include the log probabilities on the most likely output tokens. If true, returns the log probabilities of each output token.

Example Usage

typescript
import { CreateChatCompletionStreamLogprobs } from "@meetkai/mka1/models/operations";

let value: CreateChatCompletionStreamLogprobs = {
  topLogprobs: 946973,
};

Fields

FieldTypeRequiredDescription
topLogprobsnumber✔️An integer between 1 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.