TextSegment
class TextSegment
Provides information about a text extract in a chat response that can be attributed to a source document.
Types
Properties
Link copied to clipboard
The zero-based location in the response string where the source attribution starts.
Link copied to clipboard
The MIME type (image/png) of the media object associated with the text segment in the source attribution.
Link copied to clipboard
The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.
Link copied to clipboard
Source information for a segment of extracted text, including its media type.