curl --request POST \
--url https://api.helicone.ai/v1/evaluator \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"scoring_type": "<string>",
"llm_template": "<any>",
"name": "<string>",
"code_template": "<any>",
"last_mile_config": "<any>"
}'
{
"data": {
"id": "<string>",
"created_at": "<string>",
"scoring_type": "<string>",
"llm_template": "<any>",
"organization_id": "<string>",
"updated_at": "<string>",
"name": "<string>",
"code_template": "<any>",
"last_mile_config": "<any>"
}
}
Create a new evaluator configuration
curl --request POST \
--url https://api.helicone.ai/v1/evaluator \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"scoring_type": "<string>",
"llm_template": "<any>",
"name": "<string>",
"code_template": "<any>",
"last_mile_config": "<any>"
}'
{
"data": {
"id": "<string>",
"created_at": "<string>",
"scoring_type": "<string>",
"llm_template": "<any>",
"organization_id": "<string>",
"updated_at": "<string>",
"name": "<string>",
"code_template": "<any>",
"last_mile_config": "<any>"
}
}
eu.api.helicone.ai
instead of
api.helicone.ai
.Ok
The response is of type object
.
Was this page helpful?