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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



611
612
613
614
615
616
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 611

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

#contentArray<Types::CitationGeneratedContent>

The generated content that is supported by the associated citations.



611
612
613
614
615
616
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 611

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