TestRuleV4

Updated at:

Frontend location: Quality Check Rule Configuration > Test. Apsara Stack URL: http://:/api/client/TestRule.json.

Note

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

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

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

sca:TestRuleV4

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

IsSchemeData

integer

No

Whether this is the new quality check version. Valid values: 0 (legacy version) and 1 (new version). Default value: 1.

1

TestJson

string

Yes

JSON request parameters for rule testing. For details, see the supplemental description of request parameters.

{"ruleList":[9771],"dialogues":[{"begin":0,"end":760,"hourMinSec":"00:00","role":"客户","identity":"客户","words":"123"},{"begin":21004,"end":21494,"hourMinSec":"00:21","role":"客服","identity":"客服","words":"123"}]}

Sample request parameters

{
    "ruleList": [
        50298
    ],
    "dialogues": [
        {
            "role": "agent",
            "identity": "agent",
            "words": "Hello. This is xx.",
            "hourMinSec": "00:00",
            "begin": 0
        },
        {
            "words": "I want to buy a towel.",
            "begin": 1000,
            "role": "customer",
            "identity": "customer",
            "hourMinSec": "00:01"
        }
    ]
}

Sample Java code

import com.alibaba.fastjson.JSONObject;
import com.aliyun.qualitycheck20190115.Client;
import com.aliyun.qualitycheck20190115.models.*;
import com.aliyun.teaopenapi.models.Config;


public class sca {

    private static String ak = "YOUR_ACCESS_KEY_ID";
    private static String sk = "YOUR_ACCESS_KEY_SECRET";

    private static void testRuleV4() throws Exception {
        String json="{\"ruleList\":[50298],\"dialogues\":[{\"role\":\"agent\",\"identity\":\"agent\",\"words\":\"Hello. This is xx.\",\"hourMinSec\":\"00:00\",\"begin\":0},{\"words\":\"I want to buy a towel.\",\"begin\":1000,\"role\":\"customer\",\"identity\":\"customer\",\"hourMinSec\":\"00:01\"}]}";

        Config config = new Config();
        config.setAccessKeyId(ak).setAccessKeySecret(sk)
                .setEndpoint("qualitycheck.cn-hangzhou.aliyuncs.com")
                .setRegionId("cn-hangzhou").setProtocol("HTTPS");

        Client client = new Client(config);
        TestRuleV4Request result = new TestRuleV4Request();

        result.setTestJson(json);

        TestRuleV4Response response = client.testRuleV4(result);
        System.out.println(JSONObject.toJSONString(response));
    }


    public static void main(String[] args) throws Exception {
        testRuleV4();
    }
}

Response elements

Element

Type

Description

Example

object

PlainResult<overviewresult>

Data

object

Full response body.

HitRuleReviewInfoList

array<object>

Information about hit check items.

array<object>

Information about hit check items.

Rid

integer

Check item ID.

451

Lambda

string

Lambda expression. Example: a&&b.

a&&b

ConditionHitInfoList

array<object>

Information about hit conditions.

array<object>

Information about hit conditions.

Cid

array

Condition ID.

string

Condition ID.

1

Phrase

object

Sentence details for the current hit check item.

Role

string

Speaker role for this sentence. Valid values: agent and customer.

客服

Identity

string

Role identifier. In offline voice scenarios, roles are limited to agent or customer. In offline text quality check scenarios, this field shows the identity value passed in during upload.

客服

Words

string

Dialogue content.

你好,请问有什么可以帮您

Begin

integer

Start time offset of this sentence relative to the start of the full dialogue, in milliseconds. For example, if the total audio duration is 2 minutes and 10 seconds, and a customer starts speaking at 1 minute and 12 seconds and finishes at 1 minute and 20 seconds, then begin equals 72000 and end equals 80000.

72000

End

integer

End time offset of this sentence relative to the start of the full dialogue, in milliseconds. For example, if the total audio duration is 2 minutes and 10 seconds, and a customer starts speaking at 1 minute and 12 seconds and finishes at 1 minute and 20 seconds, then begin equals 72000 and end equals 80000.

80000

BeginTime

string

Start time of this sentence. Example: 2019-11-25 15:37:16.

