TextSegment - Amazon Q Business

TextSegment

Provides information about a text extract in a chat response that can be attributed to a source document.

Contents

beginOffset

The zero-based location in the response string where the source attribution starts.

Type: Integer

Required: No

endOffset

The zero-based location in the response string where the source attribution ends.

Type: Integer

Required: No

snippetExcerpt

The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.

Type: SnippetExcerpt object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: