创建反馈
This endpoint allows users to submit feedback for a particular interaction or response.
Authorizations
x-portkey-api-keystringRequired
Body
trace_idstringRequired
Unique identifier for the request trace.
valueinteger · min: -10 · max: 10Required
Feedback value, an integer between -10 and 10.
weightnumber · float · max: 1OptionalDefault:
Weight of the feedback, a float between 0 and 1. Default is 1.0.
1Responses
200
Feedback successfully saved
application/json
post
/feedback200
Feedback successfully saved
Last updated