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
Actionelement 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
Resourceelement of the policy. - For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the
Resourceelement of the policy.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
- 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
| None | None |
Request syntax
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 |
| 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 |
| 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 |
| type | string | Content type Valid values:
| 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:
| PASSED |
| checkProcess | string | Description of the quality check process | N/A |
| checked | string | Whether the rule 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 | |
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 |
| 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 |
| 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 | |
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:
| 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