Skip to main content

GetQualityCheckTaskResult

Retrieve quality check results.

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.

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:
  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.
  • API: The API that you can call to perform the action.
  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.
  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.
    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.
    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.
  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.
  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dianjin:GetQualityCheckTaskResult

get

*All Resource

*

NoneNone

Request syntax

GET /{workspaceId}/api/qualitycheck/task/query HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspaceId

string

Yes

Workspace ID

llm-xxxxx

Request parameters

Parameter

Type

Required

Description

Example

taskId

string

Yes

Task ID

17071319

Response elements

Element

Type

Description

Example

object

ResultCode<qualityqueryresponse></qualityqueryresponse>

cost

integer

Processing time, in milliseconds

null

data

object

Response data

conversationList

object

Original conversation content

callType

string

Call type:

Valid values:

  • 1 :

    Inbound

  • 2 :

    Outbound

1

customerId

string

Customer ID

234234

customerName

string

Customer name

Zhang San

customerServiceId

string

Agent ID

23984763826

customerServiceName

string

Agent name

Li Si

dialogueList

array<object>

Dialogue details list

object

Dialogue detail

begin

integer

Start time of this utterance, in milliseconds relative to the start of the conversation

0

beginTime

string

Start time of this utterance

2024-09-27 11:23:20

content

string

Dialogue content

Hello, I am agent 2001. How may I help you!

customerId

string

Unique identifier for the dialogue role

null

customerServiceId

string

Agent ID

Li Si

customerServiceType

string

Agent type

Valid values:

  • 0 :

    Bot

  • 1 :

    Human

0

end

integer

End time of this utterance, in milliseconds relative to the start of the conversation

0

id

integer

Unique identifier for this utterance. Assigned internally

1

role

string

Role

Valid values:

  • 0 :

    Customer

  • 1 :

    Agent

0

type

string

Content type

Valid values:

  • IMAGE :

    Image

  • TEXT :

    Text

  • AUDIO :

    Voice

TEXT

gmtService

string

Conversation time

2024-09-27 11:23:20

gmtCreate

string

Task creation time. This is when the task was submitted

2024-09-27 11:23:20

gmtEnd

string

System execution end time

2024-09-27 11:23:20

gmtStart

string

System execution start time

2024-09-27 11:23:20

qualityCheckList

array<object>

Quality check result set

array<object>

Quality check result

checkExplanation

string

Reason for passing or failing the quality check

N/A

checkPassed

string

Whether the quality check passed

Valid values:

  • NOT_PASSED :

    Failed

  • PASSED :

    Passed

PASSED

checkProcess

string

Description of the quality check process

N/A

checked

string

Whether the rule matched

Valid values:

  • HIT :

    Matched

  • NOT_HIT :

    Not matched

HIT

gmtEnd

string

Quality check completion time

2024-05-23 14:57:50

gmtStart

string

Quality check start time

2024-05-23 14:57:50

mode

string

Internal quality check mode

Valid values:

  • 0 :

    Large Language Model (LLM) quality check

0

originDialogue

array<object>

Original dialogue list

object

Original dialogue

begin

integer

Start time of this utterance, in milliseconds relative to the start of the conversation

0

beginTime

string

Start time of this utterance

2024-05-23 14:57:50

content

string

Dialogue content

Hello, I am agent 2001. How may I help you!

customerId

string

Unique identifier for the dialogue role

xxx

customerServiceId

string

Agent ID

23876432

customerServiceType

string

Agent type

Valid values:

  • 0 :

    Bot

  • 1 :

    Human

0

end

integer

End time of this utterance, in milliseconds relative to the start of the conversation

0

id

integer

Unique identifier for this utterance. Assigned internally

1

role

string

Role

Valid values:

  • 0 :

    Customer

  • 1 :

    Agent

0

type

string

Content type

Valid values:

  • IMAGE :

    Image

  • TEXT :

    Text

  • AUDIO :

    Voice

TEXT

qualityGroupId

string

Quality check group ID

warning_customers

ruleDescription

string

Quality check item description

Entering the warning customer detection process

ruleId

string

Quality check item ID

wcm_start

bizType

string

Rule business type

No

ruleType

string

Rule direction. 0: negative, 1: positive

0

subNodeCol

array

Child node

any

Quality check result for the child node. Structure matches qualityCheckList

