TextResponsePart - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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:

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: