AddFeedback
Evaluates and rates AI features.
Operation description
Evaluates and rates AI features by using the AddFeedback operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| TaskId |
string |
No |
The ID of the AI task. |
f780ade8-****-458b-b067-63077946a570 |
| TaskName |
string |
No |
The task type. Valid values:
|
Abstract:fields |
| Feedback |
string |
No |
The user feedback data. |
{"Problem description":"The customer inquired about the sofa production cycle and tried to expedite it", "Customer service solution":"Order confirmed. We recommend contacting online customer service.", "Completion status":"No"} |
| Rating |
integer |
No |
The rating. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| Code |
string |
The response code. |
OK |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The ID of the request. |
C81FD1A5-4B99-470A-A527-D80150228784 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "None",
"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 | The format of the parameter is invalid. |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 500 | InternalService.Common | An internal service error occurred. %s | An internal service error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.