curl --request POST \
--url https://api.orq.ai/v2/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": [
"good"
],
"property": "rating",
"trace_id": "67HTZ65Z9W91HSF51CW68KK1QH"
}
'{
"property": "<string>",
"value": "<string>",
"trace_id": "<string>",
"id": "<string>"
}Submit feedback for the LLM transaction via the API
curl --request POST \
--url https://api.orq.ai/v2/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": [
"good"
],
"property": "rating",
"trace_id": "67HTZ65Z9W91HSF51CW68KK1QH"
}
'{
"property": "<string>",
"value": "<string>",
"trace_id": "<string>",
"id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Feedback submission payload
A string describing the specific property or aspect rated.
The feedback value. For single selection of multiple choice, the value should be an array of strings. For correction, the value should be a string.
The id returned by the get_config or invoke endpoints
Successful operation
A string describing the specific property or aspect rated.
The feedback value. For single selection of multiple choice, the value should be an array of strings. For correction, the value should be a string.
The id returned by the get_config or invoke endpoints
Was this page helpful?