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:



3725
3726
3727
3728
3729
3730
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3725

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

#textString

The part of the generated text that contains a citation.

Returns:

  • (String)


3725
3726
3727
3728
3729
3730
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3725

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