curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/feedback' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<PAREA_API_KEY>>' \
--data '{
"trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi",
"score": 0.5,
"name": "test",
"target": "perfect answer"
}'
"<any>"
Record any (user) feedback & ground truth/correction of output for a log.
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/feedback' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<PAREA_API_KEY>>' \
--data '{
"trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi",
"score": 0.5,
"name": "test",
"target": "perfect answer"
}'
"<any>"
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/feedback' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<PAREA_API_KEY>>' \
--data '{
"trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi",
"score": 0.5,
"name": "test",
"target": "perfect answer"
}'
Successful Response
The response is of type any
.
Was this page helpful?