Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
CompletionLogprobs method reference
import { CompletionLogprobs } from "@openrouter/sdk/models"; let value: CompletionLogprobs = { tokens: [ "<value 1>", "<value 2>", "<value 3>", ], tokenLogprobs: [ 2988.44, 7128.75, 8377.63, ], topLogprobs: null, textOffset: [ 1144.74, 3297.78, ], };
tokens
tokenLogprobs
topLogprobs
Record<string, *number*>
textOffset