v1

latestOpenAPI 3.1.02026-07-1320186461.3 KB

Record Feedback

Record any (user) feedback & ground truth/correction of output for a log.

post/api/parea/v1/feedback

Request body

trace_idstring nullable

UUID of the trace log

inference_idstring nullable

UUID of the trace log

scorenumber required

Feedback score

commentstring nullable

Feedback comment

targetstring nullable

Optional target or “gold standard” of log.

organization_idstring nullable

Field will be automatically filled-in.

namestring nullable

Deprecated field

Example request

{
  "name": "test",
  "score": 0.5,
  "target": "perfect answer",
  "trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi"
}

Response

Successful Response

{"stackTrail":"paths:/api/parea/v1/feedback:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}