> ## 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.MistralLLMConfigEntry

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

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

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

!!! abstract "Usage Documentation"
[Models](/docs/api-reference/autogen/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" />

#### api\_type

<br />

<br />

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

#### hide\_tools

<br />

<br />

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

#### max\_tokens

<br />

<br />

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

#### model\_config

<br />

<br />

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

#### random\_seed

<br />

<br />

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

#### safe\_prompt

<br />

<br />

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

#### stream

<br />

<br />

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

#### temperature

<br />

<br />

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

#### tool\_choice

<br />

<br />

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

#### top\_p

<br />

<br />

### Instance Methods

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

#### create\_client

```python theme={null}
create_client(self) -> 
```

<br />

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

#### model\_dump

```python theme={null}
model_dump(
    self,
    *args: Any,
    exclude_none: bool = True,
    **kwargs: Any
) -> dict[str, Any]
```

!!! abstract "Usage Documentation"
[`model_dump`](/docs/api-reference/autogen/concepts/serialization#modelmodel_dump)

Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.<br />

<b>Parameters:</b>

| Name           | Description                                                                                                   |
| -------------- | ------------------------------------------------------------------------------------------------------------- |
| `*args`        | **Type:** Any                                                                                                 |
| `exclude_none` | Whether to exclude fields that have a value of `None`.<br /><br />**Type:** bool<br /><br />**Default:** True |
| `**kwargs`     | **Type:** Any                                                                                                 |

<b>Returns:</b>

| Type                   | Description                               |
| ---------------------- | ----------------------------------------- |
| dict\[str, typing.Any] | A dictionary representation of the model. |

<br />

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

#### model\_dump\_json

```python theme={null}
model_dump_json(
    self,
    *args: Any,
    exclude_none: bool = True,
    **kwargs: Any
) -> str
```

!!! abstract "Usage Documentation"
[`model_dump_json`](/docs/api-reference/autogen/concepts/serialization#modelmodel_dump_json)

Generates a JSON representation of the model using Pydantic's `to_json` method.<br />

<b>Parameters:</b>

| Name           | Description                                                                                                   |
| -------------- | ------------------------------------------------------------------------------------------------------------- |
| `*args`        | **Type:** Any                                                                                                 |
| `exclude_none` | Whether to exclude fields that have a value of `None`.<br /><br />**Type:** bool<br /><br />**Default:** True |
| `**kwargs`     | **Type:** Any                                                                                                 |

<b>Returns:</b>

| Type | Description                                |
| ---- | ------------------------------------------ |
| str  | A JSON string representation of the model. |

<br />
