Class: Aws::QBusiness::Types::SourceAttribution
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::SourceAttribution
- Defined in:
- gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb
Overview
The documents used to generate an Amazon Q Business web experience response.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#citation_number ⇒ Integer
The number attached to a citation in an Amazon Q Business generated response.
-
#datasource_id ⇒ String
The identifier of the data source from which the document was ingested.
-
#document_id ⇒ String
The unique identifier of the source document used in the citation, obtained from the Amazon Q Business index during chat response generation.
-
#index_id ⇒ String
The identifier of the index containing the source document's metadata and access control information.
-
#snippet ⇒ String
The content extract from the document on which the generated response is based.
-
#text_message_segments ⇒ Array<Types::TextSegment>
A text extract from a source document that is used for source attribution.
-
#title ⇒ String
The title of the document which is the source for the Amazon Q Business generated response.
-
#updated_at ⇒ Time
The Unix timestamp when the Amazon Q Business application was last updated.
-
#url ⇒ String
The URL of the document which is the source for the Amazon Q Business generated response.
Instance Attribute Details
#citation_number ⇒ Integer
The number attached to a citation in an Amazon Q Business generated response.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#datasource_id ⇒ String
The identifier of the data source from which the document was ingested. This field is not present if the document is ingested by directly calling the BatchPutDocument API (similar to checkDocumentAccess). If the document is from a file-upload data source, the datasource will be "uploaded-docs-file-stat-datasourceid".
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#document_id ⇒ String
The unique identifier of the source document used in the citation,
obtained from the Amazon Q Business index during chat response
generation. This ID is used as input to the GetDocumentContent
API
to retrieve the actual document content for user verification.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#index_id ⇒ String
The identifier of the index containing the source document's metadata and access control information. This links the citation back to the specific Amazon Q Business index where the document's searchable content and permissions are stored.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#snippet ⇒ String
The content extract from the document on which the generated response is based.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#text_message_segments ⇒ Array<Types::TextSegment>
A text extract from a source document that is used for source attribution.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#title ⇒ String
The title of the document which is the source for the Amazon Q Business generated response.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#updated_at ⇒ Time
The Unix timestamp when the Amazon Q Business application was last updated.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |
#url ⇒ String
The URL of the document which is the source for the Amazon Q Business generated response.
8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 8120 class SourceAttribution < Struct.new( :title, :snippet, :url, :citation_number, :updated_at, :text_message_segments, :document_id, :index_id, :datasource_id) SENSITIVE = [] include Aws::Structure end |