2019-11-25 15:37:16

HourMinSec

string

Start time of this sentence in hh:mm:ss format.

10:00:00

EmotionValue

integer

Emotion intensity score. Value equals volume in decibels divided by 10. Valid range: [1, 10]. Higher values indicate stronger emotion.

7

EmotionFineGrainedValue

integer

Internal use only. Ignore this field.

忽略

SilenceDuration

integer

Silence duration, in milliseconds.

1000

SpeechRate

integer

Average speech rate for this sentence, in words per minute.

100

ChannelId

integer

Channel ID.

0

Pid

integer

Index of this sentence in the full list of sentences. This is the index of the sentence in the dialogues array of the request parameters, starting from 0.

3

RenterId

integer

Internal use only. Ignore this field.

无

Uuid

string

Internal use only. Ignore this field.

无

HitStatus

integer

Hit status. Valid values:

  • 0: Not hit

  • 1: Hit

1

Sid

integer

Internal use only. Ignore this field.

无

KeyWords

array<object>

Key information that was hit. This information appears highlighted on the review page. Examples include keywords matched by a keyword-check operator or category information matched by an agent-model-check operator.

object

Key information that was hit. This information appears highlighted on the review page. Examples include keywords matched by a keyword-check operator or category information matched by an agent-model-check operator.

OperatorKey

string

Key information matched by the operator.

无

Val

string

Key information matched by the operator. For details, see Detailed explanation of Val key information in the response parameter description below.

你好

Pid

integer

Index of this sentence in the full list of sentences. This is the index of the sentence in the dialogues array of the request parameters, starting from 0.

13

From

integer

Starting character position for highlighting. Index starts at 0. Maximum value is the total number of characters in the sentence minus 1. The character at position from is included in the highlight.

1

To

integer

The position of the character that follows the highlighted keyword. The character at the `to` position is not included in the highlight. For example, if `from` is 0 and `to` is 3, the highlighted keyword consists of the characters at indices 0, 1, and 2. The maximum value is one less than the total number of characters in the sentence.

3

Tid

string

Internal use only. Ignore this field.

无

Oid

string

Operator ID.

123

Uuid

string

Internal use only. Ignore this field.

无

SimilarPhrase

string

Similar phrase.

您好

Cid

string

Condition ID.

4

CustomizeCode

string

Internal field. Ignore this field.

无

ConditionInfoList

array

List of conditions.

ConditionBasicInfo

Condition information.

BranchHitId

integer

ID of the hit branch.

1

BranchInfoList

array<object>

List of branch information.

object

Branch information.

Index

integer

Index number.

1

Name

string

Node name.

节点A

NextNodeId

integer

ID of the next flow node.

2

Situation NextNodeSituations

Flow node condition.

Lambda

string

Lambda expression.

a&&b

CheckType

integer

Check item type.

0

Triggers

array

List of trigger IDs.

string

Trigger ID.

a

RuleScoreType

integer

Whether scoring applies. Valid values: 1 (no scoring) and 3 (scoring).

1

TaskFlowId

integer

Flow ID.

1

ScoreNumType

integer

Scoring type. Valid values: 0 (add or subtract points on hit) and 1 (one-time score on hit).

1

Matched

boolean

Whether the rule was hit.

true

NodeType

string

Node type.

0

JudgeNodeName

string

Judgement node name.

判断节点A

RuleName

string

Rule name.

规则A

HitTaskFlowList

array<object>

List of hit advanced flow nodes.

object

Information about hit advanced flow nodes.

GraphFlow TaskGraphFlow

Flowchart canvas.

TaskFlowType

integer

Flowchart type. Deprecated. Default value: 1.

无

Rid

integer

Rule ID.

1

UnhitRuleReviewInfoList

array<object>

Information about rules that were not hit.

object

Information about rules that were not hit.

Rid

integer

The ID of the rule.

2

ConditionInfoList

array

List of conditions.

ConditionBasicInfo

Condition information.

Matched

boolean

Whether the rule was hit.

true

TaskFlowType

integer

Flowchart type. Deprecated. Default value: 1.

忽略

RequestId

string

Request ID.

96138D8D-XXXX-4E41-XXXX-77AED1088BBD

