Class: Aws::BedrockRuntime::Types::Citation

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

Overview

Contains information about a citation that references a specific source document. Citations provide traceability between the model's generated response and the source documents that informed that response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#locationTypes::CitationLocation

The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.



297
298
299
300
301
302
303
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 297

class Citation < Struct.new(
  :title,
  :source_content,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#source_contentArray<Types::CitationSourceContent>

The specific content from the source document that was referenced or cited in the generated response.

Returns:



297
298
299
300
301
302
303
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 297

class Citation < Struct.new(
  :title,
  :source_content,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title or identifier of the source document being cited.

Returns:

  • (String)


297
298
299
300
301
302
303
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 297

class Citation < Struct.new(
  :title,
  :source_content,
  :location)
  SENSITIVE = []
  include Aws::Structure
end