Record feedback
To record feedback you need the trace_id of the trace log you want to record feedback on. You can get the trace_id using theget_current_trace_id()
helper function, or from the completion method’s response.
p.completion
for your LLM request, you can access the inference_id
field on the response to get the trace_id.