Message
A single conversation turn.
Contents
- content
-
The turn's text content.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 35000.
Required: Yes
- role
-
The role of the participant that produced this turn. Valid values:
-
USER- The user asked or said this turn. -
ASSISTANT- The assistant answered in this turn.
Type: String
Valid Values:
USER | ASSISTANTRequired: Yes
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: