Class: Aws::BedrockRuntime::Types::DocumentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::DocumentBlock
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
A document to include in a message when sending a [Converse] or
- ConverseStream][2
-
request. You can include up to 5 documents in a
request. The maximum document size is 50 MB.
[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html [2]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#format ⇒ String
The format of a document, or its extension.
-
#name ⇒ String
A name for the document.
-
#source ⇒ Types::DocumentSource
Contains the content of the document.
Instance Attribute Details
#format ⇒ String
The format of a document, or its extension.
596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 596 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A name for the document.
596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 596 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |
#source ⇒ Types::DocumentSource
Contains the content of the document.
596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 596 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |