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

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

Overview

Note:

When making an API call, you may pass RelevanceFeedback data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#relevance_valueString

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

Returns:

  • (String)

4752
4753
4754
4755
4756
4757
# File 'lib/aws-sdk-kendra/types.rb', line 4752

class RelevanceFeedback < Struct.new(
  :result_id,
  :relevance_value)
  SENSITIVE = []
  include Aws::Structure
end

#result_idString

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

Returns:

  • (String)

4752
4753
4754
4755
4756
4757
# File 'lib/aws-sdk-kendra/types.rb', line 4752

class RelevanceFeedback < Struct.new(
  :result_id,
  :relevance_value)
  SENSITIVE = []
  include Aws::Structure
end