Class: Aws::BedrockAgentRuntime::Types::RetrievalResultContent

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

Overview

Contains information about a chunk of text from a data source in the knowledge base. If the result is from a structured data source, the cell in the database and the type of the value is also identified.

This data type is used in the following API operations:

Constant Summary collapse

SENSITIVE =
[:row]

Instance Attribute Summary collapse

Instance Attribute Details

#byte_contentString

A data URI with base64-encoded content from the data source. The URI is in the following format: returned in the following format: data:image/jpeg;base64,${base64-encoded string}.

Returns:

  • (String)


4944
4945
4946
4947
4948
4949
4950
4951
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4944

class RetrievalResultContent < Struct.new(
  :byte_content,
  :row,
  :text,
  :type)
  SENSITIVE = [:row]
  include Aws::Structure
end

#rowArray<Types::RetrievalResultContentColumn>

Specifies information about the rows with the cells to return in retrieval.



4944
4945
4946
4947
4948
4949
4950
4951
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4944

class RetrievalResultContent < Struct.new(
  :byte_content,
  :row,
  :text,
  :type)
  SENSITIVE = [:row]
  include Aws::Structure
end

#textString

The cited text from the data source.

Returns:

  • (String)


4944
4945
4946
4947
4948
4949
4950
4951
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4944

class RetrievalResultContent < Struct.new(
  :byte_content,
  :row,
  :text,
  :type)
  SENSITIVE = [:row]
  include Aws::Structure
end

#typeString

The type of content in the retrieval result.

Returns:

  • (String)


4944
4945
4946
4947
4948
4949
4950
4951
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4944

class RetrievalResultContent < Struct.new(
  :byte_content,
  :row,
  :text,
  :type)
  SENSITIVE = [:row]
  include Aws::Structure
end