Class: Aws::Context::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::Message
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A single conversation turn.
Constant Summary collapse
- SENSITIVE =
[:content]
Instance Attribute Summary collapse
-
#content ⇒ String
The turn's text content.
-
#role ⇒ String
The role of the participant that produced this turn.
Instance Attribute Details
#content ⇒ String
The turn's text content.
5050 5051 5052 5053 5054 5055 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5050 class Message < Struct.new( :role, :content) SENSITIVE = [:content] include Aws::Structure end |
#role ⇒ String
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.
5050 5051 5052 5053 5054 5055 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5050 class Message < Struct.new( :role, :content) SENSITIVE = [:content] include Aws::Structure end |