AddFeedback

Updated at:

Evaluates and rates AI features.

Operation description

Evaluates and rates AI features by using the AddFeedback operation.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 (field extraction)

  • Abstract:keywords (hotwords)

  • Abstract:title_summary (summary)

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:

  • thumbsDown: Thumbs down.

  • thumbsUp: Thumbs up.

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.