Hi, if I want to capture feedback on a trace_id, is there any API support for that?
Yes, Phoenix provides API support for capturing feedback on traces. You can attach user feedback to spans and traces in the form of annotations using the Phoenix API. To do this, you can send a POST request to the /v1/span_annotations endpoint with the necessary annotation details, including the span_id, name, annotator_kind, and result fields. This allows you to associate feedback with specific spans within a trace.For more detailed instructions, you can refer to the Capture Feedback documentation, which provides examples and code snippets for sending annotations to Phoenix.Would you like more detail on how to implement this?Sources:
- Capture Feedback documentation
馃挕聽Hint: Mention RunLLM in the thread for followups.
Here鈥檚 the nicer docs view from the website 馃檪 https://docs.arize.com/phoenix/tracing/how-to-tracing/capture-feedback
But that request is expecting span_id instead of trace_id.
Trace ID is just another span ID. You can send in your root span id and have it work right away.
ok thanks
