AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Kendra::Types::SubmitFeedbackRequest

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

Overview

Note:

When passing SubmitFeedbackRequest as input to an Aws::Client method, you can use a vanilla 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
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#click_feedback_itemsArray<Types::ClickFeedback>

Tells Amazon Kendra that a particular search result link was chosen by the user.

Returns:

  • (Array<Types::ClickFeedback>)

    Tells Amazon Kendra that a particular search result link was chosen by the user.

#index_idString

The identifier of the index that was queried.

Returns:

  • (String)

    The identifier of the index that was queried.

#query_idString

The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the operation.

Returns:

  • (String)

    The identifier of the specific query for which you are submitting feedback.

#relevance_feedback_itemsArray<Types::RelevanceFeedback>

Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.

Returns:

  • (Array<Types::RelevanceFeedback>)

    Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.