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



341
342
343
344
345
346
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 341

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:



341
342
343
344
345
346
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 341

class Citation < Struct.new(
  :generated_response_part,
  :retrieved_references)
  SENSITIVE = []
  include Aws::Structure
end