Class: Aws::BedrockAgent::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::Message
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
A message input or response from a model. For more information, see [Create a prompt using Prompt management].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html
Constant Summary collapse
- SENSITIVE =
[:content]
Instance Attribute Summary collapse
-
#content ⇒ Array<Types::ContentBlock>
The content in the message.
-
#role ⇒ String
The role that the message belongs to.
Instance Attribute Details
#content ⇒ Array<Types::ContentBlock>
The content in the message.
7340 7341 7342 7343 7344 7345 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7340 class Message < Struct.new( :role, :content) SENSITIVE = [:content] include Aws::Structure end |
#role ⇒ String
The role that the message belongs to.
7340 7341 7342 7343 7344 7345 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7340 class Message < Struct.new( :role, :content) SENSITIVE = [:content] include Aws::Structure end |