Create Feedback
Create feedback for LLM Monitoring results and Evaluation Run results
This endpoint is deprecated. Please use Give Feedback endpoint instead.
Provide feedback for LLM Monitoring results and Evaluation Run results.
Feedbacks are used by Active Learning
Give feedback for a Evaluation Run result:
To give feedback for evaluation run result, following fields has to be provided to identify the sample for which feedback is given:
- evaluation_run_id
- evaluator_id
- evaluation_run_candidate_input_id
Example:
Give feedback for a LLM Monitoring result:
To give feedback for LLM Monitoring result only evaluation_result_id
to identify the record.
Example:
v1
/feedback
Authorization
X-API-KEY
<token>
In: header
Request Body
application/json
Requiredevaluation_run_id
Evaluation Run Id
Evaluation Run ID associated with sample for which feedback is given. Only applicable for Evaluation Run results.
evaluator_id
Evaluator Id
Evaluator ID associated with sample for which feedback is given. Only applicable for Evaluation Run results.
profile_name
Profile Name
Evaluation run profile name.
evaluation_run_candidate_input_id
Evaluation Run Candidate Input Id
ID of the sample for which feedback is given. Only applicable for Evaluation Run results.
evaluation_result_id
Evaluation Result Id
Evaluation Result ID for which feedback is given. Only applicable for LLM Monitoring results.
feedback_positive
RequiredFeedback Positive
Whether the feedback is positive or negative.
Successful Response