Class: Aws::BedrockAgentRuntime::Types::ByteContentDoc

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

Overview

This property contains the document to chat with, along with its attributes.

Constant Summary collapse

SENSITIVE =
[:data, :identifier]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The MIME type of the document contained in the wrapper object.

Returns:

  • (String)


307
308
309
310
311
312
313
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 307

class ByteContentDoc < Struct.new(
  :content_type,
  :data,
  :identifier)
  SENSITIVE = [:data, :identifier]
  include Aws::Structure
end

#dataString

The byte value of the file to upload, encoded as a Base-64 string.

Returns:

  • (String)


307
308
309
310
311
312
313
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 307

class ByteContentDoc < Struct.new(
  :content_type,
  :data,
  :identifier)
  SENSITIVE = [:data, :identifier]
  include Aws::Structure
end

#identifierString

The file name of the document contained in the wrapper object.

Returns:

  • (String)


307
308
309
310
311
312
313
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 307

class ByteContentDoc < Struct.new(
  :content_type,
  :data,
  :identifier)
  SENSITIVE = [:data, :identifier]
  include Aws::Structure
end