{ "ruleId": "wxx_regulatory_authorities", "ruleDescription": "Warning for a specific institution", "checked": "HIT", "checkProcess": "By reviewing the conversation records, the customer mainly asked about the lender information and settlement certificate, and expressed the intention to cancel the account. Throughout the conversation, the customer did not mention any specific department name, nor did they explicitly express the intention to file a complaint with any department.", "originDialogue": null, "checkPassed": "NOT_PASSED", "checkExplanation": null, "mode": "0", "gmtStart": "2024-12-02 10:38:39", "gmtEnd": "2024-12-02 10:38:43", "qualityGroupId": "warning_customers", "bizType": null, "ruleType": "0", "subNodeCol": null }

status

string

Task status

Valid values:

  • CANCELLED :

    Cancelled

  • INIT :

    Initializing

  • COMPLETED :

    Completed

  • PROCESSING :

    In progress

  • FAIL :

    Failed

INIT

taskId

string

Task ID

1703557101831

dataType

string

Data type

null

errCode

string

Error code

0

message

string

Error message

ok

requestId

string

Request ID

67C7021A-D268-553D-8C15-A087B9604028

success

boolean

Whether the request succeeded

true

time

string

Timestamp

2024-01-01 00:00:00

Examples

Success response JSON format
{
  "cost": 0,
  "data": {
    "conversationList": {
      "callType": "1",
      "customerId": "234234",
      "customerName": "张三",
      "customerServiceId": "23984763826",
      "customerServiceName": "李四",
      "dialogueList": [
        {
          "begin": 0,
          "beginTime": "2024-09-27 11:23:20",
          "content": "您好,我是2001,很高兴为您服务!",
          "customerId": "null",
          "customerServiceId": "李四",
          "customerServiceType": "0",
          "end": 0,
          "id": 1,
          "role": "0",
          "type": "TEXT"
        }
      ],
      "gmtService": "2024-09-27 11:23:20"
    },
    "gmtCreate": "2024-09-27 11:23:20",
    "gmtEnd": "2024-09-27 11:23:20",
    "gmtStart": "2024-09-27 11:23:20",
    "qualityCheckList": [
      {
        "checkExplanation": "暂无",
        "checkPassed": "PASSED",
        "checkProcess": "暂无",
        "checked": "HIT",
        "gmtEnd": "2024-05-23 14:57:50",
        "gmtStart": "2024-05-23 14:57:50",
        "mode": "0",
        "originDialogue": [
          {
            "begin": 0,
            "beginTime": "2024-05-23 14:57:50",
            "content": "您好,我是2001,很高兴为您服务!",
            "customerId": "xxx",
            "customerServiceId": "23876432",
            "customerServiceType": "0",
            "end": 0,
            "id": 1,
            "role": "0",
            "type": "TEXT"
          }
        ],
        "qualityGroupId": "warning_customers",
        "ruleDescription": "进入检测预警客户流程",
        "ruleId": "wcm_start",
        "bizType": "No",
        "ruleType": "0",
        "subNodeCol": [
          "{\n                        \"ruleId\": \"wxx_regulatory_authorities\",\n                        \"ruleDescription\": \"具体某机构预警\",\n                        \"checked\": \"HIT\",\n                        \"checkProcess\": \"通过审查对话记录,客户主要询问了关于贷款资方信息和结清证明的问题,并表达了想要注销账户的意愿。在整个对话过程中,客户并未提及任何具体的部门名称,也没有明确表示要向部门投诉的意图。\",\n                        \"originDialogue\": null,\n                        \"checkPassed\": \"NOT_PASSED\",\n                        \"checkExplanation\": null,\n                        \"mode\": \"0\",\n                        \"gmtStart\": \"2024-12-02 10:38:39\",\n                        \"gmtEnd\": \"2024-12-02 10:38:43\",\n                        \"qualityGroupId\": \"warning_customers\",\n                        \"bizType\": null,\n                        \"ruleType\": \"0\",\n                        \"subNodeCol\": null\n                    }"
        ]
      }
    ],
    "status": "INIT",
    "taskId": "1703557101831"
  },
  "dataType": "null",
  "errCode": "0",
  "message": "ok",
  "requestId": "67C7021A-D268-553D-8C15-A087B9604028",
  "success": true,
  "time": "2024-01-01 00:00:00"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.
Token Plan
Model Playground
Fine-tuning
Model Compression
Statistics and Monitoring
Support