Skip to main content

ResearchFeedbackRequest

Request object for submitting feedback for the response from the research agent.

Properties

PropertyRequiredTypeDescription
interactionIdTrueStringThe interaction ID of the research response to submit the feedback for. This needs to be the value of the interactionId field from the target research API response.
queryFalseStringThe query text of the research interaction.
answerFeedbackTrueList[ResearchAnswerFeedback]The actual feedback for the generated answer.

The feedback API accepts only one ResearchFeedbackRequest per one interactionId. When multiple requests with the same interactionId are submitted, only the latest request will be taken into account. This means that each feedback request should contain all available data up to that point. The API doesn’t support submitting partial feedbacks, like sending a sequence of requests where each contains one distinct ResearchAnswerFeedback object.