mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
15 lines
2.3 KiB
Plaintext
15 lines
2.3 KiB
Plaintext
---
|
|
title: "ChatTokenLogprob"
|
|
---
|
|
|
|
Token log probability information
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
|
| `bytes_` | List[*int*] | :heavy_check_mark: | UTF-8 bytes of the token |
|
|
| `logprob` | *float* | :heavy_check_mark: | Log probability of the token |
|
|
| `token` | *str* | :heavy_check_mark: | The token |
|
|
| `top_logprobs` | List[[components.ChatTokenLogprobTopLogprob](../components/chattokenlogprobtoplogprob.mdx)] | :heavy_check_mark: | Top alternative tokens with probabilities | |