Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
curl --request POST \
--url https://api.together.xyz/v1/evaluation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "classify",
"parameters": {
"judge": {
"model": "meta-llama/Llama-3-70B-Instruct-Turbo",
"system_template": "Imagine you are a helpful assistant",
"model_source": "serverless",
"external_api_token": "<string>",
"external_base_url": "<string>"
},
"labels": [
"yes",
"no"
],
"pass_labels": [
"yes"
],
"model_to_evaluate": "<string>",
"input_data_file_path": "file-1234-aefd"
}
}'{
"workflow_id": "eval-1234-1244513",
"status": "pending"
}curl --request POST \
--url https://api.together.xyz/v1/evaluation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "classify",
"parameters": {
"judge": {
"model": "meta-llama/Llama-3-70B-Instruct-Turbo",
"system_template": "Imagine you are a helpful assistant",
"model_source": "serverless",
"external_api_token": "<string>",
"external_base_url": "<string>"
},
"labels": [
"yes",
"no"
],
"pass_labels": [
"yes"
],
"model_to_evaluate": "<string>",
"input_data_file_path": "file-1234-aefd"
}
}'{
"workflow_id": "eval-1234-1244513",
"status": "pending"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?