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.
2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2524 class TextResponsePart < Struct.new( :span, :text) SENSITIVE = [] include Aws::Structure end |
#text ⇒ String
The part of the generated text that contains a citation.
2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2524 class TextResponsePart < Struct.new( :span, :text) SENSITIVE = [] include Aws::Structure end |