Update Evaluation

PATCH

Update an Evaluation.

Update the setup of an Evaluation by specifying the Dataset, versions to be evaluated (Evaluatees), and which Evaluators to provide judgments.

Path parameters

idstringRequired

Unique identifier for Evaluation.

Request

This endpoint expects an object.
datasetobjectOptional

Dataset to use in this Evaluation.

evaluateeslist of objectsOptional

Unique identifiers for the Prompt/Tool Versions to include in the Evaluation. Can be left unpopulated if you wish to add evaluatees to this Evaluation by specifying evaluation_id in Log calls.

evaluatorslist of objectsOptional

The Evaluators used to evaluate.

namestringOptional

Name of the Evaluation to help identify it. Must be unique within the associated File.

fileobjectOptional

The File to associate with the Evaluation.

Response

Successful Response

idstring

Unique identifier for the Evaluation. Starts with evr.

datasetobject

The Dataset used in the Evaluation.

evaluateeslist of objects

The Prompt/Tool Versions included in the Evaluation.

evaluatorslist of objects

The Evaluator Versions used to evaluate.

statusenum
Allowed values: pendingrunningcompletedcancelled

The current status of the Evaluation.

  • "pending": The Evaluation has been created but is not actively being worked on by Humanloop.
  • "running": Humanloop is checking for any missing Logs and Evaluator Logs, and will generate them where appropriate.
  • "completed": All Logs an Evaluator Logs have been generated.
  • "cancelled": The Evaluation has been cancelled by the user. Humanloop will stop generating Logs and Evaluator Logs.
created_atdatetime
updated_atdatetime
namestringOptional

Name of the Evaluation to help identify it. Must be unique among Evaluations associated with File.

file_idstringOptional

Unique identifier for the File associated with the Evaluation.

created_byanyOptional
urlstringOptional

URL to view the Evaluation on the Humanloop.

Errors