v1

latestOpenAPI 3.0.02026-07-1325041.3 KB

Update evaluation result with human feedback

put/vote_eval_pair/{id}

Path parameters

idstring required

ID of the evaluation result to update

Request body

pair_idstring required

ID of the pair to provide feedback on

metric_idxinteger required

Index of the metric in the Metrics.Definitions array

vote-1 | 0 | 1 required

Vote for the pair (-1 = negative, 0 = neutral, 1 = positive)

commentstring

Optional comment providing feedback on the pair

Response

Evaluation result successfully updated with human feedback

successboolean
results_idstring
pair_idstring