Class: Aws::BedrockAgentRuntime::Types::TextResponsePart

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

Overview

Contains the part of the generated text that contains a citation, alongside where it begins and ends.

This data type is used in the following API operations:

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#spanTypes::Span

Contains information about where the text with a citation begins and ends in the generated output.

Returns:



2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2349

class TextResponsePart < Struct.new(
  :span,
  :text)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The part of the generated text that contains a citation.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2349

class TextResponsePart < Struct.new(
  :span,
  :text)
  SENSITIVE = []
  include Aws::Structure
end