alibabacloud-ice20201109 6.10.0__py3-none-any.whl → 6.10.1__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.
- alibabacloud_ice20201109/__init__.py +1 -1
- alibabacloud_ice20201109/client.py +8 -0
- alibabacloud_ice20201109/models/__init__.py +8 -0
- alibabacloud_ice20201109/models/_aiagent_config.py +119 -0
- alibabacloud_ice20201109/models/_aiagent_outbound_call_config.py +111 -0
- alibabacloud_ice20201109/models/_clear_aiagent_voiceprint_request.py +8 -0
- alibabacloud_ice20201109/models/_list_aiagent_voiceprints_request.py +8 -0
- alibabacloud_ice20201109/models/_media_quality_analysis_job_vqa_result.py +8 -0
- {alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/METADATA +2 -2
- {alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/RECORD +13 -13
- {alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/LICENSE +0 -0
- {alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/WHEEL +0 -0
- {alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.10.
|
|
1
|
+
__version__ = '6.10.1'
|
|
@@ -1535,6 +1535,8 @@ class Client(OpenApiClient):
|
|
|
1535
1535
|
) -> main_models.ClearAIAgentVoiceprintResponse:
|
|
1536
1536
|
request.validate()
|
|
1537
1537
|
query = {}
|
|
1538
|
+
if not DaraCore.is_null(request.registration_mode):
|
|
1539
|
+
query['RegistrationMode'] = request.registration_mode
|
|
1538
1540
|
if not DaraCore.is_null(request.voiceprint_id):
|
|
1539
1541
|
query['VoiceprintId'] = request.voiceprint_id
|
|
1540
1542
|
req = open_api_util_models.OpenApiRequest(
|
|
@@ -1563,6 +1565,8 @@ class Client(OpenApiClient):
|
|
|
1563
1565
|
) -> main_models.ClearAIAgentVoiceprintResponse:
|
|
1564
1566
|
request.validate()
|
|
1565
1567
|
query = {}
|
|
1568
|
+
if not DaraCore.is_null(request.registration_mode):
|
|
1569
|
+
query['RegistrationMode'] = request.registration_mode
|
|
1566
1570
|
if not DaraCore.is_null(request.voiceprint_id):
|
|
1567
1571
|
query['VoiceprintId'] = request.voiceprint_id
|
|
1568
1572
|
req = open_api_util_models.OpenApiRequest(
|
|
@@ -14749,6 +14753,8 @@ class Client(OpenApiClient):
|
|
|
14749
14753
|
query['PageNumber'] = request.page_number
|
|
14750
14754
|
if not DaraCore.is_null(request.page_size):
|
|
14751
14755
|
query['PageSize'] = request.page_size
|
|
14756
|
+
if not DaraCore.is_null(request.registration_mode):
|
|
14757
|
+
query['RegistrationMode'] = request.registration_mode
|
|
14752
14758
|
if not DaraCore.is_null(request.voiceprint_id):
|
|
14753
14759
|
query['VoiceprintId'] = request.voiceprint_id
|
|
14754
14760
|
req = open_api_util_models.OpenApiRequest(
|
|
@@ -14781,6 +14787,8 @@ class Client(OpenApiClient):
|
|
|
14781
14787
|
query['PageNumber'] = request.page_number
|
|
14782
14788
|
if not DaraCore.is_null(request.page_size):
|
|
14783
14789
|
query['PageSize'] = request.page_size
|
|
14790
|
+
if not DaraCore.is_null(request.registration_mode):
|
|
14791
|
+
query['RegistrationMode'] = request.registration_mode
|
|
14784
14792
|
if not DaraCore.is_null(request.voiceprint_id):
|
|
14785
14793
|
query['VoiceprintId'] = request.voiceprint_id
|
|
14786
14794
|
req = open_api_util_models.OpenApiRequest(
|
|
@@ -1233,6 +1233,8 @@ from ._aiagent_config import AIAgentConfigAutoSpeechConfig
|
|
|
1233
1233
|
from ._aiagent_config import AIAgentConfigAvatarConfig
|
|
1234
1234
|
from ._aiagent_config import AIAgentConfigBackChannelingConfigWords
|
|
1235
1235
|
from ._aiagent_config import AIAgentConfigBackChannelingConfig
|
|
1236
|
+
from ._aiagent_config import AIAgentConfigBackChannelingConfigsWords
|
|
1237
|
+
from ._aiagent_config import AIAgentConfigBackChannelingConfigs
|
|
1236
1238
|
from ._aiagent_config import AIAgentConfigInterruptConfig
|
|
1237
1239
|
from ._aiagent_config import AIAgentConfigLlmConfigFunctionMap
|
|
1238
1240
|
from ._aiagent_config import AIAgentConfigLlmConfigLlmHistory
|
|
@@ -1257,6 +1259,8 @@ from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigAutoSpeechCo
|
|
|
1257
1259
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigAutoSpeechConfig
|
|
1258
1260
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigBackChannelingConfigWords
|
|
1259
1261
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigBackChannelingConfig
|
|
1262
|
+
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigBackChannelingConfigsWords
|
|
1263
|
+
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigBackChannelingConfigs
|
|
1260
1264
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigInterruptConfig
|
|
1261
1265
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigLlmConfigFunctionMap
|
|
1262
1266
|
from ._aiagent_outbound_call_config import AIAgentOutboundCallConfigLlmConfigLlmHistory
|
|
@@ -3252,6 +3256,8 @@ __all__ = [
|
|
|
3252
3256
|
AIAgentConfigAvatarConfig,
|
|
3253
3257
|
AIAgentConfigBackChannelingConfigWords,
|
|
3254
3258
|
AIAgentConfigBackChannelingConfig,
|
|
3259
|
+
AIAgentConfigBackChannelingConfigsWords,
|
|
3260
|
+
AIAgentConfigBackChannelingConfigs,
|
|
3255
3261
|
AIAgentConfigInterruptConfig,
|
|
3256
3262
|
AIAgentConfigLlmConfigFunctionMap,
|
|
3257
3263
|
AIAgentConfigLlmConfigLlmHistory,
|
|
@@ -3276,6 +3282,8 @@ __all__ = [
|
|
|
3276
3282
|
AIAgentOutboundCallConfigAutoSpeechConfig,
|
|
3277
3283
|
AIAgentOutboundCallConfigBackChannelingConfigWords,
|
|
3278
3284
|
AIAgentOutboundCallConfigBackChannelingConfig,
|
|
3285
|
+
AIAgentOutboundCallConfigBackChannelingConfigsWords,
|
|
3286
|
+
AIAgentOutboundCallConfigBackChannelingConfigs,
|
|
3279
3287
|
AIAgentOutboundCallConfigInterruptConfig,
|
|
3280
3288
|
AIAgentOutboundCallConfigLlmConfigFunctionMap,
|
|
3281
3289
|
AIAgentOutboundCallConfigLlmConfigLlmHistory,
|
|
@@ -17,6 +17,7 @@ class AIAgentConfig(DaraModel):
|
|
|
17
17
|
avatar_url: str = None,
|
|
18
18
|
avatar_url_type: str = None,
|
|
19
19
|
back_channeling_config: List[main_models.AIAgentConfigBackChannelingConfig] = None,
|
|
20
|
+
back_channeling_configs: List[main_models.AIAgentConfigBackChannelingConfigs] = None,
|
|
20
21
|
enable_intelligent_segment: bool = None,
|
|
21
22
|
enable_push_to_talk: bool = None,
|
|
22
23
|
experimental_config: str = None,
|
|
@@ -42,6 +43,7 @@ class AIAgentConfig(DaraModel):
|
|
|
42
43
|
self.avatar_url = avatar_url
|
|
43
44
|
self.avatar_url_type = avatar_url_type
|
|
44
45
|
self.back_channeling_config = back_channeling_config
|
|
46
|
+
self.back_channeling_configs = back_channeling_configs
|
|
45
47
|
self.enable_intelligent_segment = enable_intelligent_segment
|
|
46
48
|
self.enable_push_to_talk = enable_push_to_talk
|
|
47
49
|
self.experimental_config = experimental_config
|
|
@@ -73,6 +75,10 @@ class AIAgentConfig(DaraModel):
|
|
|
73
75
|
for v1 in self.back_channeling_config:
|
|
74
76
|
if v1:
|
|
75
77
|
v1.validate()
|
|
78
|
+
if self.back_channeling_configs:
|
|
79
|
+
for v1 in self.back_channeling_configs:
|
|
80
|
+
if v1:
|
|
81
|
+
v1.validate()
|
|
76
82
|
if self.interrupt_config:
|
|
77
83
|
self.interrupt_config.validate()
|
|
78
84
|
if self.llm_config:
|
|
@@ -114,6 +120,11 @@ class AIAgentConfig(DaraModel):
|
|
|
114
120
|
for k1 in self.back_channeling_config:
|
|
115
121
|
result['BackChannelingConfig'].append(k1.to_map() if k1 else None)
|
|
116
122
|
|
|
123
|
+
result['BackChannelingConfigs'] = []
|
|
124
|
+
if self.back_channeling_configs is not None:
|
|
125
|
+
for k1 in self.back_channeling_configs:
|
|
126
|
+
result['BackChannelingConfigs'].append(k1.to_map() if k1 else None)
|
|
127
|
+
|
|
117
128
|
if self.enable_intelligent_segment is not None:
|
|
118
129
|
result['EnableIntelligentSegment'] = self.enable_intelligent_segment
|
|
119
130
|
|
|
@@ -197,6 +208,12 @@ class AIAgentConfig(DaraModel):
|
|
|
197
208
|
temp_model = main_models.AIAgentConfigBackChannelingConfig()
|
|
198
209
|
self.back_channeling_config.append(temp_model.from_map(k1))
|
|
199
210
|
|
|
211
|
+
self.back_channeling_configs = []
|
|
212
|
+
if m.get('BackChannelingConfigs') is not None:
|
|
213
|
+
for k1 in m.get('BackChannelingConfigs'):
|
|
214
|
+
temp_model = main_models.AIAgentConfigBackChannelingConfigs()
|
|
215
|
+
self.back_channeling_configs.append(temp_model.from_map(k1))
|
|
216
|
+
|
|
200
217
|
if m.get('EnableIntelligentSegment') is not None:
|
|
201
218
|
self.enable_intelligent_segment = m.get('EnableIntelligentSegment')
|
|
202
219
|
|
|
@@ -259,9 +276,11 @@ class AIAgentConfig(DaraModel):
|
|
|
259
276
|
class AIAgentConfigVoiceprintConfig(DaraModel):
|
|
260
277
|
def __init__(
|
|
261
278
|
self,
|
|
279
|
+
registration_mode: str = None,
|
|
262
280
|
use_voiceprint: bool = None,
|
|
263
281
|
voiceprint_id: str = None,
|
|
264
282
|
):
|
|
283
|
+
self.registration_mode = registration_mode
|
|
265
284
|
self.use_voiceprint = use_voiceprint
|
|
266
285
|
self.voiceprint_id = voiceprint_id
|
|
267
286
|
|
|
@@ -273,6 +292,9 @@ class AIAgentConfigVoiceprintConfig(DaraModel):
|
|
|
273
292
|
_map = super().to_map()
|
|
274
293
|
if _map is not None:
|
|
275
294
|
result = _map
|
|
295
|
+
if self.registration_mode is not None:
|
|
296
|
+
result['RegistrationMode'] = self.registration_mode
|
|
297
|
+
|
|
276
298
|
if self.use_voiceprint is not None:
|
|
277
299
|
result['UseVoiceprint'] = self.use_voiceprint
|
|
278
300
|
|
|
@@ -283,6 +305,9 @@ class AIAgentConfigVoiceprintConfig(DaraModel):
|
|
|
283
305
|
|
|
284
306
|
def from_map(self, m: dict = None):
|
|
285
307
|
m = m or dict()
|
|
308
|
+
if m.get('RegistrationMode') is not None:
|
|
309
|
+
self.registration_mode = m.get('RegistrationMode')
|
|
310
|
+
|
|
286
311
|
if m.get('UseVoiceprint') is not None:
|
|
287
312
|
self.use_voiceprint = m.get('UseVoiceprint')
|
|
288
313
|
|
|
@@ -959,6 +984,100 @@ class AIAgentConfigInterruptConfig(DaraModel):
|
|
|
959
984
|
|
|
960
985
|
return self
|
|
961
986
|
|
|
987
|
+
class AIAgentConfigBackChannelingConfigs(DaraModel):
|
|
988
|
+
def __init__(
|
|
989
|
+
self,
|
|
990
|
+
enabled: bool = None,
|
|
991
|
+
probability: float = None,
|
|
992
|
+
trigger_stage: str = None,
|
|
993
|
+
words: List[main_models.AIAgentConfigBackChannelingConfigsWords] = None,
|
|
994
|
+
):
|
|
995
|
+
self.enabled = enabled
|
|
996
|
+
self.probability = probability
|
|
997
|
+
self.trigger_stage = trigger_stage
|
|
998
|
+
self.words = words
|
|
999
|
+
|
|
1000
|
+
def validate(self):
|
|
1001
|
+
if self.words:
|
|
1002
|
+
for v1 in self.words:
|
|
1003
|
+
if v1:
|
|
1004
|
+
v1.validate()
|
|
1005
|
+
|
|
1006
|
+
def to_map(self):
|
|
1007
|
+
result = dict()
|
|
1008
|
+
_map = super().to_map()
|
|
1009
|
+
if _map is not None:
|
|
1010
|
+
result = _map
|
|
1011
|
+
if self.enabled is not None:
|
|
1012
|
+
result['Enabled'] = self.enabled
|
|
1013
|
+
|
|
1014
|
+
if self.probability is not None:
|
|
1015
|
+
result['Probability'] = self.probability
|
|
1016
|
+
|
|
1017
|
+
if self.trigger_stage is not None:
|
|
1018
|
+
result['TriggerStage'] = self.trigger_stage
|
|
1019
|
+
|
|
1020
|
+
result['Words'] = []
|
|
1021
|
+
if self.words is not None:
|
|
1022
|
+
for k1 in self.words:
|
|
1023
|
+
result['Words'].append(k1.to_map() if k1 else None)
|
|
1024
|
+
|
|
1025
|
+
return result
|
|
1026
|
+
|
|
1027
|
+
def from_map(self, m: dict = None):
|
|
1028
|
+
m = m or dict()
|
|
1029
|
+
if m.get('Enabled') is not None:
|
|
1030
|
+
self.enabled = m.get('Enabled')
|
|
1031
|
+
|
|
1032
|
+
if m.get('Probability') is not None:
|
|
1033
|
+
self.probability = m.get('Probability')
|
|
1034
|
+
|
|
1035
|
+
if m.get('TriggerStage') is not None:
|
|
1036
|
+
self.trigger_stage = m.get('TriggerStage')
|
|
1037
|
+
|
|
1038
|
+
self.words = []
|
|
1039
|
+
if m.get('Words') is not None:
|
|
1040
|
+
for k1 in m.get('Words'):
|
|
1041
|
+
temp_model = main_models.AIAgentConfigBackChannelingConfigsWords()
|
|
1042
|
+
self.words.append(temp_model.from_map(k1))
|
|
1043
|
+
|
|
1044
|
+
return self
|
|
1045
|
+
|
|
1046
|
+
class AIAgentConfigBackChannelingConfigsWords(DaraModel):
|
|
1047
|
+
def __init__(
|
|
1048
|
+
self,
|
|
1049
|
+
probability: float = None,
|
|
1050
|
+
text: str = None,
|
|
1051
|
+
):
|
|
1052
|
+
self.probability = probability
|
|
1053
|
+
self.text = text
|
|
1054
|
+
|
|
1055
|
+
def validate(self):
|
|
1056
|
+
pass
|
|
1057
|
+
|
|
1058
|
+
def to_map(self):
|
|
1059
|
+
result = dict()
|
|
1060
|
+
_map = super().to_map()
|
|
1061
|
+
if _map is not None:
|
|
1062
|
+
result = _map
|
|
1063
|
+
if self.probability is not None:
|
|
1064
|
+
result['Probability'] = self.probability
|
|
1065
|
+
|
|
1066
|
+
if self.text is not None:
|
|
1067
|
+
result['Text'] = self.text
|
|
1068
|
+
|
|
1069
|
+
return result
|
|
1070
|
+
|
|
1071
|
+
def from_map(self, m: dict = None):
|
|
1072
|
+
m = m or dict()
|
|
1073
|
+
if m.get('Probability') is not None:
|
|
1074
|
+
self.probability = m.get('Probability')
|
|
1075
|
+
|
|
1076
|
+
if m.get('Text') is not None:
|
|
1077
|
+
self.text = m.get('Text')
|
|
1078
|
+
|
|
1079
|
+
return self
|
|
1080
|
+
|
|
962
1081
|
class AIAgentConfigBackChannelingConfig(DaraModel):
|
|
963
1082
|
def __init__(
|
|
964
1083
|
self,
|
|
@@ -14,6 +14,7 @@ class AIAgentOutboundCallConfig(DaraModel):
|
|
|
14
14
|
asr_config: main_models.AIAgentOutboundCallConfigAsrConfig = None,
|
|
15
15
|
auto_speech_config: main_models.AIAgentOutboundCallConfigAutoSpeechConfig = None,
|
|
16
16
|
back_channeling_config: main_models.AIAgentOutboundCallConfigBackChannelingConfig = None,
|
|
17
|
+
back_channeling_configs: List[main_models.AIAgentOutboundCallConfigBackChannelingConfigs] = None,
|
|
17
18
|
enable_intelligent_segment: bool = None,
|
|
18
19
|
experimental_config: str = None,
|
|
19
20
|
greeting: str = None,
|
|
@@ -28,6 +29,7 @@ class AIAgentOutboundCallConfig(DaraModel):
|
|
|
28
29
|
self.asr_config = asr_config
|
|
29
30
|
self.auto_speech_config = auto_speech_config
|
|
30
31
|
self.back_channeling_config = back_channeling_config
|
|
32
|
+
self.back_channeling_configs = back_channeling_configs
|
|
31
33
|
self.enable_intelligent_segment = enable_intelligent_segment
|
|
32
34
|
self.experimental_config = experimental_config
|
|
33
35
|
self.greeting = greeting
|
|
@@ -47,6 +49,10 @@ class AIAgentOutboundCallConfig(DaraModel):
|
|
|
47
49
|
self.auto_speech_config.validate()
|
|
48
50
|
if self.back_channeling_config:
|
|
49
51
|
self.back_channeling_config.validate()
|
|
52
|
+
if self.back_channeling_configs:
|
|
53
|
+
for v1 in self.back_channeling_configs:
|
|
54
|
+
if v1:
|
|
55
|
+
v1.validate()
|
|
50
56
|
if self.interrupt_config:
|
|
51
57
|
self.interrupt_config.validate()
|
|
52
58
|
if self.llm_config:
|
|
@@ -73,6 +79,11 @@ class AIAgentOutboundCallConfig(DaraModel):
|
|
|
73
79
|
if self.back_channeling_config is not None:
|
|
74
80
|
result['BackChannelingConfig'] = self.back_channeling_config.to_map()
|
|
75
81
|
|
|
82
|
+
result['BackChannelingConfigs'] = []
|
|
83
|
+
if self.back_channeling_configs is not None:
|
|
84
|
+
for k1 in self.back_channeling_configs:
|
|
85
|
+
result['BackChannelingConfigs'].append(k1.to_map() if k1 else None)
|
|
86
|
+
|
|
76
87
|
if self.enable_intelligent_segment is not None:
|
|
77
88
|
result['EnableIntelligentSegment'] = self.enable_intelligent_segment
|
|
78
89
|
|
|
@@ -120,6 +131,12 @@ class AIAgentOutboundCallConfig(DaraModel):
|
|
|
120
131
|
temp_model = main_models.AIAgentOutboundCallConfigBackChannelingConfig()
|
|
121
132
|
self.back_channeling_config = temp_model.from_map(m.get('BackChannelingConfig'))
|
|
122
133
|
|
|
134
|
+
self.back_channeling_configs = []
|
|
135
|
+
if m.get('BackChannelingConfigs') is not None:
|
|
136
|
+
for k1 in m.get('BackChannelingConfigs'):
|
|
137
|
+
temp_model = main_models.AIAgentOutboundCallConfigBackChannelingConfigs()
|
|
138
|
+
self.back_channeling_configs.append(temp_model.from_map(k1))
|
|
139
|
+
|
|
123
140
|
if m.get('EnableIntelligentSegment') is not None:
|
|
124
141
|
self.enable_intelligent_segment = m.get('EnableIntelligentSegment')
|
|
125
142
|
|
|
@@ -567,6 +584,100 @@ class AIAgentOutboundCallConfigInterruptConfig(DaraModel):
|
|
|
567
584
|
|
|
568
585
|
return self
|
|
569
586
|
|
|
587
|
+
class AIAgentOutboundCallConfigBackChannelingConfigs(DaraModel):
|
|
588
|
+
def __init__(
|
|
589
|
+
self,
|
|
590
|
+
enabled: bool = None,
|
|
591
|
+
probability: float = None,
|
|
592
|
+
trigger_stage: str = None,
|
|
593
|
+
words: List[main_models.AIAgentOutboundCallConfigBackChannelingConfigsWords] = None,
|
|
594
|
+
):
|
|
595
|
+
self.enabled = enabled
|
|
596
|
+
self.probability = probability
|
|
597
|
+
self.trigger_stage = trigger_stage
|
|
598
|
+
self.words = words
|
|
599
|
+
|
|
600
|
+
def validate(self):
|
|
601
|
+
if self.words:
|
|
602
|
+
for v1 in self.words:
|
|
603
|
+
if v1:
|
|
604
|
+
v1.validate()
|
|
605
|
+
|
|
606
|
+
def to_map(self):
|
|
607
|
+
result = dict()
|
|
608
|
+
_map = super().to_map()
|
|
609
|
+
if _map is not None:
|
|
610
|
+
result = _map
|
|
611
|
+
if self.enabled is not None:
|
|
612
|
+
result['Enabled'] = self.enabled
|
|
613
|
+
|
|
614
|
+
if self.probability is not None:
|
|
615
|
+
result['Probability'] = self.probability
|
|
616
|
+
|
|
617
|
+
if self.trigger_stage is not None:
|
|
618
|
+
result['TriggerStage'] = self.trigger_stage
|
|
619
|
+
|
|
620
|
+
result['Words'] = []
|
|
621
|
+
if self.words is not None:
|
|
622
|
+
for k1 in self.words:
|
|
623
|
+
result['Words'].append(k1.to_map() if k1 else None)
|
|
624
|
+
|
|
625
|
+
return result
|
|
626
|
+
|
|
627
|
+
def from_map(self, m: dict = None):
|
|
628
|
+
m = m or dict()
|
|
629
|
+
if m.get('Enabled') is not None:
|
|
630
|
+
self.enabled = m.get('Enabled')
|
|
631
|
+
|
|
632
|
+
if m.get('Probability') is not None:
|
|
633
|
+
self.probability = m.get('Probability')
|
|
634
|
+
|
|
635
|
+
if m.get('TriggerStage') is not None:
|
|
636
|
+
self.trigger_stage = m.get('TriggerStage')
|
|
637
|
+
|
|
638
|
+
self.words = []
|
|
639
|
+
if m.get('Words') is not None:
|
|
640
|
+
for k1 in m.get('Words'):
|
|
641
|
+
temp_model = main_models.AIAgentOutboundCallConfigBackChannelingConfigsWords()
|
|
642
|
+
self.words.append(temp_model.from_map(k1))
|
|
643
|
+
|
|
644
|
+
return self
|
|
645
|
+
|
|
646
|
+
class AIAgentOutboundCallConfigBackChannelingConfigsWords(DaraModel):
|
|
647
|
+
def __init__(
|
|
648
|
+
self,
|
|
649
|
+
probability: float = None,
|
|
650
|
+
text: str = None,
|
|
651
|
+
):
|
|
652
|
+
self.probability = probability
|
|
653
|
+
self.text = text
|
|
654
|
+
|
|
655
|
+
def validate(self):
|
|
656
|
+
pass
|
|
657
|
+
|
|
658
|
+
def to_map(self):
|
|
659
|
+
result = dict()
|
|
660
|
+
_map = super().to_map()
|
|
661
|
+
if _map is not None:
|
|
662
|
+
result = _map
|
|
663
|
+
if self.probability is not None:
|
|
664
|
+
result['Probability'] = self.probability
|
|
665
|
+
|
|
666
|
+
if self.text is not None:
|
|
667
|
+
result['Text'] = self.text
|
|
668
|
+
|
|
669
|
+
return result
|
|
670
|
+
|
|
671
|
+
def from_map(self, m: dict = None):
|
|
672
|
+
m = m or dict()
|
|
673
|
+
if m.get('Probability') is not None:
|
|
674
|
+
self.probability = m.get('Probability')
|
|
675
|
+
|
|
676
|
+
if m.get('Text') is not None:
|
|
677
|
+
self.text = m.get('Text')
|
|
678
|
+
|
|
679
|
+
return self
|
|
680
|
+
|
|
570
681
|
class AIAgentOutboundCallConfigBackChannelingConfig(DaraModel):
|
|
571
682
|
def __init__(
|
|
572
683
|
self,
|
|
@@ -7,8 +7,10 @@ from darabonba.model import DaraModel
|
|
|
7
7
|
class ClearAIAgentVoiceprintRequest(DaraModel):
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
|
+
registration_mode: str = None,
|
|
10
11
|
voiceprint_id: str = None,
|
|
11
12
|
):
|
|
13
|
+
self.registration_mode = registration_mode
|
|
12
14
|
# The unique identifier for the voiceprint.
|
|
13
15
|
self.voiceprint_id = voiceprint_id
|
|
14
16
|
|
|
@@ -20,6 +22,9 @@ class ClearAIAgentVoiceprintRequest(DaraModel):
|
|
|
20
22
|
_map = super().to_map()
|
|
21
23
|
if _map is not None:
|
|
22
24
|
result = _map
|
|
25
|
+
if self.registration_mode is not None:
|
|
26
|
+
result['RegistrationMode'] = self.registration_mode
|
|
27
|
+
|
|
23
28
|
if self.voiceprint_id is not None:
|
|
24
29
|
result['VoiceprintId'] = self.voiceprint_id
|
|
25
30
|
|
|
@@ -27,6 +32,9 @@ class ClearAIAgentVoiceprintRequest(DaraModel):
|
|
|
27
32
|
|
|
28
33
|
def from_map(self, m: dict = None):
|
|
29
34
|
m = m or dict()
|
|
35
|
+
if m.get('RegistrationMode') is not None:
|
|
36
|
+
self.registration_mode = m.get('RegistrationMode')
|
|
37
|
+
|
|
30
38
|
if m.get('VoiceprintId') is not None:
|
|
31
39
|
self.voiceprint_id = m.get('VoiceprintId')
|
|
32
40
|
|
|
@@ -9,12 +9,14 @@ class ListAIAgentVoiceprintsRequest(DaraModel):
|
|
|
9
9
|
self,
|
|
10
10
|
page_number: int = None,
|
|
11
11
|
page_size: int = None,
|
|
12
|
+
registration_mode: str = None,
|
|
12
13
|
voiceprint_id: str = None,
|
|
13
14
|
):
|
|
14
15
|
# The page number.
|
|
15
16
|
self.page_number = page_number
|
|
16
17
|
# The number of entries per page. Value values: [1,100].
|
|
17
18
|
self.page_size = page_size
|
|
19
|
+
self.registration_mode = registration_mode
|
|
18
20
|
# A unique identifier for the voiceprint. This parameter is optional. If provided, only the information for that ID is returned. If not specified, all voiceprints under the account are returned.
|
|
19
21
|
self.voiceprint_id = voiceprint_id
|
|
20
22
|
|
|
@@ -32,6 +34,9 @@ class ListAIAgentVoiceprintsRequest(DaraModel):
|
|
|
32
34
|
if self.page_size is not None:
|
|
33
35
|
result['PageSize'] = self.page_size
|
|
34
36
|
|
|
37
|
+
if self.registration_mode is not None:
|
|
38
|
+
result['RegistrationMode'] = self.registration_mode
|
|
39
|
+
|
|
35
40
|
if self.voiceprint_id is not None:
|
|
36
41
|
result['VoiceprintId'] = self.voiceprint_id
|
|
37
42
|
|
|
@@ -45,6 +50,9 @@ class ListAIAgentVoiceprintsRequest(DaraModel):
|
|
|
45
50
|
if m.get('PageSize') is not None:
|
|
46
51
|
self.page_size = m.get('PageSize')
|
|
47
52
|
|
|
53
|
+
if m.get('RegistrationMode') is not None:
|
|
54
|
+
self.registration_mode = m.get('RegistrationMode')
|
|
55
|
+
|
|
48
56
|
if m.get('VoiceprintId') is not None:
|
|
49
57
|
self.voiceprint_id = m.get('VoiceprintId')
|
|
50
58
|
|
|
@@ -104,12 +104,14 @@ class MediaQualityAnalysisJobVqaResultScoreResult(DaraModel):
|
|
|
104
104
|
color: main_models.MediaQualityAnalysisJobVqaResultScoreResultColor = None,
|
|
105
105
|
detail: main_models.MediaQualityAnalysisJobVqaResultScoreResultDetail = None,
|
|
106
106
|
noise: main_models.MediaQualityAnalysisJobVqaResultScoreResultNoise = None,
|
|
107
|
+
score: float = None,
|
|
107
108
|
sharp: main_models.MediaQualityAnalysisJobVqaResultScoreResultSharp = None,
|
|
108
109
|
):
|
|
109
110
|
self.block = block
|
|
110
111
|
self.color = color
|
|
111
112
|
self.detail = detail
|
|
112
113
|
self.noise = noise
|
|
114
|
+
self.score = score
|
|
113
115
|
self.sharp = sharp
|
|
114
116
|
|
|
115
117
|
def validate(self):
|
|
@@ -141,6 +143,9 @@ class MediaQualityAnalysisJobVqaResultScoreResult(DaraModel):
|
|
|
141
143
|
if self.noise is not None:
|
|
142
144
|
result['Noise'] = self.noise.to_map()
|
|
143
145
|
|
|
146
|
+
if self.score is not None:
|
|
147
|
+
result['Score'] = self.score
|
|
148
|
+
|
|
144
149
|
if self.sharp is not None:
|
|
145
150
|
result['Sharp'] = self.sharp.to_map()
|
|
146
151
|
|
|
@@ -164,6 +169,9 @@ class MediaQualityAnalysisJobVqaResultScoreResult(DaraModel):
|
|
|
164
169
|
temp_model = main_models.MediaQualityAnalysisJobVqaResultScoreResultNoise()
|
|
165
170
|
self.noise = temp_model.from_map(m.get('Noise'))
|
|
166
171
|
|
|
172
|
+
if m.get('Score') is not None:
|
|
173
|
+
self.score = m.get('Score')
|
|
174
|
+
|
|
167
175
|
if m.get('Sharp') is not None:
|
|
168
176
|
temp_model = main_models.MediaQualityAnalysisJobVqaResultScoreResultSharp()
|
|
169
177
|
self.sharp = temp_model.from_map(m.get('Sharp'))
|
{alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-ice20201109
|
|
3
|
-
Version: 6.10.
|
|
3
|
+
Version: 6.10.1
|
|
4
4
|
Summary: Alibaba Cloud ICE (20201109) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -23,7 +23,7 @@ Classifier: Topic :: Software Development
|
|
|
23
23
|
Requires-Python: >=3.7
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.3)
|
|
27
27
|
Requires-Dist: darabonba-core (<2.0.0,>=1.0.0)
|
|
28
28
|
|
|
29
29
|
English | [简体中文](README-CN.md)
|
{alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_ice20201109/__init__.py,sha256=
|
|
2
|
-
alibabacloud_ice20201109/client.py,sha256=
|
|
3
|
-
alibabacloud_ice20201109/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_ice20201109/__init__.py,sha256=ptazeRJldvYcCdoF9d7sFssSWECk7BFyMVFet0GP-FU,22
|
|
2
|
+
alibabacloud_ice20201109/client.py,sha256=Nh1yNIv3dEUqKX9mPFY51ghTqYhG9t3e5q4zI0Wx8-c,1232284
|
|
3
|
+
alibabacloud_ice20201109/models/__init__.py,sha256=bX3NTeft-aXaaXMMHwySwfRc2lsYEOiOVwMHRTO9ysg,274766
|
|
4
4
|
alibabacloud_ice20201109/models/_active_ai_rtc_license_request.py,sha256=viaqUC9cZ76u9bn4TWpKJRq-h_GVTvyMyj4EWaGMAxM,1382
|
|
5
5
|
alibabacloud_ice20201109/models/_active_ai_rtc_license_response.py,sha256=eWI5v2t1XZEAMNOT1wqmwfBWb2x6ZFopHmR5v38AmO0,1486
|
|
6
6
|
alibabacloud_ice20201109/models/_active_ai_rtc_license_response_body.py,sha256=6BMtJnivxRCw5i6FkriG-8AsNSu2pDPQtqzUIAp-J8g,2178
|
|
@@ -33,8 +33,8 @@ alibabacloud_ice20201109/models/_add_template_response.py,sha256=a6DsgzTGWIYsaMa
|
|
|
33
33
|
alibabacloud_ice20201109/models/_add_template_response_body.py,sha256=8Sb2f88D6ltKhltWShmKhuXV5xcUXns2tzyELB4Iv0s,5032
|
|
34
34
|
alibabacloud_ice20201109/models/_ai_rtc_auth_code_dto.py,sha256=ZzV4uVp-75xpRVXe0zIjIEOs9oyEi3PFJI1xK54QwhU,2826
|
|
35
35
|
alibabacloud_ice20201109/models/_ai_rtc_license_info_dto.py,sha256=RKNnwDmNKtXrXiQ8bOrVrOoaMxJ-OtsRK2ubyv-NSz0,3693
|
|
36
|
-
alibabacloud_ice20201109/models/_aiagent_config.py,sha256=
|
|
37
|
-
alibabacloud_ice20201109/models/_aiagent_outbound_call_config.py,sha256=
|
|
36
|
+
alibabacloud_ice20201109/models/_aiagent_config.py,sha256=MX78T1Cf5aVPFMlI6aa4E9m3s70mWpvzpp87J5uxdZI,47167
|
|
37
|
+
alibabacloud_ice20201109/models/_aiagent_outbound_call_config.py,sha256=C78BwkuskFvDuVF89COuERMF46cwYdMh2JF8H9xazkU,34309
|
|
38
38
|
alibabacloud_ice20201109/models/_aiagent_runtime_config.py,sha256=hLPTwf-YzHpv2-dH5MJaLKA_ZWbLtBffQNXvJHz2pgI,6225
|
|
39
39
|
alibabacloud_ice20201109/models/_aiagent_template_config.py,sha256=2A8r0oQBuYzjyX5IydYtZCbGRe1v8PyVQluf464mXJA,29960
|
|
40
40
|
alibabacloud_ice20201109/models/_alter_search_index_request.py,sha256=A5lE_NpwEeNLxQub4lUsHiYElT1FXYpjtSCt9VT2XgQ,2586
|
|
@@ -66,7 +66,7 @@ alibabacloud_ice20201109/models/_channel_assembly_program.py,sha256=P90ijVxGZDoi
|
|
|
66
66
|
alibabacloud_ice20201109/models/_channel_assembly_schedule_data.py,sha256=FMgiXwJDe3B9JiMd7VPj6YP7RG3CvXYWoK4FVhUubEg,5645
|
|
67
67
|
alibabacloud_ice20201109/models/_channel_assembly_source.py,sha256=LRB_oNhdZBEzakRbAZsDJQRhvPYlh6qEWpiC_-oAnkg,2707
|
|
68
68
|
alibabacloud_ice20201109/models/_channel_assembly_source_location.py,sha256=TZtxV7r7EreZQffN-9FJlb2qS33LoHDakjSLy5iwdWk,2462
|
|
69
|
-
alibabacloud_ice20201109/models/_clear_aiagent_voiceprint_request.py,sha256=
|
|
69
|
+
alibabacloud_ice20201109/models/_clear_aiagent_voiceprint_request.py,sha256=8nypBrjZ7VINleAOC0nXIJLgHwpkFgfuoW6cm1gUZjQ,1168
|
|
70
70
|
alibabacloud_ice20201109/models/_clear_aiagent_voiceprint_response.py,sha256=VNnsb0FsvTOqvatpD6o_lP0YdCR-WUTJ5dC3597vWME,1498
|
|
71
71
|
alibabacloud_ice20201109/models/_clear_aiagent_voiceprint_response_body.py,sha256=K72Yqrvwd5YYY_NfXOi5Ef4MQ1OOuY9ZWJMDiZ_0jAo,804
|
|
72
72
|
alibabacloud_ice20201109/models/_close_media_connect_flow_failover_request.py,sha256=5Xhctv0WevpvhuCQd1zGrCCNpl7XyGbpptCxGTyeyA8,796
|
|
@@ -591,7 +591,7 @@ alibabacloud_ice20201109/models/_list_aiagent_instance_response_body.py,sha256=V
|
|
|
591
591
|
alibabacloud_ice20201109/models/_list_aiagent_phone_number_request.py,sha256=iq7NXFHEHtKELFQGm5R_1OEir08p6wgtTzdaoRoeBlU,1466
|
|
592
592
|
alibabacloud_ice20201109/models/_list_aiagent_phone_number_response.py,sha256=Gk-k1vmw2ZVQSf-ahZTWBZ8LhpT7wh6zG-hdplv5aFs,1498
|
|
593
593
|
alibabacloud_ice20201109/models/_list_aiagent_phone_number_response_body.py,sha256=Tku_oFbq_7vl6mQWDYHbVd7dzXN-jXKpfS9I5E6rZws,3112
|
|
594
|
-
alibabacloud_ice20201109/models/_list_aiagent_voiceprints_request.py,sha256=
|
|
594
|
+
alibabacloud_ice20201109/models/_list_aiagent_voiceprints_request.py,sha256=gqNH_OQWoZ9-hFwYdTOcb9wNjcv994wQ5_88s9FAq2Y,1917
|
|
595
595
|
alibabacloud_ice20201109/models/_list_aiagent_voiceprints_response.py,sha256=KUf3hZHY0rxQ1qecmJJU1CK1Kj0R4WWW6XhqtXYsa5w,1498
|
|
596
596
|
alibabacloud_ice20201109/models/_list_aiagent_voiceprints_response_body.py,sha256=e-H8yRFHggFFMw0-6VaWhBAdHiVJfD-H_KrdyRMEIUM,3303
|
|
597
597
|
alibabacloud_ice20201109/models/_list_alerts_request.py,sha256=WKkiMI5Fllc07luKIX0tdnmncW3aItpEpgobKMp3sXY,3047
|
|
@@ -786,7 +786,7 @@ alibabacloud_ice20201109/models/_media_convert_video.py,sha256=YaojlJcgeY5w4iOKu
|
|
|
786
786
|
alibabacloud_ice20201109/models/_media_convert_volume.py,sha256=hMiqaWM3S25VvXvo6qtC9uXG5uaSiK0Hrmwj_evtcEc,1927
|
|
787
787
|
alibabacloud_ice20201109/models/_media_object.py,sha256=tDKguXdfGRcaUE1ki-PTsD1I-X7UBx2TDfrYu3iSCZ8,915
|
|
788
788
|
alibabacloud_ice20201109/models/_media_quality_analysis_job.py,sha256=BxaJRUbCUxmE5rOBcdv81hXWrbh8eXgzINQ2SpsJZKA,6171
|
|
789
|
-
alibabacloud_ice20201109/models/_media_quality_analysis_job_vqa_result.py,sha256=
|
|
789
|
+
alibabacloud_ice20201109/models/_media_quality_analysis_job_vqa_result.py,sha256=x_Mv6iHMzdxxAnfgEnj_jpyqQtGr7Yg_4CGCrbGoB2Y,11188
|
|
790
790
|
alibabacloud_ice20201109/models/_media_quality_analysis_job_vqa_score_detail.py,sha256=I566LsHKzp25cIdnB--Il4vFa6JYM4PZ1QTQWnaddQ0,1137
|
|
791
791
|
alibabacloud_ice20201109/models/_open_media_connect_flow_failover_request.py,sha256=KvRKOhtbGUmUrQVRivzU9Mmo6XVISz-8trr-l0HxQL8,795
|
|
792
792
|
alibabacloud_ice20201109/models/_open_media_connect_flow_failover_response.py,sha256=_jE68OizHruC3S7elmjH_rGZUofPfvd1ydgDAsESoCo,1516
|
|
@@ -1222,8 +1222,8 @@ alibabacloud_ice20201109/models/_vod_packaging_asset.py,sha256=wqeH-T53cCHVYtC4g
|
|
|
1222
1222
|
alibabacloud_ice20201109/models/_vod_packaging_config.py,sha256=I8R8BWPOTBnNv_-cQS3kPbYZExjQhOcDTVgvXnN0GjE,4896
|
|
1223
1223
|
alibabacloud_ice20201109/models/_vod_packaging_configuration.py,sha256=UR3QHg0R8fMo5hMGr7PgWXVpEAB4Rt28-Ojtqd4mQdM,2384
|
|
1224
1224
|
alibabacloud_ice20201109/models/_vod_packaging_group.py,sha256=rCa-kEn3OQzRMpZv7Y5DQb90emVZT6O6zebs5cgvwCY,2251
|
|
1225
|
-
alibabacloud_ice20201109-6.10.
|
|
1226
|
-
alibabacloud_ice20201109-6.10.
|
|
1227
|
-
alibabacloud_ice20201109-6.10.
|
|
1228
|
-
alibabacloud_ice20201109-6.10.
|
|
1229
|
-
alibabacloud_ice20201109-6.10.
|
|
1225
|
+
alibabacloud_ice20201109-6.10.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1226
|
+
alibabacloud_ice20201109-6.10.1.dist-info/METADATA,sha256=GOrH7KbPvvstaLQd4LBj9K7bimlPvf5GVrU_VtSJlbY,2290
|
|
1227
|
+
alibabacloud_ice20201109-6.10.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1228
|
+
alibabacloud_ice20201109-6.10.1.dist-info/top_level.txt,sha256=Tdq86hkGJfaKKyNwqChNx5I788aFI6e_iTUmQOYYPK8,25
|
|
1229
|
+
alibabacloud_ice20201109-6.10.1.dist-info/RECORD,,
|
{alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_ice20201109-6.10.0.dist-info → alibabacloud_ice20201109-6.10.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|