Class: Aws::Kendra::Types::RetrieveResultItem

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

A single retrieved relevant passage result.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The contents of the relevant passage.

Returns:

  • (String)


8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_attributesArray<Types::DocumentAttribute>

An array of document fields/attributes assigned to a document in the search results. For example, the document author (‘_author`) or the source URI (`_source_uri`) of the document.

Returns:



8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_idString

The identifier of the document.

Returns:

  • (String)


8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_titleString

The title of the document.

Returns:

  • (String)


8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#document_uriString

The URI of the original location of the document.

Returns:

  • (String)


8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the relevant passage result.

Returns:

  • (String)


8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#score_attributesTypes::ScoreAttributes

The confidence score bucket for a retrieved passage result. The confidence bucket provides a relative ranking that indicates how confident Amazon Kendra is that the response is relevant to the query.



8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aws-sdk-kendra/types.rb', line 8668

class RetrieveResultItem < Struct.new(
  :id,
  :document_id,
  :document_title,
  :content,
  :document_uri,
  :document_attributes,
  :score_attributes)
  SENSITIVE = []
  include Aws::Structure
end