Class: Aws::QBusiness::Types::TextSegment
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::TextSegment
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-qbusiness/types.rb
Overview
Provides information about a text extract in a chat response that can be attributed to a source document.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#begin_offset ⇒ Integer
The zero-based location in the response string where the source attribution starts.
-
#end_offset ⇒ Integer
The zero-based location in the response string where the source attribution ends.
-
#media_id ⇒ String
The identifier of the media object associated with the text segment in the source attribution.
-
#media_mime_type ⇒ String
The MIME type (image/png) of the media object associated with the text segment in the source attribution.
-
#snippet_excerpt ⇒ Types::SnippetExcerpt
The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.
Instance Attribute Details
#begin_offset ⇒ Integer
The zero-based location in the response string where the source attribution starts.
7074 7075 7076 7077 7078 7079 7080 7081 7082 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 7074 class TextSegment < Struct.new( :begin_offset, :end_offset, :snippet_excerpt, :media_id, :media_mime_type) SENSITIVE = [] include Aws::Structure end |
#end_offset ⇒ Integer
The zero-based location in the response string where the source attribution ends.
7074 7075 7076 7077 7078 7079 7080 7081 7082 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 7074 class TextSegment < Struct.new( :begin_offset, :end_offset, :snippet_excerpt, :media_id, :media_mime_type) SENSITIVE = [] include Aws::Structure end |
#media_id ⇒ String
The identifier of the media object associated with the text segment in the source attribution.
7074 7075 7076 7077 7078 7079 7080 7081 7082 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 7074 class TextSegment < Struct.new( :begin_offset, :end_offset, :snippet_excerpt, :media_id, :media_mime_type) SENSITIVE = [] include Aws::Structure end |
#media_mime_type ⇒ String
The MIME type (image/png) of the media object associated with the text segment in the source attribution.
7074 7075 7076 7077 7078 7079 7080 7081 7082 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 7074 class TextSegment < Struct.new( :begin_offset, :end_offset, :snippet_excerpt, :media_id, :media_mime_type) SENSITIVE = [] include Aws::Structure end |
#snippet_excerpt ⇒ Types::SnippetExcerpt
The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q Business chat response.
7074 7075 7076 7077 7078 7079 7080 7081 7082 |
# File 'lib/aws-sdk-qbusiness/types.rb', line 7074 class TextSegment < Struct.new( :begin_offset, :end_offset, :snippet_excerpt, :media_id, :media_mime_type) SENSITIVE = [] include Aws::Structure end |