curl --location --request POST '/api/agent/0/evaluation/dataset/' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "test",
"description": "This dataset is for testing the endpoint functionality.",
"dataset": [
{
"query": 8,
"prefix_prompt": "",
"custom_instructions": [
"Instruction 1"
],
"model_deployment": "gpt4",
"query_model_deployment": ""
}
]
}'
{
"success": true,
"message": "Dataset created successfully.",
"data": {
"id": 6,
"created_by": "user@example.com",
"created_on": "2024-10-15T21:01:12.490193Z",
"modified_by": "",
"modified_on": "2024-10-15T21:01:12.490261Z",
"name": "test",
"description": "This dataset is for testing the endpoint functionality.",
"dataset": [
{
"query": 8,
"prefix_prompt": "",
"custom_instructions": [
""
],
"model_deployment": "gpt4",
"query_model_deployment": ""
}
],
"agent": 3
}
}