Skip to content

Logprobs

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

Example Usage

typescript
import { Logprobs } from "@meetkai/mka1/models/components";

let value: Logprobs = {
  topLogprobs: 638307,
};

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.