curl --location --request PUT '/api/agent/0/evaluation/0/' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"metrics": {
"answer_similarity": null,
"answer_relevancy": null,
"faithfulness": null,
"context_recall": null
},
"query_data": []
}'
{
"success": true,
"message": "Evaluation updated successfully.",
"data": {
"id": 5,
"created_by": "user@example.com",
"created_on": "2024-10-22T19:59:47.758221Z",
"modified_by": "user@example.com",
"modified_on": "2024-10-22T20:00:12.172350Z",
"answer_similarity": null,
"answer_relevancy": null,
"faithfulness": null,
"context_recall": null,
"query_result": [],
"status": "Completed",
"agent": 3,
"evaluation_dataset_id": 9
}
}