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 =
[:identifier, :data]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

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

Returns:

  • (String)


735
736
737
738
739
740
741
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 735

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

#dataString

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

Returns:

  • (String)


735
736
737
738
739
740
741
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 735

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

#identifierString

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

Returns:

  • (String)


735
736
737
738
739
740
741
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 735

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