Class: Aws::BedrockRuntime::Types::Message
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::Message
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
A message input, or returned from, a call to Converse or ConverseStream.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content ⇒ Array<Types::ContentBlock>
The message content.
-
#role ⇒ String
The role that the message plays in the message.
Instance Attribute Details
#content ⇒ Array<Types::ContentBlock>
The message content. Note the following restrictions:
You can include up to 20 images. Each image's size, height, and width must be no more than 3.75 MB, 8000 px, and 8000 px, respectively.
You can include up to five documents. Each document's size must be no more than 4.5 MB.
If you include a
ContentBlockwith adocumentfield in the array, you must also include aContentBlockwith atextfield.You can only include images and documents if the
roleisuser.
3653 3654 3655 3656 3657 3658 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3653 class Message < Struct.new( :role, :content) SENSITIVE = [] include Aws::Structure end |