Experimental
@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ChatMessageRole Enum
The role of a message in a chat conversation.
| Stability | Experimental |
|---|---|
| Source | bedrock/prompts/chat-prompt-variant.ts |
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.roleroleroleRoleRole