Class: Aws::BedrockAgentRuntime::Types::Citation
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::Citation
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.
This data type is used in the following API operations:
InvokeAgent response – in the
citations
fieldRetrieveAndGenerate response – in the
citations
field
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#generated_response_part ⇒ Types::GeneratedResponsePart
Contains the generated response and metadata.
-
#retrieved_references ⇒ Array<Types::RetrievedReference>
Contains metadata about the sources cited for the generated response.
Instance Attribute Details
#generated_response_part ⇒ Types::GeneratedResponsePart
Contains the generated response and metadata
543 544 545 546 547 548 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 543 class Citation < Struct.new( :generated_response_part, :retrieved_references) SENSITIVE = [] include Aws::Structure end |
#retrieved_references ⇒ Array<Types::RetrievedReference>
Contains metadata about the sources cited for the generated response.
543 544 545 546 547 548 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 543 class Citation < Struct.new( :generated_response_part, :retrieved_references) SENSITIVE = [] include Aws::Structure end |