Evaluation Datasets

Update question in dataset

Updates an existing question-answer pair in a dataset

put/datasets/{dataset_id}/{question_id}

Path parameters

dataset_idstring required

ID of the dataset

question_idstring required

ID of the question to update

Request body

questionstring required

The question text

answerstring required

The expected answer

Example request

{
  "question": "What are your business hours?",
  "answer": "We are open Monday to Friday, 9am to 5pm"
}

Response

Question successfully updated

messagestring required

Response message

Example response

{
  "message": "Operation completed successfully"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.