Quality check task object description

Updated at:

This topic describes the structure of the quality check task object.

Important

Perform operations on the frontend page and use your browser's developer tools to obtain the request parameters. You can use these parameters as a template to build your desired object structure.

SchemeTaskConfig description

Property

Value type

Example

Description

schemeTaskConfigId

Long

Task configuration ID.

setName

String

Name.

sourceDataType

Integer

Data type:

1. Check the quality of offline speech.

2. Offline text quality check.

3. Real-time speech quality inspection.

4. Real-time text moderation.

5: Call center secondary quality inspection. 51: Voice call center secondary quality inspection.

52: Secondary quality review of call center texts.

11: Dataset audio

12: Dataset text

13: Secondary quality check for datasets; 131: Secondary audio quality check for datasets; 132: Secondary text quality check for datasets

21: Audio-to-text transcription task

31: Novice task

32: Performance evaluation task

33: Model trial task; 34: Single-item test task; 35: Batch test task

manualReview

Integer

Manual review. 0: No, 1: Yes. Default: 0.

assignType

Integer

Task assignment type. 0: Do not assign, 1: Specific assignment, 2: Manual assignment. Default: 0.

assignConfig

AssignConfig

Assignment configuration. For more information, see review management.

dataConfig

List<SchemeDataConfig>

Data configuration in JSON format.

For dataset tasks: Dataset list.

For call center tasks: Recorded data.

For secondary quality checks: Data filtering conditions.

Details of dataConfig

For data that is not from recordings, the array size is 1.

config

Config

Extension field. Reserved.

schemeList

List<QualityCheckScheme>

List of quality check schemes.

For more information, see the QualityCheckScheme description.

scheduledFireTime

String

Scheduled execution time. If this is empty, the task executes immediately.

asrTaskPriority

Integer

Task priority. 1: Low, 2: Medium, 3: High. Default: 1.

language

Integer

Language type. `cn`: Mandarin Chinese, `en`: English.

modeCustomizationId

String

ASR language model ID.

modelName

String

ASR language model name.

vocabId

String

ASR general hotword model ID.

vocabName

String

ASR general hotword model name.

updateTime

String

2016-08-05 10:37:10

Last modified time.

createTime

String

2016-08-05 10:37:10

Creation time.

createUserName

String

Creator.

updateUserName

String

Last modified by.

numberSum

Integer

Total number of items.

numberExecuting

Integer

Number of items being executed.

numberSuccess

Integer

Number of successful items.

numberFail

Integer

Number of failed items.

finishRate

Double

Completion degree.

status

Integer

Task status. 0: Disabled, 1: In progress.

SchemeDataConfig description

The data source configuration for a quality check scheme. Possible sources include the following:

  • Datasets

  • Secondary quality checks

  • Session quality check tasks that are initiated and pushed to a corresponding task based on recording parameters.

Name

Type

Example value

Description

index

Integer

1

Configuration item index. For internal use. Ignore this parameter.

resultParam

ResultParam

Used for secondary quality checks to determine the scope.

assignConfigs

List<AssignConfig>

Used to filter session tasks based on recording parameters.

dataSets

List<DataSet>

You can work directly with datasets.

ResultParam description

This parameter is used when you create a secondary quality check task. Its usage varies based on the following situations.

Export all:

Refer to the `jsonStr` parameter of the GetResult API. The logic is the same.

Export selected:

This applies when you export selected items.

Name

Type

Example value

Description

sessionTaskUuidList

List<String>

["20220926-54848046-8f4e-49b1-8c80-b2d6dd150604"] 4"]

A concatenation of the `TaskId` and `vid` of the selected session quality check task, joined by a hyphen (-). The GetResult API provides this value.

Note

`tid`, `vid`, and `fileId` are equivalent. You can use `taskid` and `vid` to identify a unique session quality check task.

AssignConfig description

Name

Type

Example value

Description

assignConfigContests

List<AssignConfigContest>

An array of `AssignConfigContest` objects. These objects are joined by a logical OR.

AssignConfigContest description

Name

Type

Example value

Description

name

String

remark14

Used for secondary quality checks to determine the scope.

dataType

Integer

1

Field type:

0: Character

1: Number

2: Array

3: Date

4: JSON array

symbol

Integer

1

Symbol type:

1: Equals

2: Greater than

3: Less than

4: Range

5: Greater than or equal to

6: Less than or equal to

7: Not equal to

8: Is empty

9: Is not empty

10: Contains

11: Does not contain

value

String

The value to compare. The format depends on the `dataType`.

listObject

List<Object>

For internal use. Ignore this parameter.

DataSet description

This object is used in Dataset Management when you create a quality check task.

Name

Type

Example value

Description

dataSets

List<Object>

[{"setId":108}]

QualityCheckScheme description

Name

Type

Example value

Description

schemeId

Long

1

Quality check scheme ID.

name

String

Quality check scheme A

Quality check scheme name.