TextResponsePart
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
textResponsePartfield - 
         
InvokeAgent response – in the
textResponsePartfield 
Contents
- span
 - 
               
Contains information about where the text with a citation begins and ends in the generated output.
Type: Span object
Required: No
 - text
 - 
               
The part of the generated text that contains a citation.
Type: String
Required: No
 
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: