> **Experimental**
>
> `@aws-cdk/aws-bedrock-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ChatMessageRole

The role of a message in a chat conversation.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`bedrock/prompts/chat-prompt-variant.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/prompts/chat-prompt-variant.ts#L46)

## Members

| Member | Description |
| --- | --- |
| `USER` | This role represents the human user in the conversation. |
| `ASSISTANT` | This is the role of the model itself, responding to user inputs based on the context set by the system. |

## Referenced by

- [`ChatMessage`](/v2/docs/@aws-cdk_aws-bedrock-alpha.ChatMessage).role
