> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.oai.oai_models.chat_completion_token_logprob.ChatCompletionTokenLogprob

<h2 id="autogen.oai.oai_models.chat_completion_token_logprob.ChatCompletionTokenLogprob" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">ChatCompletionTokenLogprob</span>
</h2>

```python theme={null}
ChatCompletionTokenLogprob(**data: Any)
```

!!! abstract "Usage Documentation"
[Models](/docs/api-reference/autogen/oai/oai_models/concepts/models)

A base class for creating Pydantic models.<br />

<b>Parameters:</b>

| Name     | Description   |
| -------- | ------------- |
| `**data` | **Type:** Any |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### bytes

<br />

A list of integers representing the UTF-8 bytes representation of the token.<br />Useful in instances where characters are represented by multiple tokens and
their byte representations must be combined to generate the correct text
representation. Can be `null` if there is no bytes representation for the token.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### logprob

<br />

The log probability of this token, if it is within the top 20 most likely
tokens.<br />Otherwise, the value `-9999.0` is used to signify that the token is very
unlikely.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### model\_config

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### token

<br />

The token.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### top\_logprobs

<br />

List of the most likely tokens and their log probability, at this token
position.<br />In rare cases, there may be fewer than the number of requested `top_logprobs`
returned.
