Class: Aws::QBusiness::Types::SourceAttribution

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#citation_numberInteger

The number attached to a citation in an Amazon Q Business generated response.

Returns:

  • (Integer)


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_idString

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".

Returns:

  • (String)


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_idString

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.

Returns:

  • (String)


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_idString

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.

Returns:

  • (String)


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

#snippetString

The content extract from the document on which the generated response is based.

Returns:

  • (String)


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_segmentsArray<Types::TextSegment>

A text extract from a source document that is used for source attribution.

Returns:



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

#titleString

The title of the document which is the source for the Amazon Q Business generated response.

Returns:

  • (String)


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_atTime

The Unix timestamp when the Amazon Q Business application was last updated.

Returns:

  • (Time)


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

#urlString

The URL of the document which is the source for the Amazon Q Business generated response.

Returns:

  • (String)


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