Retrieve quality check results.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Try it now
RAM authorization
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles permission to call this API. Details:
- Action: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details:
- For required resource types, an asterisk is prefixed.
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: the other permissions required to successfully perform the operation. The caller must also have the permissions of the dependent operations for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| dianjin:GetQualityCheckTaskResult | get | *All Resources * |
| None |
Request syntax
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | Workspace ID | llm-xxxxx |
| taskId | string | Yes | Task ID | 17071319 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | ResultCode | ||
| cost | long | Time consumed | null |
| data | object | Response data | |
| conversationList | object | Original conversation content | |
| callType | string | Call type: Valid values:
| 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 | |
| dialogueList | object | Dialogue detail | |
| begin | integer | Start time of this utterance, an offset in ms relative to the conversation start point | 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 |
| end | integer | End time of this utterance, an offset in ms relative to the conversation start point | 0 |
| id | integer | Unique identifier for this utterance, assigned internally | 1 |
| role | string | Role Valid values:
| 0 |
| type | string | Content type Valid values:
| TEXT |
| gmtService | string | Conversation time | 2024-09-27 11:23:20 |
| gmtCreate | string | Task creation time, the time 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 | |
| qualityCheckList | object | Quality check result | |
| checkExplanation | string | Explanation of the reason for passing or failing | N/A |
| checkPassed | string | Whether the quality check passed Valid values:
| PASSED |
| checkProcess | string | Description of the quality check process | N/A |
| checked | string | Whether the rule was matched Valid values:
| 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 |
| originDialogue | array<object> | Original dialogue list | |
| originDialogue | object | Original dialogue | |
| begin | integer | Start time of this utterance, an offset in ms relative to the conversation start point | 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 |
| end | integer | End time of this utterance, an offset in ms relative to the conversation start point | 0 |
| id | integer | Unique identifier for this utterance, assigned internally | 1 |
| role | string | Role Valid values:
| 0 |
| type | string | Content type Valid values:
| 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 | |
| subNodeCol | any | Quality check result for the child node, with the same structure as 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:
| 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
Error codes
Visit the Error Center to view more error codes.
Release notes
| Change time | Change summary | Operation |
|---|