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
fieldRetrieve 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.
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 |
#text ⇒ String
The part of the generated text that contains a citation.
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 |