cURL
curl --request POST \ --url https://api.collinear.ai/api/v1/dataset/assess/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'evaluation_name=<string>' \ --form 'dataset_id=<string>' \ --form 'dataset_name=<string>' \ --form space_id=3c90c3cc-0d44-4b50-8888-8dd25736052a
{ "message": "<string>", "data": {} }
[ { "id": "<your dataset_row_id>", "judgement": <your_binary_judgement> }, { "id": "<your dataset_row_id>", "judgement": <your_binary_judgement> } ]
[ { "conv_prefix": [ { "role": "user", "content": "Hey how are you?" } ], "response": { "role": "assistant", "content": "I'm good, how are you?" }, "judgement": <YOUR JUDGEMENT> }, { "conv_prefix": [ { "role": "user", "content": "Hey how are you?" } ], "response": { "role": "assistant", "content": "I'm bad, how are you?" }, "judgement": <YOUR JUDGEMENT> } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?