You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kendra::Types::RelevanceFeedback

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RelevanceFeedback as input to an Aws::Client method, you can use a vanilla Hash:

{
  result_id: "ResultId", # required
  relevance_value: "RELEVANT", # required, accepts RELEVANT, NOT_RELEVANT
}

Provides feedback on how relevant a document is to a search. Your application uses the SubmitFeedback operation to provide relevance information.

Instance Attribute Summary collapse

Instance Attribute Details

#relevance_valueString

Whether to document was relevant or not relevant to the search.

Possible values:

  • RELEVANT
  • NOT_RELEVANT

Returns:

  • (String)

    Whether to document was relevant or not relevant to the search.

#result_idString

The unique identifier of the search result that the user provided relevance feedback for.

Returns:

  • (String)

    The unique identifier of the search result that the user provided relevance feedback for.