Logging
Update an evaluation
PUT
/
evaluations
/
{id}
Authorization
Path
Body
curl --request PUT \
--url https://api.honeyhive.ai/evaluations/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"accepted": [
true
],
"comments": [
{}
],
"dataset": [
{}
],
"datasetName": "<string>",
"description": "<string>",
"generations": [
{}
],
"metrics": [
[]
],
"name": "<string>",
"prompts": [
{}
],
"results": [
{}
],
"summary": [
{}
],
"task": "<string>",
"user": "<string>"
}'
{
"result": {}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredBody
application/json
accepted
boolean[]
Whether each result was accepted
comments
object[]
The comments for the evaluation
dataset
object[]
The dataset for which the evaluation is being created
datasetName
string
The name of the dataset for which the evaluation is being created
description
string
The description of the evaluation
generations
object[]
The completions for prompts that are being evaluated
metrics
array
The metrics that are computed for the completions
name
string
The name of the evaluation
prompts
object[]
The prompts for which the evaluation is being created
results
object[]
The results of the evaluation
summary
object[]
The metric summary of the evaluation
task
string
The task for which the evaluation is being created
user
string
The user running the evaluation
Response
200 - application/json
result
object
The result of the update operation
curl --request PUT \
--url https://api.honeyhive.ai/evaluations/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"accepted": [
true
],
"comments": [
{}
],
"dataset": [
{}
],
"datasetName": "<string>",
"description": "<string>",
"generations": [
{}
],
"metrics": [
[]
],
"name": "<string>",
"prompts": [
{}
],
"results": [
{}
],
"summary": [
{}
],
"task": "<string>",
"user": "<string>"
}'
{
"result": {}
}