If you need to change the expected output for a given evaluation set item, you can use this endpoint to update the item. This can be useful if you need to correct an error in the expected output or if the output of the processor has changed.

Parameters

id
string

The ID of the evaluation set item to update.

Body

expectedOutput
object
default: "{ hi: 'hi' }"required

The expected output of the processor when run against the file.

This should be a JSON object conforming to the output type schema of the processor.

Response

success
boolean

A true or false value for whether the evaluation set item was created successfully or not.

evaluationSetItem
EvaluationSetItem

An EvaluationSetItem object representing the newly created evaluation set item. See the EvaluationSetItem object for more details.