Class: Aws::BedrockAgentRuntime::Types::Citation

Inherits:
Struct
  • Object
show all
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:

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#generated_response_partTypes::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_referencesArray<Types::RetrievedReference>

Contains metadata about the sources cited for the generated response.

Returns:



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