# ChatBedrock

> **Class** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock)

A chat model that uses the Bedrock API.

## Signature

```python
ChatBedrock()
```

## Extends

- `BaseChatModel`
- `BedrockBase`

## Properties

- `system_prompt_with_tools`
- `beta_use_converse_api`
- `stop_sequences`
- `lc_attributes`
- `model_config`

## Methods

- [`is_lc_serializable()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/is_lc_serializable)
- [`get_lc_namespace()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/get_lc_namespace)
- [`set_beta_use_converse_api()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/set_beta_use_converse_api)
- [`get_num_tokens()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/get_num_tokens)
- [`get_token_ids()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/get_token_ids)
- [`set_system_prompt_with_tools()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/set_system_prompt_with_tools)
- [`bind_tools()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/bind_tools)
- [`with_structured_output()`](https://reference.langchain.com/python/langchain-aws/chat_models/bedrock/ChatBedrock/with_structured_output)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/434899a049429abd1b68d6e3efe82f58bc729a4f/libs/aws/langchain_aws/chat_models/bedrock.py#L490)