Class: Aws::BedrockRuntime::Types::CitationsContentBlock

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

Overview

A content block that contains both generated text and associated citation information. This block type is returned when document citations are enabled, providing traceability between the generated content and the source documents that informed the response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#citationsArray<Types::Citation>

An array of citations that reference the source documents used to generate the associated content.

Returns:



449
450
451
452
453
454
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 449

class CitationsContentBlock < Struct.new(
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end

#contentArray<Types::CitationGeneratedContent>

The generated content that is supported by the associated citations.



449
450
451
452
453
454
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 449

class CitationsContentBlock < Struct.new(
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end