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

# atoti_ai_amazon_bedrock.ChatConfig

### *final class* atoti\_ai\_amazon\_bedrock.ChatConfig

Chat config for Amazon Bedrock.

<Warning>
  This feature is [`experimental`](./atoti.experimental#atoti.experimental), its key is `"ai"`.
</Warning>

See the [corresponding Javadoc](https://docs.spring.io/spring-ai/docs/current/api/org/springframework/ai/bedrock/converse/BedrockChatOptions.html) for more details.

<Callout icon="link">
  **See also**:
  The other [`ChatConfig`](./atoti_ai.chat_config#atoti_ai.ChatConfig) implementations.
</Callout>

#### max\_tokens *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)* *= None*

Maximum number of tokens to generate in the response.

#### model *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

The ID of the model to use, for example `"anthropic.claude-3-sonnet-20240229-v1:0"`.

#### temperature *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)* *= None*

Controls randomness in responses from 0.0 (deterministic) to 1.0 (creative).

#### top\_k *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)* *= None*

Limits vocabulary to top K tokens at each generation step.

#### top\_p *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)* *= None*

Nucleus sampling parameter.

Controls diversity via cumulative probability.
