Class: Aws::BedrockAgentRuntime::Types::TextResponsePart
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::TextResponsePart
- 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:
RetrieveAndGenerate response – in the
textResponsePart
fieldInvokeAgent response – in the
textResponsePart
field
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#span ⇒ Types::Span
Contains information about where the text with a citation begins and ends in the generated output.
-
#text ⇒ String
The part of the generated text that contains a citation.
Instance Attribute Details
#span ⇒ Types::Span
Contains information about where the text with a citation begins and ends in the generated output.
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 |
#text ⇒ String
The part of the generated text that contains a citation.
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 |