Class: Aws::BedrockAgentRuntime::Types::RetrievedReference
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::RetrievedReference
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains metadata about a source cited for the generated response.
This data type is used in the following API operations:
RetrieveAndGenerate response – in the
retrievedReferences
fieldInvokeAgent response – in the
retrievedReferences
field
Constant Summary collapse
- SENSITIVE =
[:content, :location, :metadata]
Instance Attribute Summary collapse
-
#content ⇒ Types::RetrievalResultContent
Contains the cited text from the data source.
-
#location ⇒ Types::RetrievalResultLocation
Contains information about the location of the data source.
-
#metadata ⇒ Hash<String,Hash,Array,String,Numeric,Boolean>
Contains metadata attributes and their values for the file in the data source.
Instance Attribute Details
#content ⇒ Types::RetrievalResultContent
Contains the cited text from the data source.
4499 4500 4501 4502 4503 4504 4505 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4499 class RetrievedReference < Struct.new( :content, :location, :metadata) SENSITIVE = [:content, :location, :metadata] include Aws::Structure end |
#location ⇒ Types::RetrievalResultLocation
Contains information about the location of the data source.
4499 4500 4501 4502 4503 4504 4505 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4499 class RetrievedReference < Struct.new( :content, :location, :metadata) SENSITIVE = [:content, :location, :metadata] include Aws::Structure end |
#metadata ⇒ Hash<String,Hash,Array,String,Numeric,Boolean>
Contains metadata attributes and their values for the file in the data source. For more information, see Metadata and filtering.
4499 4500 4501 4502 4503 4504 4505 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4499 class RetrievedReference < Struct.new( :content, :location, :metadata) SENSITIVE = [:content, :location, :metadata] include Aws::Structure end |