Class: Aws::Kendra::Types::SubmitFeedbackRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::SubmitFeedbackRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kendra/types.rb
Overview
When making an API call, you may pass SubmitFeedbackRequest data as a hash:
{
index_id: "IndexId", # required
query_id: "QueryId", # required
click_feedback_items: [
{
result_id: "ResultId", # required
click_time: Time.now, # required
},
],
relevance_feedback_items: [
{
result_id: "ResultId", # required
relevance_value: "RELEVANT", # required, accepts RELEVANT, NOT_RELEVANT
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#click_feedback_items ⇒ Array<Types::ClickFeedback>
Tells Amazon Kendra that a particular search result link was chosen by the user.
-
#index_id ⇒ String
The identifier of the index that was queried.
-
#query_id ⇒ String
The identifier of the specific query for which you are submitting feedback.
-
#relevance_feedback_items ⇒ Array<Types::RelevanceFeedback>
Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
Instance Attribute Details
#click_feedback_items ⇒ Array<Types::ClickFeedback>
Tells Amazon Kendra that a particular search result link was chosen by the user.
6013 6014 6015 6016 6017 6018 6019 6020 |
# File 'lib/aws-sdk-kendra/types.rb', line 6013 class SubmitFeedbackRequest < Struct.new( :index_id, :query_id, :click_feedback_items, :relevance_feedback_items) SENSITIVE = [] include Aws::Structure end |
#index_id ⇒ String
The identifier of the index that was queried.
6013 6014 6015 6016 6017 6018 6019 6020 |
# File 'lib/aws-sdk-kendra/types.rb', line 6013 class SubmitFeedbackRequest < Struct.new( :index_id, :query_id, :click_feedback_items, :relevance_feedback_items) SENSITIVE = [] include Aws::Structure end |
#query_id ⇒ String
The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the operation.
6013 6014 6015 6016 6017 6018 6019 6020 |
# File 'lib/aws-sdk-kendra/types.rb', line 6013 class SubmitFeedbackRequest < Struct.new( :index_id, :query_id, :click_feedback_items, :relevance_feedback_items) SENSITIVE = [] include Aws::Structure end |
#relevance_feedback_items ⇒ Array<Types::RelevanceFeedback>
Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
6013 6014 6015 6016 6017 6018 6019 6020 |
# File 'lib/aws-sdk-kendra/types.rb', line 6013 class SubmitFeedbackRequest < Struct.new( :index_id, :query_id, :click_feedback_items, :relevance_feedback_items) SENSITIVE = [] include Aws::Structure end |