create_feedback
Capture user feedback on AI generations by linking ratings and metadata to specific traces for analysis.
Instructions
Create feedback for a specific trace/request. Use this to capture user feedback (thumbs up/down, ratings) on AI generations. Feedback is linked via trace_id and can include custom metadata for analysis.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | The trace ID to associate the feedback with. This links feedback to a specific request/generation. | |
| value | Yes | Feedback value/rating. Common patterns: 1 for positive (thumbs up), 0 for negative (thumbs down), or use a scale like 1-5. | |
| weight | No | Optional weighting factor for the feedback. Use to give more importance to certain feedback. | |
| metadata | No | Optional custom metadata for categorization and analysis (e.g., feedback_source, category, user_segment). |