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
- Struct
- Aws::Kendra::Types::RelevanceFeedback
- 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
-
#relevance_value ⇒ String
Whether to document was relevant or not relevant to the search.
-
#result_id ⇒ String
The unique identifier of the search result that the user provided relevance feedback for.
Instance Attribute Details
#relevance_value ⇒ String
Whether to document was relevant or not relevant to the search.
Possible values:
- RELEVANT
- NOT_RELEVANT
#result_id ⇒ String
The unique identifier of the search result that the user provided relevance feedback for.