You can capture this feedback on a generation or conversation level and analyze it based on custom tags by adding meta data to the relevant request. The Feedback API allows you to gather weighted feedback from users on any generation or conversation at any stage within your app. By incorporating custom metadata, you can tag and analyze feedback more effectively.Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
API Reference
Create Feedback | Update FeedbackSDK Usage
Thefeedback.create method in the Portkey SDK provides a way to capture user feedback programmatically.
Method Signature
- NodeJS
- Python
Parameters
- feedbackParams (Object): Parameters for the feedback request, including
trace_id,value,weight, andmetadata.
Example Usage
- NodeJS
- Python

