Class: Aws::BedrockRuntime::Types::DocumentBlock

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb

Overview

A document to include in a message when sending a Converse or ConverseStream request. You can include up to 5 documents in a request. The maximum document size is 50 MB.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

The format of a document, or its extension.

Returns:

  • (String)


596
597
598
599
600
601
602
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 596

class DocumentBlock < Struct.new(
  :format,
  :name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the document.

Returns:

  • (String)


596
597
598
599
600
601
602
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 596

class DocumentBlock < Struct.new(
  :format,
  :name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::DocumentSource

Contains the content of the document.



596
597
598
599
600
601
602
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 596

class DocumentBlock < Struct.new(
  :format,
  :name,
  :source)
  SENSITIVE = []
  include Aws::Structure
end