curl --request POST \
--url https://api.orq.ai/v2/evaluators/{id}/invoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"output": "<string>",
"reference": "<string>",
"retrievals": [
"<string>"
],
"messages": [
{
"role": "system",
"content": "<string>",
"tool_calls": [
{
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>"
},
"id": "<string>",
"index": 123
}
],
"tool_call_id": "<string>"
}
]
}
'{
"type": "string",
"original_value": "<string>",
"value": "<string>"
}curl --request POST \
--url https://api.orq.ai/v2/evaluators/{id}/invoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"output": "<string>",
"reference": "<string>",
"retrievals": [
"<string>"
],
"messages": [
{
"role": "system",
"content": "<string>",
"tool_calls": [
{
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>"
},
"id": "<string>",
"index": 123
}
],
"tool_call_id": "<string>"
}
]
}
'{
"type": "string",
"original_value": "<string>",
"value": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Evaluator ID
Was this page helpful?