tencentcloud-sdk-python 3.0.1410__py2.py3-none-any.whl → 3.0.1411__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ams/v20201229/models.py +16 -189
- tencentcloud/apm/v20210622/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +20 -12
- tencentcloud/ctem/__init__.py +0 -0
- tencentcloud/ctem/v20231128/__init__.py +0 -0
- tencentcloud/ctem/v20231128/ctem_client.py +601 -0
- tencentcloud/ctem/v20231128/errorcodes.py +75 -0
- tencentcloud/ctem/v20231128/models.py +10459 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/dlc_client.py +3 -1
- tencentcloud/dlc/v20210125/models.py +24 -7
- tencentcloud/dnspod/v20210323/errorcodes.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +17 -2
- tencentcloud/ims/v20201229/models.py +2 -30
- tencentcloud/iotexplorer/v20190423/models.py +4 -4
- tencentcloud/iotvideo/v20201215/models.py +2 -2
- tencentcloud/iotvideo/v20211125/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +32 -2
- tencentcloud/mongodb/v20190725/models.py +15 -0
- tencentcloud/mps/v20190612/models.py +217 -18
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +255 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +6 -6
- tencentcloud/tke/v20180525/models.py +19 -0
- tencentcloud/trocket/v20230308/models.py +164 -130
- tencentcloud/trocket/v20230308/trocket_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +45 -172
- tencentcloud/wedata/v20210820/models.py +239 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1410.dist-info → tencentcloud_sdk_python-3.0.1411.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1410.dist-info → tencentcloud_sdk_python-3.0.1411.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1410.dist-info → tencentcloud_sdk_python-3.0.1411.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1410.dist-info → tencentcloud_sdk_python-3.0.1411.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1410.dist-info → tencentcloud_sdk_python-3.0.1411.dist-info}/top_level.txt +0 -0
@@ -26,23 +26,17 @@ class AudioResult(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _HitFlag: 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type HitFlag: int
|
31
30
|
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33
31
|
:type Label: str
|
34
32
|
:param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
|
35
33
|
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
36
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
37
34
|
:type Suggestion: str
|
38
35
|
:param _Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
|
39
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
40
36
|
:type Score: int
|
41
37
|
:param _Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
42
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
43
38
|
:type Text: str
|
44
39
|
:param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
45
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
46
40
|
:type Url: str
|
47
41
|
:param _Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
48
42
|
:type Duration: str
|
@@ -55,10 +49,8 @@ class AudioResult(AbstractModel):
|
|
55
49
|
:param _LanguageResults: 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
|
56
50
|
:type LanguageResults: list of AudioResultDetailLanguageResult
|
57
51
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
58
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
59
52
|
:type SubLabel: str
|
60
53
|
:param _RecognitionResults: 识别类标签结果信息列表
|
61
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
62
54
|
:type RecognitionResults: list of RecognitionResult
|
63
55
|
:param _SpeakerResults: 说话人结果
|
64
56
|
:type SpeakerResults: list of SpeakerResults
|
@@ -70,6 +62,8 @@ class AudioResult(AbstractModel):
|
|
70
62
|
:type SubTag: str
|
71
63
|
:param _SubTagCode: 三级标签码
|
72
64
|
:type SubTagCode: str
|
65
|
+
:param _HitType: 审核检测类型
|
66
|
+
:type HitType: str
|
73
67
|
"""
|
74
68
|
self._HitFlag = None
|
75
69
|
self._Label = None
|
@@ -89,11 +83,11 @@ class AudioResult(AbstractModel):
|
|
89
83
|
self._TravelResults = None
|
90
84
|
self._SubTag = None
|
91
85
|
self._SubTagCode = None
|
86
|
+
self._HitType = None
|
92
87
|
|
93
88
|
@property
|
94
89
|
def HitFlag(self):
|
95
90
|
"""该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
|
96
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
97
91
|
:rtype: int
|
98
92
|
"""
|
99
93
|
return self._HitFlag
|
@@ -105,7 +99,6 @@ class AudioResult(AbstractModel):
|
|
105
99
|
@property
|
106
100
|
def Label(self):
|
107
101
|
"""该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
109
102
|
:rtype: str
|
110
103
|
"""
|
111
104
|
return self._Label
|
@@ -118,7 +111,6 @@ class AudioResult(AbstractModel):
|
|
118
111
|
def Suggestion(self):
|
119
112
|
"""该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
|
120
113
|
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
121
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
122
114
|
:rtype: str
|
123
115
|
"""
|
124
116
|
return self._Suggestion
|
@@ -130,7 +122,6 @@ class AudioResult(AbstractModel):
|
|
130
122
|
@property
|
131
123
|
def Score(self):
|
132
124
|
"""该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
|
133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
134
125
|
:rtype: int
|
135
126
|
"""
|
136
127
|
return self._Score
|
@@ -142,7 +133,6 @@ class AudioResult(AbstractModel):
|
|
142
133
|
@property
|
143
134
|
def Text(self):
|
144
135
|
"""该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
146
136
|
:rtype: str
|
147
137
|
"""
|
148
138
|
return self._Text
|
@@ -154,7 +144,6 @@ class AudioResult(AbstractModel):
|
|
154
144
|
@property
|
155
145
|
def Url(self):
|
156
146
|
"""该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
158
147
|
:rtype: str
|
159
148
|
"""
|
160
149
|
return self._Url
|
@@ -221,7 +210,6 @@ class AudioResult(AbstractModel):
|
|
221
210
|
@property
|
222
211
|
def SubLabel(self):
|
223
212
|
"""该字段用于返回当前标签(Lable)下的二级标签。
|
224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
225
213
|
:rtype: str
|
226
214
|
"""
|
227
215
|
return self._SubLabel
|
@@ -233,7 +221,6 @@ class AudioResult(AbstractModel):
|
|
233
221
|
@property
|
234
222
|
def RecognitionResults(self):
|
235
223
|
"""识别类标签结果信息列表
|
236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
237
224
|
:rtype: list of RecognitionResult
|
238
225
|
"""
|
239
226
|
return self._RecognitionResults
|
@@ -297,6 +284,17 @@ class AudioResult(AbstractModel):
|
|
297
284
|
def SubTagCode(self, SubTagCode):
|
298
285
|
self._SubTagCode = SubTagCode
|
299
286
|
|
287
|
+
@property
|
288
|
+
def HitType(self):
|
289
|
+
"""审核检测类型
|
290
|
+
:rtype: str
|
291
|
+
"""
|
292
|
+
return self._HitType
|
293
|
+
|
294
|
+
@HitType.setter
|
295
|
+
def HitType(self, HitType):
|
296
|
+
self._HitType = HitType
|
297
|
+
|
300
298
|
|
301
299
|
def _deserialize(self, params):
|
302
300
|
self._HitFlag = params.get("HitFlag")
|
@@ -352,6 +350,7 @@ class AudioResult(AbstractModel):
|
|
352
350
|
self._TravelResults.append(obj)
|
353
351
|
self._SubTag = params.get("SubTag")
|
354
352
|
self._SubTagCode = params.get("SubTagCode")
|
353
|
+
self._HitType = params.get("HitType")
|
355
354
|
memeber_set = set(params.keys())
|
356
355
|
for name, value in vars(self).items():
|
357
356
|
property_name = name[1:]
|
@@ -370,19 +369,14 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
370
369
|
def __init__(self):
|
371
370
|
r"""
|
372
371
|
:param _Label: 该字段用于返回对应的语言种类信息。
|
373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
374
372
|
:type Label: str
|
375
373
|
:param _Score: 该参数用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于当前返回的语种标签;
|
376
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
377
374
|
:type Score: int
|
378
375
|
:param _StartTime: 该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。
|
379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
380
376
|
:type StartTime: float
|
381
377
|
:param _EndTime: 该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。
|
382
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
383
378
|
:type EndTime: float
|
384
379
|
:param _SubLabelCode: *内测中,敬请期待*
|
385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
386
380
|
:type SubLabelCode: str
|
387
381
|
"""
|
388
382
|
self._Label = None
|
@@ -394,7 +388,6 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
394
388
|
@property
|
395
389
|
def Label(self):
|
396
390
|
"""该字段用于返回对应的语言种类信息。
|
397
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
398
391
|
:rtype: str
|
399
392
|
"""
|
400
393
|
return self._Label
|
@@ -406,7 +399,6 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
406
399
|
@property
|
407
400
|
def Score(self):
|
408
401
|
"""该参数用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于当前返回的语种标签;
|
409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
410
402
|
:rtype: int
|
411
403
|
"""
|
412
404
|
return self._Score
|
@@ -418,7 +410,6 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
418
410
|
@property
|
419
411
|
def StartTime(self):
|
420
412
|
"""该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。
|
421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
422
413
|
:rtype: float
|
423
414
|
"""
|
424
415
|
return self._StartTime
|
@@ -430,7 +421,6 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
430
421
|
@property
|
431
422
|
def EndTime(self):
|
432
423
|
"""该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。
|
433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
434
424
|
:rtype: float
|
435
425
|
"""
|
436
426
|
return self._EndTime
|
@@ -442,7 +432,6 @@ class AudioResultDetailLanguageResult(AbstractModel):
|
|
442
432
|
@property
|
443
433
|
def SubLabelCode(self):
|
444
434
|
"""*内测中,敬请期待*
|
445
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
446
435
|
:rtype: str
|
447
436
|
"""
|
448
437
|
return self._SubLabelCode
|
@@ -855,20 +844,17 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
855
844
|
|
856
845
|
|
857
846
|
class AudioSegments(AbstractModel):
|
858
|
-
"""
|
847
|
+
"""表示该段声音的信息
|
859
848
|
|
860
849
|
"""
|
861
850
|
|
862
851
|
def __init__(self):
|
863
852
|
r"""
|
864
853
|
:param _OffsetTime: 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
|
865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
866
854
|
:type OffsetTime: str
|
867
855
|
:param _Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
|
868
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
869
856
|
:type Result: :class:`tencentcloud.ams.v20201229.models.AudioResult`
|
870
857
|
:param _CreatedAt: 入库时间
|
871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
872
858
|
:type CreatedAt: str
|
873
859
|
"""
|
874
860
|
self._OffsetTime = None
|
@@ -878,7 +864,6 @@ class AudioSegments(AbstractModel):
|
|
878
864
|
@property
|
879
865
|
def OffsetTime(self):
|
880
866
|
"""该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
|
881
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
882
867
|
:rtype: str
|
883
868
|
"""
|
884
869
|
return self._OffsetTime
|
@@ -890,7 +875,6 @@ class AudioSegments(AbstractModel):
|
|
890
875
|
@property
|
891
876
|
def Result(self):
|
892
877
|
"""该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
|
893
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
894
878
|
:rtype: :class:`tencentcloud.ams.v20201229.models.AudioResult`
|
895
879
|
"""
|
896
880
|
return self._Result
|
@@ -902,7 +886,6 @@ class AudioSegments(AbstractModel):
|
|
902
886
|
@property
|
903
887
|
def CreatedAt(self):
|
904
888
|
"""入库时间
|
905
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
906
889
|
:rtype: str
|
907
890
|
"""
|
908
891
|
return self._CreatedAt
|
@@ -937,13 +920,10 @@ class BucketInfo(AbstractModel):
|
|
937
920
|
def __init__(self):
|
938
921
|
r"""
|
939
922
|
:param _Bucket: 该字段用于标识腾讯云对象存储的存储桶名称,关于文件桶的详细信息敬请参考 [腾讯云存储相关说明](https://cloud.tencent.com/document/product/436/44352)。
|
940
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
941
923
|
:type Bucket: str
|
942
924
|
:param _Region: 该字段用于标识腾讯云对象存储的托管机房的分布地区,对象存储 COS 的数据存放在这些地域的存储桶中。
|
943
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
944
925
|
:type Region: str
|
945
926
|
:param _Object: 该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
|
946
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
947
927
|
:type Object: str
|
948
928
|
"""
|
949
929
|
self._Bucket = None
|
@@ -953,7 +933,6 @@ class BucketInfo(AbstractModel):
|
|
953
933
|
@property
|
954
934
|
def Bucket(self):
|
955
935
|
"""该字段用于标识腾讯云对象存储的存储桶名称,关于文件桶的详细信息敬请参考 [腾讯云存储相关说明](https://cloud.tencent.com/document/product/436/44352)。
|
956
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
957
936
|
:rtype: str
|
958
937
|
"""
|
959
938
|
return self._Bucket
|
@@ -965,7 +944,6 @@ class BucketInfo(AbstractModel):
|
|
965
944
|
@property
|
966
945
|
def Region(self):
|
967
946
|
"""该字段用于标识腾讯云对象存储的托管机房的分布地区,对象存储 COS 的数据存放在这些地域的存储桶中。
|
968
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
969
947
|
:rtype: str
|
970
948
|
"""
|
971
949
|
return self._Region
|
@@ -977,7 +955,6 @@ class BucketInfo(AbstractModel):
|
|
977
955
|
@property
|
978
956
|
def Object(self):
|
979
957
|
"""该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
|
980
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
981
958
|
:rtype: str
|
982
959
|
"""
|
983
960
|
return self._Object
|
@@ -1620,7 +1597,6 @@ class CreateAudioModerationTaskResponse(AbstractModel):
|
|
1620
1597
|
def __init__(self):
|
1621
1598
|
r"""
|
1622
1599
|
:param _Results: 该字段用于返回任务创建的结果,具体输出内容请参见TaskResult数据结构的详细描述。
|
1623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1624
1600
|
:type Results: list of TaskResult
|
1625
1601
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1626
1602
|
:type RequestId: str
|
@@ -1631,7 +1607,6 @@ class CreateAudioModerationTaskResponse(AbstractModel):
|
|
1631
1607
|
@property
|
1632
1608
|
def Results(self):
|
1633
1609
|
"""该字段用于返回任务创建的结果,具体输出内容请参见TaskResult数据结构的详细描述。
|
1634
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1635
1610
|
:rtype: list of TaskResult
|
1636
1611
|
"""
|
1637
1612
|
return self._Results
|
@@ -1723,56 +1698,39 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1723
1698
|
def __init__(self):
|
1724
1699
|
r"""
|
1725
1700
|
:param _TaskId: 该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
|
1726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1727
1701
|
:type TaskId: str
|
1728
1702
|
:param _DataId: 该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
|
1729
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1730
1703
|
:type DataId: str
|
1731
1704
|
:param _BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
1732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1733
1705
|
:type BizType: str
|
1734
1706
|
:param _Name: 该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
|
1735
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1736
1707
|
:type Name: str
|
1737
1708
|
:param _Status: 该字段用于返回所查询内容的任务状态。
|
1738
1709
|
<br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
1739
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1740
1710
|
:type Status: str
|
1741
1711
|
:param _Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
1742
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1743
1712
|
:type Type: str
|
1744
1713
|
:param _Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1745
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1746
1714
|
:type Suggestion: str
|
1747
1715
|
:param _Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
1748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1749
1716
|
:type Labels: list of TaskLabel
|
1750
1717
|
:param _InputInfo: 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
|
1751
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1752
1718
|
:type InputInfo: :class:`tencentcloud.ams.v20201229.models.InputInfo`
|
1753
1719
|
:param _AudioText: 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
|
1754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1755
1720
|
:type AudioText: str
|
1756
1721
|
:param _AudioSegments: 该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
|
1757
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1758
1722
|
:type AudioSegments: list of AudioSegments
|
1759
1723
|
:param _ErrorType: 当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
|
1760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1761
1724
|
:type ErrorType: str
|
1762
1725
|
:param _ErrorDescription: 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
|
1763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1764
1726
|
:type ErrorDescription: str
|
1765
1727
|
:param _CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
1766
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1767
1728
|
:type CreatedAt: str
|
1768
1729
|
:param _UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
1769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1770
1730
|
:type UpdatedAt: str
|
1771
1731
|
:param _Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
1772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1773
1732
|
:type Label: str
|
1774
1733
|
:param _MediaInfo: 媒体信息
|
1775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1776
1734
|
:type MediaInfo: :class:`tencentcloud.ams.v20201229.models.MediaInfo`
|
1777
1735
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1778
1736
|
:type RequestId: str
|
@@ -1799,7 +1757,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1799
1757
|
@property
|
1800
1758
|
def TaskId(self):
|
1801
1759
|
"""该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
|
1802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1803
1760
|
:rtype: str
|
1804
1761
|
"""
|
1805
1762
|
return self._TaskId
|
@@ -1811,7 +1768,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1811
1768
|
@property
|
1812
1769
|
def DataId(self):
|
1813
1770
|
"""该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
|
1814
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1815
1771
|
:rtype: str
|
1816
1772
|
"""
|
1817
1773
|
return self._DataId
|
@@ -1823,7 +1779,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1823
1779
|
@property
|
1824
1780
|
def BizType(self):
|
1825
1781
|
"""该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
1826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1827
1782
|
:rtype: str
|
1828
1783
|
"""
|
1829
1784
|
return self._BizType
|
@@ -1835,7 +1790,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1835
1790
|
@property
|
1836
1791
|
def Name(self):
|
1837
1792
|
"""该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
|
1838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1839
1793
|
:rtype: str
|
1840
1794
|
"""
|
1841
1795
|
return self._Name
|
@@ -1848,7 +1802,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1848
1802
|
def Status(self):
|
1849
1803
|
"""该字段用于返回所查询内容的任务状态。
|
1850
1804
|
<br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
1851
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1852
1805
|
:rtype: str
|
1853
1806
|
"""
|
1854
1807
|
return self._Status
|
@@ -1860,7 +1813,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1860
1813
|
@property
|
1861
1814
|
def Type(self):
|
1862
1815
|
"""该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
1863
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1864
1816
|
:rtype: str
|
1865
1817
|
"""
|
1866
1818
|
return self._Type
|
@@ -1872,7 +1824,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1872
1824
|
@property
|
1873
1825
|
def Suggestion(self):
|
1874
1826
|
"""该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1875
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1876
1827
|
:rtype: str
|
1877
1828
|
"""
|
1878
1829
|
return self._Suggestion
|
@@ -1884,7 +1835,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1884
1835
|
@property
|
1885
1836
|
def Labels(self):
|
1886
1837
|
"""该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
1887
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1888
1838
|
:rtype: list of TaskLabel
|
1889
1839
|
"""
|
1890
1840
|
return self._Labels
|
@@ -1896,7 +1846,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1896
1846
|
@property
|
1897
1847
|
def InputInfo(self):
|
1898
1848
|
"""该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
|
1899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1900
1849
|
:rtype: :class:`tencentcloud.ams.v20201229.models.InputInfo`
|
1901
1850
|
"""
|
1902
1851
|
return self._InputInfo
|
@@ -1908,7 +1857,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1908
1857
|
@property
|
1909
1858
|
def AudioText(self):
|
1910
1859
|
"""该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
|
1911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1912
1860
|
:rtype: str
|
1913
1861
|
"""
|
1914
1862
|
return self._AudioText
|
@@ -1920,7 +1868,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1920
1868
|
@property
|
1921
1869
|
def AudioSegments(self):
|
1922
1870
|
"""该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
|
1923
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1924
1871
|
:rtype: list of AudioSegments
|
1925
1872
|
"""
|
1926
1873
|
return self._AudioSegments
|
@@ -1932,7 +1879,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1932
1879
|
@property
|
1933
1880
|
def ErrorType(self):
|
1934
1881
|
"""当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
|
1935
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1936
1882
|
:rtype: str
|
1937
1883
|
"""
|
1938
1884
|
return self._ErrorType
|
@@ -1944,7 +1890,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1944
1890
|
@property
|
1945
1891
|
def ErrorDescription(self):
|
1946
1892
|
"""当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
|
1947
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1948
1893
|
:rtype: str
|
1949
1894
|
"""
|
1950
1895
|
return self._ErrorDescription
|
@@ -1956,7 +1901,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1956
1901
|
@property
|
1957
1902
|
def CreatedAt(self):
|
1958
1903
|
"""该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
1959
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1960
1904
|
:rtype: str
|
1961
1905
|
"""
|
1962
1906
|
return self._CreatedAt
|
@@ -1968,7 +1912,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1968
1912
|
@property
|
1969
1913
|
def UpdatedAt(self):
|
1970
1914
|
"""该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
1971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1972
1915
|
:rtype: str
|
1973
1916
|
"""
|
1974
1917
|
return self._UpdatedAt
|
@@ -1980,7 +1923,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1980
1923
|
@property
|
1981
1924
|
def Label(self):
|
1982
1925
|
"""该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
1983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1984
1926
|
:rtype: str
|
1985
1927
|
"""
|
1986
1928
|
return self._Label
|
@@ -1992,7 +1934,6 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1992
1934
|
@property
|
1993
1935
|
def MediaInfo(self):
|
1994
1936
|
"""媒体信息
|
1995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1996
1937
|
:rtype: :class:`tencentcloud.ams.v20201229.models.MediaInfo`
|
1997
1938
|
"""
|
1998
1939
|
return self._MediaInfo
|
@@ -2154,13 +2095,10 @@ class DescribeTasksResponse(AbstractModel):
|
|
2154
2095
|
def __init__(self):
|
2155
2096
|
r"""
|
2156
2097
|
:param _Total: 该字段用于返回当前查询的任务总量,格式为int字符串。
|
2157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2158
2098
|
:type Total: str
|
2159
2099
|
:param _Data: 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
|
2160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2161
2100
|
:type Data: list of TaskData
|
2162
2101
|
:param _PageToken: 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
|
2163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2164
2102
|
:type PageToken: str
|
2165
2103
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2166
2104
|
:type RequestId: str
|
@@ -2173,7 +2111,6 @@ class DescribeTasksResponse(AbstractModel):
|
|
2173
2111
|
@property
|
2174
2112
|
def Total(self):
|
2175
2113
|
"""该字段用于返回当前查询的任务总量,格式为int字符串。
|
2176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2177
2114
|
:rtype: str
|
2178
2115
|
"""
|
2179
2116
|
return self._Total
|
@@ -2185,7 +2122,6 @@ class DescribeTasksResponse(AbstractModel):
|
|
2185
2122
|
@property
|
2186
2123
|
def Data(self):
|
2187
2124
|
"""该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
|
2188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2189
2125
|
:rtype: list of TaskData
|
2190
2126
|
"""
|
2191
2127
|
return self._Data
|
@@ -2197,7 +2133,6 @@ class DescribeTasksResponse(AbstractModel):
|
|
2197
2133
|
@property
|
2198
2134
|
def PageToken(self):
|
2199
2135
|
"""该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
|
2200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2201
2136
|
:rtype: str
|
2202
2137
|
"""
|
2203
2138
|
return self._PageToken
|
@@ -2324,10 +2259,8 @@ class InputInfo(AbstractModel):
|
|
2324
2259
|
def __init__(self):
|
2325
2260
|
r"""
|
2326
2261
|
:param _Type: 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储)。
|
2327
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2328
2262
|
:type Type: str
|
2329
2263
|
:param _Url: 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空。
|
2330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2331
2264
|
:type Url: str
|
2332
2265
|
:param _BucketInfo: 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空。
|
2333
2266
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2340,7 +2273,6 @@ class InputInfo(AbstractModel):
|
|
2340
2273
|
@property
|
2341
2274
|
def Type(self):
|
2342
2275
|
"""该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储)。
|
2343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2344
2276
|
:rtype: str
|
2345
2277
|
"""
|
2346
2278
|
return self._Type
|
@@ -2352,7 +2284,6 @@ class InputInfo(AbstractModel):
|
|
2352
2284
|
@property
|
2353
2285
|
def Url(self):
|
2354
2286
|
"""该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空。
|
2355
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2356
2287
|
:rtype: str
|
2357
2288
|
"""
|
2358
2289
|
return self._Url
|
@@ -2398,25 +2329,18 @@ class LabelResults(AbstractModel):
|
|
2398
2329
|
def __init__(self):
|
2399
2330
|
r"""
|
2400
2331
|
:param _Scene: 场景
|
2401
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2402
2332
|
:type Scene: str
|
2403
2333
|
:param _Suggestion: 建议
|
2404
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2405
2334
|
:type Suggestion: int
|
2406
2335
|
:param _Label: 标签
|
2407
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2408
2336
|
:type Label: str
|
2409
2337
|
:param _Name: 名称:歌曲名,语种名,说话人名 等
|
2410
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2411
2338
|
:type Name: str
|
2412
2339
|
:param _Score: 得分
|
2413
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2414
2340
|
:type Score: int
|
2415
2341
|
:param _StartTime: 开始时间
|
2416
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2417
2342
|
:type StartTime: float
|
2418
2343
|
:param _EndTime: 结束时间
|
2419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2420
2344
|
:type EndTime: float
|
2421
2345
|
"""
|
2422
2346
|
self._Scene = None
|
@@ -2430,7 +2354,6 @@ class LabelResults(AbstractModel):
|
|
2430
2354
|
@property
|
2431
2355
|
def Scene(self):
|
2432
2356
|
"""场景
|
2433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2434
2357
|
:rtype: str
|
2435
2358
|
"""
|
2436
2359
|
return self._Scene
|
@@ -2442,7 +2365,6 @@ class LabelResults(AbstractModel):
|
|
2442
2365
|
@property
|
2443
2366
|
def Suggestion(self):
|
2444
2367
|
"""建议
|
2445
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2446
2368
|
:rtype: int
|
2447
2369
|
"""
|
2448
2370
|
return self._Suggestion
|
@@ -2454,7 +2376,6 @@ class LabelResults(AbstractModel):
|
|
2454
2376
|
@property
|
2455
2377
|
def Label(self):
|
2456
2378
|
"""标签
|
2457
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2458
2379
|
:rtype: str
|
2459
2380
|
"""
|
2460
2381
|
return self._Label
|
@@ -2466,7 +2387,6 @@ class LabelResults(AbstractModel):
|
|
2466
2387
|
@property
|
2467
2388
|
def Name(self):
|
2468
2389
|
"""名称:歌曲名,语种名,说话人名 等
|
2469
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2470
2390
|
:rtype: str
|
2471
2391
|
"""
|
2472
2392
|
return self._Name
|
@@ -2478,7 +2398,6 @@ class LabelResults(AbstractModel):
|
|
2478
2398
|
@property
|
2479
2399
|
def Score(self):
|
2480
2400
|
"""得分
|
2481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2482
2401
|
:rtype: int
|
2483
2402
|
"""
|
2484
2403
|
return self._Score
|
@@ -2490,7 +2409,6 @@ class LabelResults(AbstractModel):
|
|
2490
2409
|
@property
|
2491
2410
|
def StartTime(self):
|
2492
2411
|
"""开始时间
|
2493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2494
2412
|
:rtype: float
|
2495
2413
|
"""
|
2496
2414
|
return self._StartTime
|
@@ -2502,7 +2420,6 @@ class LabelResults(AbstractModel):
|
|
2502
2420
|
@property
|
2503
2421
|
def EndTime(self):
|
2504
2422
|
"""结束时间
|
2505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2506
2423
|
:rtype: float
|
2507
2424
|
"""
|
2508
2425
|
return self._EndTime
|
@@ -2634,7 +2551,6 @@ class MoanResult(AbstractModel):
|
|
2634
2551
|
def __init__(self):
|
2635
2552
|
r"""
|
2636
2553
|
:param _Label: 固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表该音频中无呻吟/娇喘相关违规内容;
|
2637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2638
2554
|
:type Label: str
|
2639
2555
|
:param _Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
|
2640
2556
|
(如:Moan 99,则该样本属于呻吟/娇喘的置信度非常高。)
|
@@ -2647,8 +2563,6 @@ class MoanResult(AbstractModel):
|
|
2647
2563
|
:param _EndTime: 违规事件结束时间,单位为秒(s);
|
2648
2564
|
:type EndTime: float
|
2649
2565
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
2650
|
-
注意:此字段可能返回null,表示取不到有效值。
|
2651
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2652
2566
|
:type SubLabel: str
|
2653
2567
|
"""
|
2654
2568
|
self._Label = None
|
@@ -2661,7 +2575,6 @@ class MoanResult(AbstractModel):
|
|
2661
2575
|
@property
|
2662
2576
|
def Label(self):
|
2663
2577
|
"""固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表该音频中无呻吟/娇喘相关违规内容;
|
2664
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2665
2578
|
:rtype: str
|
2666
2579
|
"""
|
2667
2580
|
return self._Label
|
@@ -2719,8 +2632,6 @@ class MoanResult(AbstractModel):
|
|
2719
2632
|
@property
|
2720
2633
|
def SubLabel(self):
|
2721
2634
|
"""该字段用于返回当前标签(Lable)下的二级标签。
|
2722
|
-
注意:此字段可能返回null,表示取不到有效值。
|
2723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2724
2635
|
:rtype: str
|
2725
2636
|
"""
|
2726
2637
|
return self._SubLabel
|
@@ -2806,10 +2717,8 @@ class RecognitionResult(AbstractModel):
|
|
2806
2717
|
def __init__(self):
|
2807
2718
|
r"""
|
2808
2719
|
:param _Label: 可能的取值有:Teenager 、Gender
|
2809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2810
2720
|
:type Label: str
|
2811
2721
|
:param _Tags: 识别标签列表
|
2812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2813
2722
|
:type Tags: list of Tag
|
2814
2723
|
"""
|
2815
2724
|
self._Label = None
|
@@ -2818,7 +2727,6 @@ class RecognitionResult(AbstractModel):
|
|
2818
2727
|
@property
|
2819
2728
|
def Label(self):
|
2820
2729
|
"""可能的取值有:Teenager 、Gender
|
2821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2822
2730
|
:rtype: str
|
2823
2731
|
"""
|
2824
2732
|
return self._Label
|
@@ -2830,7 +2738,6 @@ class RecognitionResult(AbstractModel):
|
|
2830
2738
|
@property
|
2831
2739
|
def Tags(self):
|
2832
2740
|
"""识别标签列表
|
2833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2834
2741
|
:rtype: list of Tag
|
2835
2742
|
"""
|
2836
2743
|
return self._Tags
|
@@ -2866,16 +2773,12 @@ class SpeakerResults(AbstractModel):
|
|
2866
2773
|
def __init__(self):
|
2867
2774
|
r"""
|
2868
2775
|
:param _Label: 标签
|
2869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2870
2776
|
:type Label: str
|
2871
2777
|
:param _Score: 得分
|
2872
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2873
2778
|
:type Score: int
|
2874
2779
|
:param _StartTime: 开始时间
|
2875
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2876
2780
|
:type StartTime: float
|
2877
2781
|
:param _EndTime: 结束时间
|
2878
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2879
2782
|
:type EndTime: str
|
2880
2783
|
"""
|
2881
2784
|
self._Label = None
|
@@ -2886,7 +2789,6 @@ class SpeakerResults(AbstractModel):
|
|
2886
2789
|
@property
|
2887
2790
|
def Label(self):
|
2888
2791
|
"""标签
|
2889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2890
2792
|
:rtype: str
|
2891
2793
|
"""
|
2892
2794
|
return self._Label
|
@@ -2898,7 +2800,6 @@ class SpeakerResults(AbstractModel):
|
|
2898
2800
|
@property
|
2899
2801
|
def Score(self):
|
2900
2802
|
"""得分
|
2901
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2902
2803
|
:rtype: int
|
2903
2804
|
"""
|
2904
2805
|
return self._Score
|
@@ -2910,7 +2811,6 @@ class SpeakerResults(AbstractModel):
|
|
2910
2811
|
@property
|
2911
2812
|
def StartTime(self):
|
2912
2813
|
"""开始时间
|
2913
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2914
2814
|
:rtype: float
|
2915
2815
|
"""
|
2916
2816
|
return self._StartTime
|
@@ -2922,7 +2822,6 @@ class SpeakerResults(AbstractModel):
|
|
2922
2822
|
@property
|
2923
2823
|
def EndTime(self):
|
2924
2824
|
"""结束时间
|
2925
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2926
2825
|
:rtype: str
|
2927
2826
|
"""
|
2928
2827
|
return self._EndTime
|
@@ -3025,16 +2924,12 @@ class Tag(AbstractModel):
|
|
3025
2924
|
:param _Name: 根据Label字段确定具体名称:
|
3026
2925
|
当Label 为Teenager 时 Name可能取值有:Teenager
|
3027
2926
|
当Label 为Gender 时 Name可能取值有:Male 、Female
|
3028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3029
2927
|
:type Name: str
|
3030
2928
|
:param _Score: 置信分:0~100,数值越大表示置信度越高
|
3031
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3032
2929
|
:type Score: int
|
3033
2930
|
:param _StartTime: 识别开始偏移时间,单位:毫秒
|
3034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3035
2931
|
:type StartTime: float
|
3036
2932
|
:param _EndTime: 识别结束偏移时间,单位:毫秒
|
3037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3038
2933
|
:type EndTime: float
|
3039
2934
|
"""
|
3040
2935
|
self._Name = None
|
@@ -3047,7 +2942,6 @@ class Tag(AbstractModel):
|
|
3047
2942
|
"""根据Label字段确定具体名称:
|
3048
2943
|
当Label 为Teenager 时 Name可能取值有:Teenager
|
3049
2944
|
当Label 为Gender 时 Name可能取值有:Male 、Female
|
3050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3051
2945
|
:rtype: str
|
3052
2946
|
"""
|
3053
2947
|
return self._Name
|
@@ -3059,7 +2953,6 @@ class Tag(AbstractModel):
|
|
3059
2953
|
@property
|
3060
2954
|
def Score(self):
|
3061
2955
|
"""置信分:0~100,数值越大表示置信度越高
|
3062
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3063
2956
|
:rtype: int
|
3064
2957
|
"""
|
3065
2958
|
return self._Score
|
@@ -3071,7 +2964,6 @@ class Tag(AbstractModel):
|
|
3071
2964
|
@property
|
3072
2965
|
def StartTime(self):
|
3073
2966
|
"""识别开始偏移时间,单位:毫秒
|
3074
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3075
2967
|
:rtype: float
|
3076
2968
|
"""
|
3077
2969
|
return self._StartTime
|
@@ -3083,7 +2975,6 @@ class Tag(AbstractModel):
|
|
3083
2975
|
@property
|
3084
2976
|
def EndTime(self):
|
3085
2977
|
"""识别结束偏移时间,单位:毫秒
|
3086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3087
2978
|
:rtype: float
|
3088
2979
|
"""
|
3089
2980
|
return self._EndTime
|
@@ -3116,7 +3007,6 @@ class TaskData(AbstractModel):
|
|
3116
3007
|
def __init__(self):
|
3117
3008
|
r"""
|
3118
3009
|
:param _DataId: 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
|
3119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3120
3010
|
:type DataId: str
|
3121
3011
|
:param _TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
|
3122
3012
|
:type TaskId: str
|
@@ -3124,30 +3014,22 @@ class TaskData(AbstractModel):
|
|
3124
3014
|
<br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
|
3125
3015
|
:type Status: str
|
3126
3016
|
:param _Name: 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
|
3127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3128
3017
|
:type Name: str
|
3129
3018
|
:param _BizType: 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
3130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3131
3019
|
:type BizType: str
|
3132
3020
|
:param _Type: 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
3133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3134
3021
|
:type Type: str
|
3135
3022
|
:param _Suggestion: 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
3136
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3137
3023
|
:type Suggestion: str
|
3138
3024
|
:param _MediaInfo: 输入信息
|
3139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3140
3025
|
:type MediaInfo: :class:`tencentcloud.ams.v20201229.models.MediaInfo`
|
3141
3026
|
:param _Labels: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
3142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3143
3027
|
:type Labels: list of TaskLabel
|
3144
3028
|
:param _CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
3145
3029
|
:type CreatedAt: str
|
3146
3030
|
:param _UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
3147
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3148
3031
|
:type UpdatedAt: str
|
3149
3032
|
:param _InputInfo: 任务信息
|
3150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3151
3033
|
:type InputInfo: :class:`tencentcloud.ams.v20201229.models.InputInfo`
|
3152
3034
|
"""
|
3153
3035
|
self._DataId = None
|
@@ -3166,7 +3048,6 @@ class TaskData(AbstractModel):
|
|
3166
3048
|
@property
|
3167
3049
|
def DataId(self):
|
3168
3050
|
"""该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
|
3169
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3170
3051
|
:rtype: str
|
3171
3052
|
"""
|
3172
3053
|
return self._DataId
|
@@ -3201,7 +3082,6 @@ class TaskData(AbstractModel):
|
|
3201
3082
|
@property
|
3202
3083
|
def Name(self):
|
3203
3084
|
"""该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
|
3204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3205
3085
|
:rtype: str
|
3206
3086
|
"""
|
3207
3087
|
return self._Name
|
@@ -3213,7 +3093,6 @@ class TaskData(AbstractModel):
|
|
3213
3093
|
@property
|
3214
3094
|
def BizType(self):
|
3215
3095
|
"""该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
|
3216
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3217
3096
|
:rtype: str
|
3218
3097
|
"""
|
3219
3098
|
return self._BizType
|
@@ -3225,7 +3104,6 @@ class TaskData(AbstractModel):
|
|
3225
3104
|
@property
|
3226
3105
|
def Type(self):
|
3227
3106
|
"""该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
|
3228
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3229
3107
|
:rtype: str
|
3230
3108
|
"""
|
3231
3109
|
return self._Type
|
@@ -3237,7 +3115,6 @@ class TaskData(AbstractModel):
|
|
3237
3115
|
@property
|
3238
3116
|
def Suggestion(self):
|
3239
3117
|
"""该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
3240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3241
3118
|
:rtype: str
|
3242
3119
|
"""
|
3243
3120
|
return self._Suggestion
|
@@ -3249,7 +3126,6 @@ class TaskData(AbstractModel):
|
|
3249
3126
|
@property
|
3250
3127
|
def MediaInfo(self):
|
3251
3128
|
"""输入信息
|
3252
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3253
3129
|
:rtype: :class:`tencentcloud.ams.v20201229.models.MediaInfo`
|
3254
3130
|
"""
|
3255
3131
|
return self._MediaInfo
|
@@ -3261,7 +3137,6 @@ class TaskData(AbstractModel):
|
|
3261
3137
|
@property
|
3262
3138
|
def Labels(self):
|
3263
3139
|
"""该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
3264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3265
3140
|
:rtype: list of TaskLabel
|
3266
3141
|
"""
|
3267
3142
|
return self._Labels
|
@@ -3284,7 +3159,6 @@ class TaskData(AbstractModel):
|
|
3284
3159
|
@property
|
3285
3160
|
def UpdatedAt(self):
|
3286
3161
|
"""该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
3287
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3288
3162
|
:rtype: str
|
3289
3163
|
"""
|
3290
3164
|
return self._UpdatedAt
|
@@ -3296,7 +3170,6 @@ class TaskData(AbstractModel):
|
|
3296
3170
|
@property
|
3297
3171
|
def InputInfo(self):
|
3298
3172
|
"""任务信息
|
3299
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3300
3173
|
:rtype: :class:`tencentcloud.ams.v20201229.models.InputInfo`
|
3301
3174
|
"""
|
3302
3175
|
return self._InputInfo
|
@@ -3495,16 +3368,12 @@ class TaskLabel(AbstractModel):
|
|
3495
3368
|
def __init__(self):
|
3496
3369
|
r"""
|
3497
3370
|
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
3498
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3499
3371
|
:type Label: str
|
3500
3372
|
:param _Suggestion: 该字段用于返回当前标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
3501
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3502
3373
|
:type Suggestion: str
|
3503
3374
|
:param _Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
|
3504
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3505
3375
|
:type Score: int
|
3506
3376
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
3507
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3508
3377
|
:type SubLabel: str
|
3509
3378
|
"""
|
3510
3379
|
self._Label = None
|
@@ -3515,7 +3384,6 @@ class TaskLabel(AbstractModel):
|
|
3515
3384
|
@property
|
3516
3385
|
def Label(self):
|
3517
3386
|
"""该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
3518
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3519
3387
|
:rtype: str
|
3520
3388
|
"""
|
3521
3389
|
return self._Label
|
@@ -3527,7 +3395,6 @@ class TaskLabel(AbstractModel):
|
|
3527
3395
|
@property
|
3528
3396
|
def Suggestion(self):
|
3529
3397
|
"""该字段用于返回当前标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
3530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3531
3398
|
:rtype: str
|
3532
3399
|
"""
|
3533
3400
|
return self._Suggestion
|
@@ -3539,7 +3406,6 @@ class TaskLabel(AbstractModel):
|
|
3539
3406
|
@property
|
3540
3407
|
def Score(self):
|
3541
3408
|
"""该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
|
3542
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3543
3409
|
:rtype: int
|
3544
3410
|
"""
|
3545
3411
|
return self._Score
|
@@ -3551,7 +3417,6 @@ class TaskLabel(AbstractModel):
|
|
3551
3417
|
@property
|
3552
3418
|
def SubLabel(self):
|
3553
3419
|
"""该字段用于返回当前标签(Lable)下的二级标签。
|
3554
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3555
3420
|
:rtype: str
|
3556
3421
|
"""
|
3557
3422
|
return self._SubLabel
|
@@ -3584,16 +3449,12 @@ class TaskResult(AbstractModel):
|
|
3584
3449
|
def __init__(self):
|
3585
3450
|
r"""
|
3586
3451
|
:param _DataId: 该字段用于返回创建音频审核任务时在TaskInput结构内传入的DataId,用于标识具体审核任务。
|
3587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3588
3452
|
:type DataId: str
|
3589
3453
|
:param _TaskId: 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
|
3590
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3591
3454
|
:type TaskId: str
|
3592
3455
|
:param _Code: 该字段用于返回任务创建的状态,如返回OK则代表任务创建成功,其他返回值可参考公共错误码。
|
3593
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3594
3456
|
:type Code: str
|
3595
3457
|
:param _Message: **仅在Code的返回值为错误码时生效**,用于返回错误的详情内容。
|
3596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3597
3458
|
:type Message: str
|
3598
3459
|
"""
|
3599
3460
|
self._DataId = None
|
@@ -3604,7 +3465,6 @@ class TaskResult(AbstractModel):
|
|
3604
3465
|
@property
|
3605
3466
|
def DataId(self):
|
3606
3467
|
"""该字段用于返回创建音频审核任务时在TaskInput结构内传入的DataId,用于标识具体审核任务。
|
3607
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3608
3468
|
:rtype: str
|
3609
3469
|
"""
|
3610
3470
|
return self._DataId
|
@@ -3616,7 +3476,6 @@ class TaskResult(AbstractModel):
|
|
3616
3476
|
@property
|
3617
3477
|
def TaskId(self):
|
3618
3478
|
"""该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
|
3619
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3620
3479
|
:rtype: str
|
3621
3480
|
"""
|
3622
3481
|
return self._TaskId
|
@@ -3628,7 +3487,6 @@ class TaskResult(AbstractModel):
|
|
3628
3487
|
@property
|
3629
3488
|
def Code(self):
|
3630
3489
|
"""该字段用于返回任务创建的状态,如返回OK则代表任务创建成功,其他返回值可参考公共错误码。
|
3631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3632
3490
|
:rtype: str
|
3633
3491
|
"""
|
3634
3492
|
return self._Code
|
@@ -3640,7 +3498,6 @@ class TaskResult(AbstractModel):
|
|
3640
3498
|
@property
|
3641
3499
|
def Message(self):
|
3642
3500
|
"""**仅在Code的返回值为错误码时生效**,用于返回错误的详情内容。
|
3643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3644
3501
|
:rtype: str
|
3645
3502
|
"""
|
3646
3503
|
return self._Message
|
@@ -3676,32 +3533,24 @@ class TextResult(AbstractModel):
|
|
3676
3533
|
以及其他令人反感、不安全或不适宜的内容类型。
|
3677
3534
|
|
3678
3535
|
如音频中无复杂类型「TextResults」的返回则代表该音频中无相关违规内容;
|
3679
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3680
3536
|
:type Label: str
|
3681
3537
|
:param _Keywords: 命中的关键词,为空则代表该违规内容出自于模型的判断;
|
3682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3683
3538
|
:type Keywords: list of str
|
3684
3539
|
:param _LibId: 命中关键词库的库标识;
|
3685
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3686
3540
|
:type LibId: str
|
3687
3541
|
:param _LibName: 命中关键词库的名字;
|
3688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3689
3542
|
:type LibName: str
|
3690
3543
|
:param _Score: 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
|
3691
3544
|
(如:Porn 99,则该样本属于色情的置信度非常高。)
|
3692
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3693
3545
|
:type Score: int
|
3694
3546
|
:param _Suggestion: 建议您拿到判断结果后的执行操作。
|
3695
3547
|
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
3696
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3697
3548
|
:type Suggestion: str
|
3698
3549
|
:param _LibType: 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
3699
3550
|
1:自定义黑白库;
|
3700
3551
|
2:公库;
|
3701
3552
|
:type LibType: int
|
3702
3553
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
3703
|
-
注意:此字段可能返回null,表示取不到有效值。
|
3704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3705
3554
|
:type SubLabel: str
|
3706
3555
|
:param _HitInfos: 该字段用于返回违规文本命中信息
|
3707
3556
|
:type HitInfos: list of HitInfo
|
@@ -3722,7 +3571,6 @@ class TextResult(AbstractModel):
|
|
3722
3571
|
以及其他令人反感、不安全或不适宜的内容类型。
|
3723
3572
|
|
3724
3573
|
如音频中无复杂类型「TextResults」的返回则代表该音频中无相关违规内容;
|
3725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3726
3574
|
:rtype: str
|
3727
3575
|
"""
|
3728
3576
|
return self._Label
|
@@ -3734,7 +3582,6 @@ class TextResult(AbstractModel):
|
|
3734
3582
|
@property
|
3735
3583
|
def Keywords(self):
|
3736
3584
|
"""命中的关键词,为空则代表该违规内容出自于模型的判断;
|
3737
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3738
3585
|
:rtype: list of str
|
3739
3586
|
"""
|
3740
3587
|
return self._Keywords
|
@@ -3746,7 +3593,6 @@ class TextResult(AbstractModel):
|
|
3746
3593
|
@property
|
3747
3594
|
def LibId(self):
|
3748
3595
|
"""命中关键词库的库标识;
|
3749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3750
3596
|
:rtype: str
|
3751
3597
|
"""
|
3752
3598
|
return self._LibId
|
@@ -3758,7 +3604,6 @@ class TextResult(AbstractModel):
|
|
3758
3604
|
@property
|
3759
3605
|
def LibName(self):
|
3760
3606
|
"""命中关键词库的名字;
|
3761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3762
3607
|
:rtype: str
|
3763
3608
|
"""
|
3764
3609
|
return self._LibName
|
@@ -3771,7 +3616,6 @@ class TextResult(AbstractModel):
|
|
3771
3616
|
def Score(self):
|
3772
3617
|
"""机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
|
3773
3618
|
(如:Porn 99,则该样本属于色情的置信度非常高。)
|
3774
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3775
3619
|
:rtype: int
|
3776
3620
|
"""
|
3777
3621
|
return self._Score
|
@@ -3784,7 +3628,6 @@ class TextResult(AbstractModel):
|
|
3784
3628
|
def Suggestion(self):
|
3785
3629
|
"""建议您拿到判断结果后的执行操作。
|
3786
3630
|
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
3787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3788
3631
|
:rtype: str
|
3789
3632
|
"""
|
3790
3633
|
return self._Suggestion
|
@@ -3809,8 +3652,6 @@ class TextResult(AbstractModel):
|
|
3809
3652
|
@property
|
3810
3653
|
def SubLabel(self):
|
3811
3654
|
"""该字段用于返回当前标签(Lable)下的二级标签。
|
3812
|
-
注意:此字段可能返回null,表示取不到有效值。
|
3813
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3814
3655
|
:rtype: str
|
3815
3656
|
"""
|
3816
3657
|
return self._SubLabel
|
@@ -3864,25 +3705,18 @@ class TravelResults(AbstractModel):
|
|
3864
3705
|
def __init__(self):
|
3865
3706
|
r"""
|
3866
3707
|
:param _Label: 一级标签
|
3867
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3868
3708
|
:type Label: str
|
3869
3709
|
:param _SubLabel: 二级标签
|
3870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3871
3710
|
:type SubLabel: str
|
3872
3711
|
:param _RiskLevel: 风险等级
|
3873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3874
3712
|
:type RiskLevel: str
|
3875
3713
|
:param _AudioRole: 出行音频角色
|
3876
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3877
3714
|
:type AudioRole: str
|
3878
3715
|
:param _AudioText: 出行语音文本
|
3879
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3880
3716
|
:type AudioText: str
|
3881
3717
|
:param _StartTime: 开始时间
|
3882
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3883
3718
|
:type StartTime: float
|
3884
3719
|
:param _EndTime: 结束时间
|
3885
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3886
3720
|
:type EndTime: float
|
3887
3721
|
"""
|
3888
3722
|
self._Label = None
|
@@ -3896,7 +3730,6 @@ class TravelResults(AbstractModel):
|
|
3896
3730
|
@property
|
3897
3731
|
def Label(self):
|
3898
3732
|
"""一级标签
|
3899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3900
3733
|
:rtype: str
|
3901
3734
|
"""
|
3902
3735
|
return self._Label
|
@@ -3908,7 +3741,6 @@ class TravelResults(AbstractModel):
|
|
3908
3741
|
@property
|
3909
3742
|
def SubLabel(self):
|
3910
3743
|
"""二级标签
|
3911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3912
3744
|
:rtype: str
|
3913
3745
|
"""
|
3914
3746
|
return self._SubLabel
|
@@ -3920,7 +3752,6 @@ class TravelResults(AbstractModel):
|
|
3920
3752
|
@property
|
3921
3753
|
def RiskLevel(self):
|
3922
3754
|
"""风险等级
|
3923
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3924
3755
|
:rtype: str
|
3925
3756
|
"""
|
3926
3757
|
return self._RiskLevel
|
@@ -3932,7 +3763,6 @@ class TravelResults(AbstractModel):
|
|
3932
3763
|
@property
|
3933
3764
|
def AudioRole(self):
|
3934
3765
|
"""出行音频角色
|
3935
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3936
3766
|
:rtype: str
|
3937
3767
|
"""
|
3938
3768
|
return self._AudioRole
|
@@ -3944,7 +3774,6 @@ class TravelResults(AbstractModel):
|
|
3944
3774
|
@property
|
3945
3775
|
def AudioText(self):
|
3946
3776
|
"""出行语音文本
|
3947
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3948
3777
|
:rtype: str
|
3949
3778
|
"""
|
3950
3779
|
return self._AudioText
|
@@ -3956,7 +3785,6 @@ class TravelResults(AbstractModel):
|
|
3956
3785
|
@property
|
3957
3786
|
def StartTime(self):
|
3958
3787
|
"""开始时间
|
3959
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3960
3788
|
:rtype: float
|
3961
3789
|
"""
|
3962
3790
|
return self._StartTime
|
@@ -3968,7 +3796,6 @@ class TravelResults(AbstractModel):
|
|
3968
3796
|
@property
|
3969
3797
|
def EndTime(self):
|
3970
3798
|
"""结束时间
|
3971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3972
3799
|
:rtype: float
|
3973
3800
|
"""
|
3974
3801
|
return self._EndTime
|