ResponseOutputTextTopLogprob - TypeScript SDK

ResponseOutputTextTopLogprob type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { ResponseOutputTextTopLogprob } from "@openrouter/sdk/models";
2
3let value: ResponseOutputTextTopLogprob = {
4 bytes: [
5 303617,
6 34414,
7 ],
8 logprob: 1976.4,
9 token: "<value>",
10};

Fields

FieldTypeRequiredDescription
bytesnumber[]✔️N/A
logprobnumber✔️N/A
tokenstring✔️N/A