Success

boolean

Indicates whether the request succeeded. Callers can use this field to determine success: true means success; false or null means failure.

true

Code

string

Result code. 200 indicates success. Other values indicate failure. Callers can use this field to identify the cause of failure.

200

Message

string

Error details when an error occurs. Returns successful when the request succeeds.

successful

HttpStatusCode

integer

HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": {
    "HitRuleReviewInfoList": [
      {
        "Rid": 451,
        "Lambda": "a&&b",
        "ConditionHitInfoList": [
          {
            "Cid": [
              "1"
            ],
            "Phrase": {
              "Role": "客服",
              "Identity": "客服",
              "Words": "你好,请问有什么可以帮您",
              "Begin": 72000,
              "End": 80000,
              "BeginTime": "2019-11-25 15:37:16",
              "HourMinSec": "10:00:00",
              "EmotionValue": 7,
              "EmotionFineGrainedValue": 0,
              "SilenceDuration": 1000,
              "SpeechRate": 100,
              "ChannelId": 0,
              "Pid": 3,
              "RenterId": 0,
              "Uuid": "无",
              "HitStatus": 1,
              "Sid": 0
            },
            "KeyWords": [
              {
                "OperatorKey": "无",
                "Val": "你好",
                "Pid": 13,
                "From": 1,
                "To": 3,
                "Tid": "无",
                "Oid": "123",
                "Uuid": "无",
                "SimilarPhrase": "您好",
                "Cid": "4",
                "CustomizeCode": "无"
              }
            ]
          }
        ],
        "ConditionInfoList": [
          {
            "Cid": "a",
            "Id": 1,
            "Rid": "1",
            "Check_range": {
              "RoleId": 1,
              "Role": "客服",
              "Anchor": {
                "Cid": "a",
                "Location": "BEFORE",
                "Hit_time": 1
              },
              "Range": {
                "From": 1,
                "To": 2
              },
              "Absolute": true,
              "AllSentencesSatisfy": true
            },
            "Operators": [
              {
                "Oid": "a",
                "Id": 1,
                "Type": "HIT_ANY_KEYWORDS",
                "Param": {
                  "CustomerParam": {
                    "Field": "remark1",
                    "FieldType": 1,
                    "DataType": 1,
                    "Symbol": 1,
                    "Value": "**[Deprecated]**",
                    "ActualValue": "**[Deprecated]**",
                    "ExpressionMetaDesc": {
                      "LeftFieldType": 0,
                      "LeftOperand": "**[Deprecated]**",
                      "Operator": "**[Deprecated]**",
                      "RightFieldType": 0,
                      "RightOperand": "**[Deprecated]**",
                      "RoundingMode": "**[Deprecated]**"
                    }
                  },
                  "Keywords": [
                    "Hello"
                  ],
                  "Regex": "Question.*",
                  "NotRegex": "Excellent.*",
                  "Phrase": "Hello, may I ask",
                  "References": [
                    "Hello.{0,10}"
                  ],
                  "Interval": 1,
                  "IntervalEnd": 2,
                  "Threshold": 90,
                  "In_sentence": true,
                  "Target": 1,
                  "From_end": true,
                  "Different_role": true,
                  "Target_role": "Agent",
                  "RoleId": 1,
                  "Velocity": 111,
                  "VelocityInMint": 1,
                  "KeywordExtension": 1,
                  "Synonyms": {
                    "key": [
                      "Deprecated field"
                    ]
                  },
                  "Case_sensitive": true,
                  "Near_dialogue": true,
                  "MinWordSize": 1,
                  "Hit_time": 2,
                  "Excludes": [
                    "Negative"
                  ],
                  "From": 0,
                  "CheckFirstSentence": true,
                  "Average": true,
                  "BeginType": "1",
                  "EndType": "2",
                  "CompareOperator": "gt",
                  "Pkey": "xx",
                  "Poutput_type": 1,
                  "SimilarlySentences": [
                    "I want to purchase"
                  ],
                  "LgfSentences": [
                    "Hello {1}"
                  ],
                  "Score": 70,
                  "ContextChatMatch": true,
                  "KeywordMatchSize": 1,
                  "MaxEmotionChangeValue": 3,
                  "CheckType": 1,
                  "KnowledgeTargetId": "1",
                  "CategoryPathCode": "Deprecated field",
                  "KnowledgeTargetType": 1,
                  "KnowledgeTargetName": "Order",
                  "QuestionThreshold": "90",
                  "AnswerThreshold": "90",
                  "KnowledgeSentenceNum": 1,
                  "KnowledgeInfo": "Place an order",
                  "BotId": "chatbot-cn-xxx",
                  "UseEasAlgorithm": true,
                  "Pvalues": [
                    "10"
                  ],
                  "Similarity_threshold": 90,
                  "AntModelInfo": {
                    "key": "model"
                  },
                  "DelayTime": 10,
                  "Knowledges": "Deprecated field",
                  "LlmModelCode": "TYXM_PLUS",
                  "HitCondition": "Hit condition",
                  "SceneName": "Polite language detection",
                  "Dimensions": [
                    {
                      "Dimension": "Inappropriate opening remarks",
                      "Desc": "Checks whether impolite or non-standard opening remarks are used in customer service conversations, which affects service professionalism",
                      "ExcludeCondition": "Customer service representatives must use the official standard dialect during service",
                      "IncludeCondition": "Non-standard and impolite greetings such as \"Hey\" appear at the beginning of the conversation"
                    }
                  ]
                },
                "Name": "a",
                "UserGroup": "xxx",
                "QualityCheckType": 0
              }
            ],
            "Lambda": "a",
            "Exclusion": 0,
            "Name": "示例条件",
            "UserGroup": "xxxx"
          }
        ],
        "BranchHitId": 1,
        "BranchInfoList": [
          {
            "Index": 1,
            "Name": "节点A",
            "NextNodeId": 2,
            "Situation": {
              "ConditionGroup": [
                {
                  "Conditions": [
                    {
                      "Field": "remark1",
                      "FieldType": 1,
                      "DataType": 1,
                      "Symbol": 1,
                      "Value": "**[Deprecated]**",
                      "ActualValue": "**[Deprecated]**",
                      "ExpressionMetaDesc": {
                        "LeftFieldType": 0,
                        "LeftOperand": "**[Deprecated]**",
                        "Operator": "**[Deprecated]**",
                        "RightFieldType": 0,
                        "RightOperand": "**[Deprecated]**",
                        "RoundingMode": "**[Deprecated]**"
                      }
                    }
                  ],
                  "Type": "1"
                }
              ],
              "Type": "1"
            },
            "Lambda": "a&&b",
            "CheckType": 0,
            "Triggers": [
              "a"
            ]
          }
        ],
        "RuleScoreType": 1,
        "TaskFlowId": 1,
        "ScoreNumType": 1,
        "Matched": true,
        "NodeType": "0",
        "JudgeNodeName": "判断节点A",
        "RuleName": "规则A"
      }
    ],
    "HitTaskFlowList": [
      {
        "GraphFlow": {
          "Id": 1,
          "Rid": 1,
          "RuleName": "违规",
          "SkipWhenFirstSessionNodeMiss": true,
          "FlowRuleScoreType": 1,
          "ShowProperties": "{}",
          "Nodes": [
            {
              "Id": 1,
              "Rid": 1,
              "Name": "Start node",
              "NodeType": "startNode",
              "Index": 1,
              "Content": "{}",
              "Properties": {
                "Type": "Deprecated field",
                "Role": "Customer",
                "SayType": "Deprecated field",
                "RuleScoreType": 1,
                "ScoreNum": 1,
                "ScoreType": 1,
                "ScoreRuleHitType": 0,
                "AutoReview": 1,
                "ScoreNumType": 1,
                "Lambda": "a",
                "CheckType": 1,
                "Triggers": [
                  "a"
                ],
                "BranchJudge": true,
                "CheckMoreSize": 1
              },
              "Conditions": [
                {
                  "Cid": "a",
                  "Id": 1,
                  "Rid": "1",
                  "Check_range": {
                    "RoleId": 1,
                    "Role": "客服",
                    "Anchor": {
                      "Cid": "a",
                      "Location": "BEFORE",
                      "Hit_time": 1
                    },
                    "Range": {
                      "From": 1,
                      "To": 2
                    },
                    "Absolute": true,
                    "AllSentencesSatisfy": true
                  },
                  "Operators": [
                    {
                      "Oid": "a",
                      "Id": 1,
                      "Type": "HIT_ANY_KEYWORDS",
                      "Param": {
                        "CustomerParam": {
                          "Field": "remark1",
                          "FieldType": 1,
                          "DataType": 1,
                          "Symbol": 1,
                          "Value": "**[Deprecated]**",
                          "ActualValue": "**[Deprecated]**",
                          "ExpressionMetaDesc": {
                            "LeftFieldType": 0,
                            "LeftOperand": "**[Deprecated]**",
                            "Operator": "**[Deprecated]**",
                            "RightFieldType": 0,
                            "RightOperand": "**[Deprecated]**",
                            "RoundingMode": "**[Deprecated]**"
                          }
                        },
                        "Keywords": [
                          "Hello"
                        ],
                        "Regex": "Question.*",
                        "NotRegex": "Excellent.*",
                        "Phrase": "Hello, may I ask",
                        "References": [
                          "Hello.{0,10}"
                        ],
                        "Interval": 1,
                        "IntervalEnd": 2,
                        "Threshold": 90,
                        "In_sentence": true,
                        "Target": 1,
                        "From_end": true,
                        "Different_role": true,
                        "Target_role": "Agent",
                        "RoleId": 1,
                        "Velocity": 111,
                        "VelocityInMint": 1,
                        "KeywordExtension": 1,
                        "Synonyms": {
                          "key": [
                            "Deprecated field"
                          ]
                        },
                        "Case_sensitive": true,
                        "Near_dialogue": true,
                        "MinWordSize": 1,
                        "Hit_time": 2,
                        "Excludes": [
                          "Negative"
                        ],
                        "From": 0,
                        "CheckFirstSentence": true,
                        "Average": true,
                        "BeginType": "1",
                        "EndType": "2",
                        "CompareOperator": "gt",
                        "Pkey": "xx",
                        "Poutput_type": 1,
                        "SimilarlySentences": [
                          "I want to purchase"
                        ],
                        "LgfSentences": [
                          "Hello {1}"
                        ],
                        "Score": 70,
                        "ContextChatMatch": true,
                        "KeywordMatchSize": 1,
                        "MaxEmotionChangeValue": 3,
                        "CheckType": 1,
                        "KnowledgeTargetId": "1",
                        "CategoryPathCode": "Deprecated field",
                        "KnowledgeTargetType": 1,
                        "KnowledgeTargetName": "Order",
                        "QuestionThreshold": "90",
                        "AnswerThreshold": "90",
                        "KnowledgeSentenceNum": 1,
                        "KnowledgeInfo": "Place an order",
                        "BotId": "chatbot-cn-xxx",
                        "UseEasAlgorithm": true,
                        "Pvalues": [
                          "10"
                        ],
                        "Similarity_threshold": 90,
                        "AntModelInfo": {
                          "key": "model"
                        },
                        "DelayTime": 10,
                        "Knowledges": "Deprecated field",
                        "LlmModelCode": "TYXM_PLUS",
                        "HitCondition": "Hit condition",
                        "SceneName": "Polite language detection",
                        "Dimensions": [
                          {
                            "Dimension": "Inappropriate opening remarks",
                            "Desc": "Checks whether impolite or non-standard opening remarks are used in customer service conversations, which affects service professionalism",
                            "ExcludeCondition": "Customer service representatives must use the official standard dialect during service",
                            "IncludeCondition": "Non-standard and impolite greetings such as \"Hey\" appear at the beginning of the conversation"
                          }
                        ]
                      },
                      "Name": "a",
                      "UserGroup": "xxx",
                      "QualityCheckType": 0
                    }
                  ],
                  "Lambda": "a",
                  "Exclusion": 0,
                  "Name": "示例条件",
                  "UserGroup": "xxxx"
                }
              ],
              "NextNodes": [
                {
                  "Index": 1,
                  "Name": "a",
                  "NextNodeId": 31533,
                  "Lambda": "a",
                  "CheckType": 1,
                  "Triggers": [
                    "a"
                  ]
                }
              ],
              "UseConditions": true
            }
          ]
        },
        "TaskFlowType": 0,
        "Rid": 1
      }
    ],
    "UnhitRuleReviewInfoList": [
      {
        "Rid": 2,
        "ConditionInfoList": [
          {
            "Cid": "a",
            "Id": 1,
            "Rid": "1",
            "Check_range": {
              "RoleId": 1,
              "Role": "客服",
              "Anchor": {
                "Cid": "a",
                "Location": "BEFORE",
                "Hit_time": 1
              },
              "Range": {
                "From": 1,
                "To": 2
              },
              "Absolute": true,
              "AllSentencesSatisfy": true
            },
            "Operators": [
              {
                "Oid": "a",
                "Id": 1,
                "Type": "HIT_ANY_KEYWORDS",
                "Param": {
                  "Keywords": [
                    "Hello"
                  ],
                  "Regex": "Question.*",
                  "NotRegex": "Excellent.*",
                  "Phrase": "Hello, may I ask",
                  "References": [
                    "Hello.{0,10}"
                  ],
                  "Interval": 1,
                  "IntervalEnd": 2,
                  "Threshold": 90,
                  "In_sentence": true,
                  "Target": 1,
                  "From_end": true,
                  "Different_role": true,
                  "Target_role": "Agent",
                  "RoleId": 1,
                  "Velocity": 111,
                  "VelocityInMint": 1,
                  "KeywordExtension": 1,
                  "Synonyms": {
                    "key": [
                      "Deprecated field"
                    ]
                  },
                  "Case_sensitive": true,
                  "Near_dialogue": true,
                  "MinWordSize": 1,
                  "Hit_time": 2,
                  "Excludes": [
                    "Negative"
                  ],
                  "From": 0,
                  "CheckFirstSentence": true,
                  "Average": true,
                  "BeginType": "1",
                  "EndType": "2",
                  "CompareOperator": "gt",
                  "Pkey": "xx",
                  "Poutput_type": 1,
                  "SimilarlySentences": [
                    "I want to purchase"
                  ],
                  "LgfSentences": [
                    "Hello {1}"
                  ],
                  "Score": 70,
                  "ContextChatMatch": true,
                  "KeywordMatchSize": 1,
                  "MaxEmotionChangeValue": 3,
                  "CheckType": 1,
                  "KnowledgeTargetId": "1",
                  "CategoryPathCode": "Deprecated field",
                  "KnowledgeTargetType": 1,
                  "KnowledgeTargetName": "Order",
                  "QuestionThreshold": "90",
                  "AnswerThreshold": "90",
                  "KnowledgeSentenceNum": 1,
                  "KnowledgeInfo": "Place an order",
                  "BotId": "chatbot-cn-xxx",
                  "UseEasAlgorithm": true,
                  "Pvalues": [
                    "10"
                  ],
                  "Similarity_threshold": 90,
                  "AntModelInfo": {
                    "key": "model"
                  },
                  "DelayTime": 10,
                  "Knowledges": "Deprecated field",
                  "LlmModelCode": "TYXM_PLUS",
                  "HitCondition": "Hit condition",
                  "SceneName": "Polite language detection",
                  "Dimensions": [
                    {
                      "Dimension": "Inappropriate opening remarks",
                      "Desc": "Checks whether impolite or non-standard opening remarks are used in customer service conversations, which affects service professionalism",
                      "ExcludeCondition": "Customer service representatives must use the official standard dialect during service",
                      "IncludeCondition": "Non-standard and impolite greetings such as \"Hey\" appear at the beginning of the conversation"
                    }
                  ]
                },
                "Name": "a",
                "UserGroup": "xxx",
                "QualityCheckType": 0
              }
            ],
            "Lambda": "a",
            "Exclusion": 0,
            "Name": "示例条件",
            "UserGroup": "xxxx"
          }
        ],
        "Matched": true,
        "TaskFlowType": 0
      }
    ]
  },
  "RequestId": "96138D8D-XXXX-4E41-XXXX-77AED1088BBD",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "HttpStatusCode": 200
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.