You can use the AddFeedback API to evaluate and rate AI features.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| TaskId |
string |
No |
AI task ID. |
f780ade8-****-458b-b067-63077946a570 |
| TaskName |
string |
No |
Task type.
|
Abstract:fields |
| Feedback |
string |
No |
The feedback provided by returning users. |
{"问题描述":"客户询问沙发生产周期并尝试加快", "客服方案":"订单确认,建议联系在线客服", "完成度判断":"否"} |
| Rating |
integer |
No |
Rating:
|
thumbsUp |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Response code. |
OK |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Message |
string |
Error message. |
无 |
| RequestId |
string |
Request ID. |
C81FD1A5-4B99-470A-A527-D80150228784 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "C81FD1A5-4B99-470A-A527-D80150228784"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Format | The format of parameter %s is invalid. %s | |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | |
| 500 | InternalService.Common | An internal service error occurred. %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.