curl --request PUT \
--url https://rippletide-backend.azurewebsites.net/api/agents/{id}/test-prompts/{promptId} \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>",
"expectedAnswer": "<string>",
"testAnswer": "<string>"
}
'{
"id": 123,
"prompt": "<string>",
"expectedAnswer": "<string>",
"testAnswer": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Update a test prompt
curl --request PUT \
--url https://rippletide-backend.azurewebsites.net/api/agents/{id}/test-prompts/{promptId} \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>",
"expectedAnswer": "<string>",
"testAnswer": "<string>"
}
'{
"id": 123,
"prompt": "<string>",
"expectedAnswer": "<string>",
"testAnswer": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}