curl --location -g --request POST 'https:///api/v2/agents//evaluations/datasets' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"tags": [
"string"
],
"chatlog_ids": [
0
],
"custom_queries": [
{
"question": "string",
"response": {
"property1": null,
"property2": null
}
}
]
}'
{
"success": true,
"message": "Dataset created successfully",
"data": {
"id": 28,
"name": "test1",
"description": "i am made to test",
"tags": [
"evaluation",
"test",
"qa"
],
"queries": [
{
"id": 47,
"chatlog": 1,
"question": "hi",
"response": "Hello! How can I assist you today?",
"evaluation_dataset_id": 28
}
],
"created_by": "johndoe@example.com",
"created_on": "2024-11-13T12:28:45.654504Z",
"query_count": 1
}
}