tencentcloud-sdk-python-ccc 3.1.85__tar.gz → 3.1.108__tar.gz
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_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/setup.py +1 -1
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/v20200210/ccc_client_async.py +18 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/v20200210/models.py +708 -40
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud_sdk_python_ccc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ccc-3.1.108/tencentcloud_sdk_python_ccc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ccc-3.1.85/tencentcloud_sdk_python_ccc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/README.rst +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/__init__.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/v20200210/__init__.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud/ccc/v20200210/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud_sdk_python_ccc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud_sdk_python_ccc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ccc-3.1.85 → tencentcloud_sdk_python_ccc-3.1.108}/tencentcloud_sdk_python_ccc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ccc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Ccc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ccc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.108,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ccc SDK for Python',
|
|
@@ -703,6 +703,29 @@ class CccClient(AbstractClient):
|
|
|
703
703
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
704
704
|
|
|
705
705
|
|
|
706
|
+
def DescribeAICallInteractionRecords(self, request):
|
|
707
|
+
r"""获取AI 会话交互事件流
|
|
708
|
+
|
|
709
|
+
:param request: Request instance for DescribeAICallInteractionRecords.
|
|
710
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallInteractionRecordsRequest`
|
|
711
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAICallInteractionRecordsResponse`
|
|
712
|
+
|
|
713
|
+
"""
|
|
714
|
+
try:
|
|
715
|
+
params = request._serialize()
|
|
716
|
+
headers = request.headers
|
|
717
|
+
body = self.call("DescribeAICallInteractionRecords", params, headers=headers)
|
|
718
|
+
response = json.loads(body)
|
|
719
|
+
model = models.DescribeAICallInteractionRecordsResponse()
|
|
720
|
+
model._deserialize(response["Response"])
|
|
721
|
+
return model
|
|
722
|
+
except Exception as e:
|
|
723
|
+
if isinstance(e, TencentCloudSDKException):
|
|
724
|
+
raise
|
|
725
|
+
else:
|
|
726
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
727
|
+
|
|
728
|
+
|
|
706
729
|
def DescribeAILatency(self, request):
|
|
707
730
|
r"""调用该接口,可以通过 Session ID 查询指定会话在特定时间段内,AI服务的处理时延明细与统计数据,时延信息包括:
|
|
708
731
|
- 端到端(ETE)时延:统计从用户语音输入到 AI 返回完整响应的整体耗时。
|
|
@@ -557,6 +557,24 @@ class CccClient(AbstractClient):
|
|
|
557
557
|
|
|
558
558
|
return await self.call_and_deserialize(**kwargs)
|
|
559
559
|
|
|
560
|
+
async def DescribeAICallInteractionRecords(
|
|
561
|
+
self,
|
|
562
|
+
request: models.DescribeAICallInteractionRecordsRequest,
|
|
563
|
+
opts: Dict = None,
|
|
564
|
+
) -> models.DescribeAICallInteractionRecordsResponse:
|
|
565
|
+
"""
|
|
566
|
+
获取AI 会话交互事件流
|
|
567
|
+
"""
|
|
568
|
+
|
|
569
|
+
kwargs = {}
|
|
570
|
+
kwargs["action"] = "DescribeAICallInteractionRecords"
|
|
571
|
+
kwargs["params"] = request._serialize()
|
|
572
|
+
kwargs["resp_cls"] = models.DescribeAICallInteractionRecordsResponse
|
|
573
|
+
kwargs["headers"] = request.headers
|
|
574
|
+
kwargs["opts"] = opts or {}
|
|
575
|
+
|
|
576
|
+
return await self.call_and_deserialize(**kwargs)
|
|
577
|
+
|
|
560
578
|
async def DescribeAILatency(
|
|
561
579
|
self,
|
|
562
580
|
request: models.DescribeAILatencyRequest,
|
|
@@ -415,6 +415,193 @@ class AICallExtractResultInfo(AbstractModel):
|
|
|
415
415
|
|
|
416
416
|
|
|
417
417
|
|
|
418
|
+
class AICallInteractionRound(AbstractModel):
|
|
419
|
+
r"""表示一轮完整的对话交互
|
|
420
|
+
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
def __init__(self):
|
|
424
|
+
r"""
|
|
425
|
+
:param _RoundId: <p>本轮对话的唯一标识 Id</p>
|
|
426
|
+
:type RoundId: str
|
|
427
|
+
:param _RoundIndex: <p>轮次</p>
|
|
428
|
+
:type RoundIndex: int
|
|
429
|
+
:param _Tags: <p>用户回复分类的标签, json序列化后的表示</p>
|
|
430
|
+
:type Tags: str
|
|
431
|
+
:param _Messages: <p>本轮涉及到的消息内容</p>
|
|
432
|
+
:type Messages: list of AIRoundMessage
|
|
433
|
+
:param _Paths: <p>本轮对话在画布中经过的节点路径</p>
|
|
434
|
+
:type Paths: list of AIRoundPath
|
|
435
|
+
"""
|
|
436
|
+
self._RoundId = None
|
|
437
|
+
self._RoundIndex = None
|
|
438
|
+
self._Tags = None
|
|
439
|
+
self._Messages = None
|
|
440
|
+
self._Paths = None
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
def RoundId(self):
|
|
444
|
+
r"""<p>本轮对话的唯一标识 Id</p>
|
|
445
|
+
:rtype: str
|
|
446
|
+
"""
|
|
447
|
+
return self._RoundId
|
|
448
|
+
|
|
449
|
+
@RoundId.setter
|
|
450
|
+
def RoundId(self, RoundId):
|
|
451
|
+
self._RoundId = RoundId
|
|
452
|
+
|
|
453
|
+
@property
|
|
454
|
+
def RoundIndex(self):
|
|
455
|
+
r"""<p>轮次</p>
|
|
456
|
+
:rtype: int
|
|
457
|
+
"""
|
|
458
|
+
return self._RoundIndex
|
|
459
|
+
|
|
460
|
+
@RoundIndex.setter
|
|
461
|
+
def RoundIndex(self, RoundIndex):
|
|
462
|
+
self._RoundIndex = RoundIndex
|
|
463
|
+
|
|
464
|
+
@property
|
|
465
|
+
def Tags(self):
|
|
466
|
+
r"""<p>用户回复分类的标签, json序列化后的表示</p>
|
|
467
|
+
:rtype: str
|
|
468
|
+
"""
|
|
469
|
+
return self._Tags
|
|
470
|
+
|
|
471
|
+
@Tags.setter
|
|
472
|
+
def Tags(self, Tags):
|
|
473
|
+
self._Tags = Tags
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
def Messages(self):
|
|
477
|
+
r"""<p>本轮涉及到的消息内容</p>
|
|
478
|
+
:rtype: list of AIRoundMessage
|
|
479
|
+
"""
|
|
480
|
+
return self._Messages
|
|
481
|
+
|
|
482
|
+
@Messages.setter
|
|
483
|
+
def Messages(self, Messages):
|
|
484
|
+
self._Messages = Messages
|
|
485
|
+
|
|
486
|
+
@property
|
|
487
|
+
def Paths(self):
|
|
488
|
+
r"""<p>本轮对话在画布中经过的节点路径</p>
|
|
489
|
+
:rtype: list of AIRoundPath
|
|
490
|
+
"""
|
|
491
|
+
return self._Paths
|
|
492
|
+
|
|
493
|
+
@Paths.setter
|
|
494
|
+
def Paths(self, Paths):
|
|
495
|
+
self._Paths = Paths
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
def _deserialize(self, params):
|
|
499
|
+
self._RoundId = params.get("RoundId")
|
|
500
|
+
self._RoundIndex = params.get("RoundIndex")
|
|
501
|
+
self._Tags = params.get("Tags")
|
|
502
|
+
if params.get("Messages") is not None:
|
|
503
|
+
self._Messages = []
|
|
504
|
+
for item in params.get("Messages"):
|
|
505
|
+
obj = AIRoundMessage()
|
|
506
|
+
obj._deserialize(item)
|
|
507
|
+
self._Messages.append(obj)
|
|
508
|
+
if params.get("Paths") is not None:
|
|
509
|
+
self._Paths = []
|
|
510
|
+
for item in params.get("Paths"):
|
|
511
|
+
obj = AIRoundPath()
|
|
512
|
+
obj._deserialize(item)
|
|
513
|
+
self._Paths.append(obj)
|
|
514
|
+
memeber_set = set(params.keys())
|
|
515
|
+
for name, value in vars(self).items():
|
|
516
|
+
property_name = name[1:]
|
|
517
|
+
if property_name in memeber_set:
|
|
518
|
+
memeber_set.remove(property_name)
|
|
519
|
+
if len(memeber_set) > 0:
|
|
520
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
class AICallLatencyMetrics(AbstractModel):
|
|
525
|
+
r"""智能体的响应延时
|
|
526
|
+
|
|
527
|
+
"""
|
|
528
|
+
|
|
529
|
+
def __init__(self):
|
|
530
|
+
r"""
|
|
531
|
+
:param _AsrLatency: <p>asr时延(毫秒)</p><p>-1 表示无 asr时延</p>
|
|
532
|
+
:type AsrLatency: int
|
|
533
|
+
:param _LLMFirstTokenLatency: <p>llm首token时延(毫秒)</p>
|
|
534
|
+
:type LLMFirstTokenLatency: int
|
|
535
|
+
:param _TTSLatency: <p>tts时延(毫秒)</p><p>-1 表示无 tts时延</p>
|
|
536
|
+
:type TTSLatency: int
|
|
537
|
+
:param _TotalLatency: <p>总时延</p>
|
|
538
|
+
:type TotalLatency: int
|
|
539
|
+
"""
|
|
540
|
+
self._AsrLatency = None
|
|
541
|
+
self._LLMFirstTokenLatency = None
|
|
542
|
+
self._TTSLatency = None
|
|
543
|
+
self._TotalLatency = None
|
|
544
|
+
|
|
545
|
+
@property
|
|
546
|
+
def AsrLatency(self):
|
|
547
|
+
r"""<p>asr时延(毫秒)</p><p>-1 表示无 asr时延</p>
|
|
548
|
+
:rtype: int
|
|
549
|
+
"""
|
|
550
|
+
return self._AsrLatency
|
|
551
|
+
|
|
552
|
+
@AsrLatency.setter
|
|
553
|
+
def AsrLatency(self, AsrLatency):
|
|
554
|
+
self._AsrLatency = AsrLatency
|
|
555
|
+
|
|
556
|
+
@property
|
|
557
|
+
def LLMFirstTokenLatency(self):
|
|
558
|
+
r"""<p>llm首token时延(毫秒)</p>
|
|
559
|
+
:rtype: int
|
|
560
|
+
"""
|
|
561
|
+
return self._LLMFirstTokenLatency
|
|
562
|
+
|
|
563
|
+
@LLMFirstTokenLatency.setter
|
|
564
|
+
def LLMFirstTokenLatency(self, LLMFirstTokenLatency):
|
|
565
|
+
self._LLMFirstTokenLatency = LLMFirstTokenLatency
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def TTSLatency(self):
|
|
569
|
+
r"""<p>tts时延(毫秒)</p><p>-1 表示无 tts时延</p>
|
|
570
|
+
:rtype: int
|
|
571
|
+
"""
|
|
572
|
+
return self._TTSLatency
|
|
573
|
+
|
|
574
|
+
@TTSLatency.setter
|
|
575
|
+
def TTSLatency(self, TTSLatency):
|
|
576
|
+
self._TTSLatency = TTSLatency
|
|
577
|
+
|
|
578
|
+
@property
|
|
579
|
+
def TotalLatency(self):
|
|
580
|
+
r"""<p>总时延</p>
|
|
581
|
+
:rtype: int
|
|
582
|
+
"""
|
|
583
|
+
return self._TotalLatency
|
|
584
|
+
|
|
585
|
+
@TotalLatency.setter
|
|
586
|
+
def TotalLatency(self, TotalLatency):
|
|
587
|
+
self._TotalLatency = TotalLatency
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
def _deserialize(self, params):
|
|
591
|
+
self._AsrLatency = params.get("AsrLatency")
|
|
592
|
+
self._LLMFirstTokenLatency = params.get("LLMFirstTokenLatency")
|
|
593
|
+
self._TTSLatency = params.get("TTSLatency")
|
|
594
|
+
self._TotalLatency = params.get("TotalLatency")
|
|
595
|
+
memeber_set = set(params.keys())
|
|
596
|
+
for name, value in vars(self).items():
|
|
597
|
+
property_name = name[1:]
|
|
598
|
+
if property_name in memeber_set:
|
|
599
|
+
memeber_set.remove(property_name)
|
|
600
|
+
if len(memeber_set) > 0:
|
|
601
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
418
605
|
class AILatencyDetail(AbstractModel):
|
|
419
606
|
r"""AI时延明细
|
|
420
607
|
|
|
@@ -681,6 +868,227 @@ class AILatencyStatisticsInfo(AbstractModel):
|
|
|
681
868
|
|
|
682
869
|
|
|
683
870
|
|
|
871
|
+
class AIRoundMessage(AbstractModel):
|
|
872
|
+
r"""表示一轮对话中的用户和 AI 消息
|
|
873
|
+
|
|
874
|
+
"""
|
|
875
|
+
|
|
876
|
+
def __init__(self):
|
|
877
|
+
r"""
|
|
878
|
+
:param _Timestamp: <p>消息的毫秒级时间戳</p><p>单位:ms</p>
|
|
879
|
+
:type Timestamp: int
|
|
880
|
+
:param _UserReply: <p>用户消息</p>
|
|
881
|
+
:type UserReply: :class:`tencentcloud.ccc.v20200210.models.UserReplyEvent`
|
|
882
|
+
:param _AISpeak: <p>智能体响应消息</p>
|
|
883
|
+
:type AISpeak: :class:`tencentcloud.ccc.v20200210.models.AISpeakEvent`
|
|
884
|
+
"""
|
|
885
|
+
self._Timestamp = None
|
|
886
|
+
self._UserReply = None
|
|
887
|
+
self._AISpeak = None
|
|
888
|
+
|
|
889
|
+
@property
|
|
890
|
+
def Timestamp(self):
|
|
891
|
+
r"""<p>消息的毫秒级时间戳</p><p>单位:ms</p>
|
|
892
|
+
:rtype: int
|
|
893
|
+
"""
|
|
894
|
+
return self._Timestamp
|
|
895
|
+
|
|
896
|
+
@Timestamp.setter
|
|
897
|
+
def Timestamp(self, Timestamp):
|
|
898
|
+
self._Timestamp = Timestamp
|
|
899
|
+
|
|
900
|
+
@property
|
|
901
|
+
def UserReply(self):
|
|
902
|
+
r"""<p>用户消息</p>
|
|
903
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.UserReplyEvent`
|
|
904
|
+
"""
|
|
905
|
+
return self._UserReply
|
|
906
|
+
|
|
907
|
+
@UserReply.setter
|
|
908
|
+
def UserReply(self, UserReply):
|
|
909
|
+
self._UserReply = UserReply
|
|
910
|
+
|
|
911
|
+
@property
|
|
912
|
+
def AISpeak(self):
|
|
913
|
+
r"""<p>智能体响应消息</p>
|
|
914
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.AISpeakEvent`
|
|
915
|
+
"""
|
|
916
|
+
return self._AISpeak
|
|
917
|
+
|
|
918
|
+
@AISpeak.setter
|
|
919
|
+
def AISpeak(self, AISpeak):
|
|
920
|
+
self._AISpeak = AISpeak
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
def _deserialize(self, params):
|
|
924
|
+
self._Timestamp = params.get("Timestamp")
|
|
925
|
+
if params.get("UserReply") is not None:
|
|
926
|
+
self._UserReply = UserReplyEvent()
|
|
927
|
+
self._UserReply._deserialize(params.get("UserReply"))
|
|
928
|
+
if params.get("AISpeak") is not None:
|
|
929
|
+
self._AISpeak = AISpeakEvent()
|
|
930
|
+
self._AISpeak._deserialize(params.get("AISpeak"))
|
|
931
|
+
memeber_set = set(params.keys())
|
|
932
|
+
for name, value in vars(self).items():
|
|
933
|
+
property_name = name[1:]
|
|
934
|
+
if property_name in memeber_set:
|
|
935
|
+
memeber_set.remove(property_name)
|
|
936
|
+
if len(memeber_set) > 0:
|
|
937
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
class AIRoundPath(AbstractModel):
|
|
942
|
+
r"""本轮对话在画布中经过的节点路径
|
|
943
|
+
|
|
944
|
+
"""
|
|
945
|
+
|
|
946
|
+
def __init__(self):
|
|
947
|
+
r"""
|
|
948
|
+
:param _NodeName: <p>画布中的节点名称</p>
|
|
949
|
+
:type NodeName: str
|
|
950
|
+
:param _NodeType: <p>画布中的节点类型</p><p>枚举值:</p><ul><li>DIALOGUE: 对话节点</li><li>API_CALL: 接口调用节点</li><li>TRANSFER: 转接节点</li><li>KEY_PRESS: 按键节点</li><li>END_CALL: 挂断节点</li></ul>
|
|
951
|
+
:type NodeType: str
|
|
952
|
+
:param _Timestamp: <p>经过当前节点的时间戳</p><p>单位:ms</p>
|
|
953
|
+
:type Timestamp: int
|
|
954
|
+
"""
|
|
955
|
+
self._NodeName = None
|
|
956
|
+
self._NodeType = None
|
|
957
|
+
self._Timestamp = None
|
|
958
|
+
|
|
959
|
+
@property
|
|
960
|
+
def NodeName(self):
|
|
961
|
+
r"""<p>画布中的节点名称</p>
|
|
962
|
+
:rtype: str
|
|
963
|
+
"""
|
|
964
|
+
return self._NodeName
|
|
965
|
+
|
|
966
|
+
@NodeName.setter
|
|
967
|
+
def NodeName(self, NodeName):
|
|
968
|
+
self._NodeName = NodeName
|
|
969
|
+
|
|
970
|
+
@property
|
|
971
|
+
def NodeType(self):
|
|
972
|
+
r"""<p>画布中的节点类型</p><p>枚举值:</p><ul><li>DIALOGUE: 对话节点</li><li>API_CALL: 接口调用节点</li><li>TRANSFER: 转接节点</li><li>KEY_PRESS: 按键节点</li><li>END_CALL: 挂断节点</li></ul>
|
|
973
|
+
:rtype: str
|
|
974
|
+
"""
|
|
975
|
+
return self._NodeType
|
|
976
|
+
|
|
977
|
+
@NodeType.setter
|
|
978
|
+
def NodeType(self, NodeType):
|
|
979
|
+
self._NodeType = NodeType
|
|
980
|
+
|
|
981
|
+
@property
|
|
982
|
+
def Timestamp(self):
|
|
983
|
+
r"""<p>经过当前节点的时间戳</p><p>单位:ms</p>
|
|
984
|
+
:rtype: int
|
|
985
|
+
"""
|
|
986
|
+
return self._Timestamp
|
|
987
|
+
|
|
988
|
+
@Timestamp.setter
|
|
989
|
+
def Timestamp(self, Timestamp):
|
|
990
|
+
self._Timestamp = Timestamp
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
def _deserialize(self, params):
|
|
994
|
+
self._NodeName = params.get("NodeName")
|
|
995
|
+
self._NodeType = params.get("NodeType")
|
|
996
|
+
self._Timestamp = params.get("Timestamp")
|
|
997
|
+
memeber_set = set(params.keys())
|
|
998
|
+
for name, value in vars(self).items():
|
|
999
|
+
property_name = name[1:]
|
|
1000
|
+
if property_name in memeber_set:
|
|
1001
|
+
memeber_set.remove(property_name)
|
|
1002
|
+
if len(memeber_set) > 0:
|
|
1003
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
class AISpeakEvent(AbstractModel):
|
|
1008
|
+
r"""智能体发言事件
|
|
1009
|
+
|
|
1010
|
+
"""
|
|
1011
|
+
|
|
1012
|
+
def __init__(self):
|
|
1013
|
+
r"""
|
|
1014
|
+
:param _CanBeInterrupted: <p>本次话术是否允许被用户VAD打断</p>
|
|
1015
|
+
:type CanBeInterrupted: bool
|
|
1016
|
+
:param _SpokenText: <p>智能体播报的话术文本内容</p>
|
|
1017
|
+
:type SpokenText: str
|
|
1018
|
+
:param _SpokenType: <p>智能体发言类型</p><p>枚举值:</p><ul><li>Script: 智能体话术</li><li>KnowledgeBase: 知识库</li><li>LLMFallback: 大模型兜底</li><li>NoResponseTip: 无响应提示</li><li>智能追问: SmartFollowUp</li><li>FAQ: FAQ</li><li>转人工 - 排队等待音: TransferWaitingPrompt</li><li>无响应挂断前放音: PlayNoResponseEndPrompt</li><li>转人工 - 排队前放音: PlayQueuePrompt</li><li>转人工 - 接待前放音: PlayPromptBeforeReception</li><li>转人工 - 排队超时放音: PlayQueueTimeoutPrompt</li><li>转人工 - 转人工失败放音: PlayTransferFailPrompt</li><li>DTMF收号(按键用户输入): Dtmf</li><li>按键节点 - 播放提示音: PlayDtmfPrompt</li><li>按键节点 - 输入错误提示音: PlayInvalidDtmfPrompt</li><li>按键节点 - 超时提示音: PlayDtmfTimeoutPrompt</li><li>其他类型: Other</li></ul>
|
|
1019
|
+
:type SpokenType: str
|
|
1020
|
+
:param _LatencyMetrics: <p>本次响应生成的时延结果</p>
|
|
1021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1022
|
+
:type LatencyMetrics: :class:`tencentcloud.ccc.v20200210.models.AICallLatencyMetrics`
|
|
1023
|
+
"""
|
|
1024
|
+
self._CanBeInterrupted = None
|
|
1025
|
+
self._SpokenText = None
|
|
1026
|
+
self._SpokenType = None
|
|
1027
|
+
self._LatencyMetrics = None
|
|
1028
|
+
|
|
1029
|
+
@property
|
|
1030
|
+
def CanBeInterrupted(self):
|
|
1031
|
+
r"""<p>本次话术是否允许被用户VAD打断</p>
|
|
1032
|
+
:rtype: bool
|
|
1033
|
+
"""
|
|
1034
|
+
return self._CanBeInterrupted
|
|
1035
|
+
|
|
1036
|
+
@CanBeInterrupted.setter
|
|
1037
|
+
def CanBeInterrupted(self, CanBeInterrupted):
|
|
1038
|
+
self._CanBeInterrupted = CanBeInterrupted
|
|
1039
|
+
|
|
1040
|
+
@property
|
|
1041
|
+
def SpokenText(self):
|
|
1042
|
+
r"""<p>智能体播报的话术文本内容</p>
|
|
1043
|
+
:rtype: str
|
|
1044
|
+
"""
|
|
1045
|
+
return self._SpokenText
|
|
1046
|
+
|
|
1047
|
+
@SpokenText.setter
|
|
1048
|
+
def SpokenText(self, SpokenText):
|
|
1049
|
+
self._SpokenText = SpokenText
|
|
1050
|
+
|
|
1051
|
+
@property
|
|
1052
|
+
def SpokenType(self):
|
|
1053
|
+
r"""<p>智能体发言类型</p><p>枚举值:</p><ul><li>Script: 智能体话术</li><li>KnowledgeBase: 知识库</li><li>LLMFallback: 大模型兜底</li><li>NoResponseTip: 无响应提示</li><li>智能追问: SmartFollowUp</li><li>FAQ: FAQ</li><li>转人工 - 排队等待音: TransferWaitingPrompt</li><li>无响应挂断前放音: PlayNoResponseEndPrompt</li><li>转人工 - 排队前放音: PlayQueuePrompt</li><li>转人工 - 接待前放音: PlayPromptBeforeReception</li><li>转人工 - 排队超时放音: PlayQueueTimeoutPrompt</li><li>转人工 - 转人工失败放音: PlayTransferFailPrompt</li><li>DTMF收号(按键用户输入): Dtmf</li><li>按键节点 - 播放提示音: PlayDtmfPrompt</li><li>按键节点 - 输入错误提示音: PlayInvalidDtmfPrompt</li><li>按键节点 - 超时提示音: PlayDtmfTimeoutPrompt</li><li>其他类型: Other</li></ul>
|
|
1054
|
+
:rtype: str
|
|
1055
|
+
"""
|
|
1056
|
+
return self._SpokenType
|
|
1057
|
+
|
|
1058
|
+
@SpokenType.setter
|
|
1059
|
+
def SpokenType(self, SpokenType):
|
|
1060
|
+
self._SpokenType = SpokenType
|
|
1061
|
+
|
|
1062
|
+
@property
|
|
1063
|
+
def LatencyMetrics(self):
|
|
1064
|
+
r"""<p>本次响应生成的时延结果</p>
|
|
1065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1066
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.AICallLatencyMetrics`
|
|
1067
|
+
"""
|
|
1068
|
+
return self._LatencyMetrics
|
|
1069
|
+
|
|
1070
|
+
@LatencyMetrics.setter
|
|
1071
|
+
def LatencyMetrics(self, LatencyMetrics):
|
|
1072
|
+
self._LatencyMetrics = LatencyMetrics
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
def _deserialize(self, params):
|
|
1076
|
+
self._CanBeInterrupted = params.get("CanBeInterrupted")
|
|
1077
|
+
self._SpokenText = params.get("SpokenText")
|
|
1078
|
+
self._SpokenType = params.get("SpokenType")
|
|
1079
|
+
if params.get("LatencyMetrics") is not None:
|
|
1080
|
+
self._LatencyMetrics = AICallLatencyMetrics()
|
|
1081
|
+
self._LatencyMetrics._deserialize(params.get("LatencyMetrics"))
|
|
1082
|
+
memeber_set = set(params.keys())
|
|
1083
|
+
for name, value in vars(self).items():
|
|
1084
|
+
property_name = name[1:]
|
|
1085
|
+
if property_name in memeber_set:
|
|
1086
|
+
memeber_set.remove(property_name)
|
|
1087
|
+
if len(memeber_set) > 0:
|
|
1088
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
684
1092
|
class AITransferItem(AbstractModel):
|
|
685
1093
|
r"""AI转人工配置项
|
|
686
1094
|
|
|
@@ -7542,6 +7950,105 @@ class DescribeAICallExtractResultResponse(AbstractModel):
|
|
|
7542
7950
|
self._RequestId = params.get("RequestId")
|
|
7543
7951
|
|
|
7544
7952
|
|
|
7953
|
+
class DescribeAICallInteractionRecordsRequest(AbstractModel):
|
|
7954
|
+
r"""DescribeAICallInteractionRecords请求参数结构体
|
|
7955
|
+
|
|
7956
|
+
"""
|
|
7957
|
+
|
|
7958
|
+
def __init__(self):
|
|
7959
|
+
r"""
|
|
7960
|
+
:param _SdkAppId: <p>应用 ID,可以查看 https://console.cloud.tencent.com/ccc。</p>
|
|
7961
|
+
:type SdkAppId: int
|
|
7962
|
+
:param _SessionId: <p>查询的会话SessionID</p>
|
|
7963
|
+
:type SessionId: str
|
|
7964
|
+
"""
|
|
7965
|
+
self._SdkAppId = None
|
|
7966
|
+
self._SessionId = None
|
|
7967
|
+
|
|
7968
|
+
@property
|
|
7969
|
+
def SdkAppId(self):
|
|
7970
|
+
r"""<p>应用 ID,可以查看 https://console.cloud.tencent.com/ccc。</p>
|
|
7971
|
+
:rtype: int
|
|
7972
|
+
"""
|
|
7973
|
+
return self._SdkAppId
|
|
7974
|
+
|
|
7975
|
+
@SdkAppId.setter
|
|
7976
|
+
def SdkAppId(self, SdkAppId):
|
|
7977
|
+
self._SdkAppId = SdkAppId
|
|
7978
|
+
|
|
7979
|
+
@property
|
|
7980
|
+
def SessionId(self):
|
|
7981
|
+
r"""<p>查询的会话SessionID</p>
|
|
7982
|
+
:rtype: str
|
|
7983
|
+
"""
|
|
7984
|
+
return self._SessionId
|
|
7985
|
+
|
|
7986
|
+
@SessionId.setter
|
|
7987
|
+
def SessionId(self, SessionId):
|
|
7988
|
+
self._SessionId = SessionId
|
|
7989
|
+
|
|
7990
|
+
|
|
7991
|
+
def _deserialize(self, params):
|
|
7992
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
7993
|
+
self._SessionId = params.get("SessionId")
|
|
7994
|
+
memeber_set = set(params.keys())
|
|
7995
|
+
for name, value in vars(self).items():
|
|
7996
|
+
property_name = name[1:]
|
|
7997
|
+
if property_name in memeber_set:
|
|
7998
|
+
memeber_set.remove(property_name)
|
|
7999
|
+
if len(memeber_set) > 0:
|
|
8000
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8001
|
+
|
|
8002
|
+
|
|
8003
|
+
|
|
8004
|
+
class DescribeAICallInteractionRecordsResponse(AbstractModel):
|
|
8005
|
+
r"""DescribeAICallInteractionRecords返回参数结构体
|
|
8006
|
+
|
|
8007
|
+
"""
|
|
8008
|
+
|
|
8009
|
+
def __init__(self):
|
|
8010
|
+
r"""
|
|
8011
|
+
:param _InteractionEventList: <p>返回的会话交互结果</p>
|
|
8012
|
+
:type InteractionEventList: list of AICallInteractionRound
|
|
8013
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8014
|
+
:type RequestId: str
|
|
8015
|
+
"""
|
|
8016
|
+
self._InteractionEventList = None
|
|
8017
|
+
self._RequestId = None
|
|
8018
|
+
|
|
8019
|
+
@property
|
|
8020
|
+
def InteractionEventList(self):
|
|
8021
|
+
r"""<p>返回的会话交互结果</p>
|
|
8022
|
+
:rtype: list of AICallInteractionRound
|
|
8023
|
+
"""
|
|
8024
|
+
return self._InteractionEventList
|
|
8025
|
+
|
|
8026
|
+
@InteractionEventList.setter
|
|
8027
|
+
def InteractionEventList(self, InteractionEventList):
|
|
8028
|
+
self._InteractionEventList = InteractionEventList
|
|
8029
|
+
|
|
8030
|
+
@property
|
|
8031
|
+
def RequestId(self):
|
|
8032
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8033
|
+
:rtype: str
|
|
8034
|
+
"""
|
|
8035
|
+
return self._RequestId
|
|
8036
|
+
|
|
8037
|
+
@RequestId.setter
|
|
8038
|
+
def RequestId(self, RequestId):
|
|
8039
|
+
self._RequestId = RequestId
|
|
8040
|
+
|
|
8041
|
+
|
|
8042
|
+
def _deserialize(self, params):
|
|
8043
|
+
if params.get("InteractionEventList") is not None:
|
|
8044
|
+
self._InteractionEventList = []
|
|
8045
|
+
for item in params.get("InteractionEventList"):
|
|
8046
|
+
obj = AICallInteractionRound()
|
|
8047
|
+
obj._deserialize(item)
|
|
8048
|
+
self._InteractionEventList.append(obj)
|
|
8049
|
+
self._RequestId = params.get("RequestId")
|
|
8050
|
+
|
|
8051
|
+
|
|
7545
8052
|
class DescribeAILatencyRequest(AbstractModel):
|
|
7546
8053
|
r"""DescribeAILatency请求参数结构体
|
|
7547
8054
|
|
|
@@ -10619,9 +11126,9 @@ class DescribePredictiveDialingCampaignRequest(AbstractModel):
|
|
|
10619
11126
|
|
|
10620
11127
|
def __init__(self):
|
|
10621
11128
|
r"""
|
|
10622
|
-
:param _SdkAppId:
|
|
11129
|
+
:param _SdkAppId: <p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
10623
11130
|
:type SdkAppId: int
|
|
10624
|
-
:param _CampaignId:
|
|
11131
|
+
:param _CampaignId: <p>任务 ID</p>
|
|
10625
11132
|
:type CampaignId: int
|
|
10626
11133
|
"""
|
|
10627
11134
|
self._SdkAppId = None
|
|
@@ -10629,7 +11136,7 @@ class DescribePredictiveDialingCampaignRequest(AbstractModel):
|
|
|
10629
11136
|
|
|
10630
11137
|
@property
|
|
10631
11138
|
def SdkAppId(self):
|
|
10632
|
-
r"""
|
|
11139
|
+
r"""<p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
10633
11140
|
:rtype: int
|
|
10634
11141
|
"""
|
|
10635
11142
|
return self._SdkAppId
|
|
@@ -10640,7 +11147,7 @@ class DescribePredictiveDialingCampaignRequest(AbstractModel):
|
|
|
10640
11147
|
|
|
10641
11148
|
@property
|
|
10642
11149
|
def CampaignId(self):
|
|
10643
|
-
r"""
|
|
11150
|
+
r"""<p>任务 ID</p>
|
|
10644
11151
|
:rtype: int
|
|
10645
11152
|
"""
|
|
10646
11153
|
return self._CampaignId
|
|
@@ -10670,28 +11177,36 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10670
11177
|
|
|
10671
11178
|
def __init__(self):
|
|
10672
11179
|
r"""
|
|
10673
|
-
:param _CampaignId:
|
|
11180
|
+
:param _CampaignId: <p>任务 ID</p>
|
|
10674
11181
|
:type CampaignId: int
|
|
10675
|
-
:param _Name:
|
|
11182
|
+
:param _Name: <p>任务名称</p>
|
|
10676
11183
|
:type Name: str
|
|
10677
|
-
:param _CallOrder:
|
|
11184
|
+
:param _CallOrder: <p>被叫呼叫顺序 0 随机 1 顺序</p>
|
|
10678
11185
|
:type CallOrder: int
|
|
10679
|
-
:param _SkillGroupId:
|
|
11186
|
+
:param _SkillGroupId: <p>使用的座席技能组 ID</p>
|
|
10680
11187
|
:type SkillGroupId: int
|
|
10681
|
-
:param _IVRId:
|
|
11188
|
+
:param _IVRId: <p>指定的 IVR ID</p>
|
|
10682
11189
|
:type IVRId: int
|
|
10683
|
-
:param _Priority:
|
|
11190
|
+
:param _Priority: <p>相同应用内多个任务运行优先级,从高到底 1 - 5</p>
|
|
10684
11191
|
:type Priority: int
|
|
10685
|
-
:param _ExpectedAbandonRate:
|
|
11192
|
+
:param _ExpectedAbandonRate: <p>预期呼损率,百分比,5 - 50</p>
|
|
10686
11193
|
:type ExpectedAbandonRate: int
|
|
10687
|
-
:param _RetryTimes:
|
|
11194
|
+
:param _RetryTimes: <p>呼叫重试次数,0 - 2</p>
|
|
10688
11195
|
:type RetryTimes: int
|
|
10689
|
-
:param _RetryInterval:
|
|
11196
|
+
:param _RetryInterval: <p>呼叫重试间隔时间,单位秒,60 - 86400</p>
|
|
10690
11197
|
:type RetryInterval: int
|
|
10691
|
-
:param _StartTime:
|
|
11198
|
+
:param _StartTime: <p>任务启动时间,Unix 时间戳,到此时间后会自动启动任务</p>
|
|
10692
11199
|
:type StartTime: int
|
|
10693
|
-
:param _EndTime:
|
|
11200
|
+
:param _EndTime: <p>任务结束时间,Unix 时间戳,到此时间后会自动终止任务</p>
|
|
10694
11201
|
:type EndTime: int
|
|
11202
|
+
:param _Variables: <p>自定义变量</p>
|
|
11203
|
+
:type Variables: list of Variable
|
|
11204
|
+
:param _UUI: <p>UUI</p>
|
|
11205
|
+
:type UUI: str
|
|
11206
|
+
:param _Status: <p>任务状态</p><p>枚举值:</p><ul><li>0: 待开始 </li><li>1: 进行中</li><li>2: 已暂停</li><li>3: 已终止</li><li>4: 已完成</li></ul>
|
|
11207
|
+
:type Status: int
|
|
11208
|
+
:param _StatusReason: <p>任务状态原因 0 正常 1 手动结束 2 超时结束</p>
|
|
11209
|
+
:type StatusReason: int
|
|
10695
11210
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10696
11211
|
:type RequestId: str
|
|
10697
11212
|
"""
|
|
@@ -10706,11 +11221,15 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10706
11221
|
self._RetryInterval = None
|
|
10707
11222
|
self._StartTime = None
|
|
10708
11223
|
self._EndTime = None
|
|
11224
|
+
self._Variables = None
|
|
11225
|
+
self._UUI = None
|
|
11226
|
+
self._Status = None
|
|
11227
|
+
self._StatusReason = None
|
|
10709
11228
|
self._RequestId = None
|
|
10710
11229
|
|
|
10711
11230
|
@property
|
|
10712
11231
|
def CampaignId(self):
|
|
10713
|
-
r"""
|
|
11232
|
+
r"""<p>任务 ID</p>
|
|
10714
11233
|
:rtype: int
|
|
10715
11234
|
"""
|
|
10716
11235
|
return self._CampaignId
|
|
@@ -10721,7 +11240,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10721
11240
|
|
|
10722
11241
|
@property
|
|
10723
11242
|
def Name(self):
|
|
10724
|
-
r"""
|
|
11243
|
+
r"""<p>任务名称</p>
|
|
10725
11244
|
:rtype: str
|
|
10726
11245
|
"""
|
|
10727
11246
|
return self._Name
|
|
@@ -10732,7 +11251,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10732
11251
|
|
|
10733
11252
|
@property
|
|
10734
11253
|
def CallOrder(self):
|
|
10735
|
-
r"""
|
|
11254
|
+
r"""<p>被叫呼叫顺序 0 随机 1 顺序</p>
|
|
10736
11255
|
:rtype: int
|
|
10737
11256
|
"""
|
|
10738
11257
|
return self._CallOrder
|
|
@@ -10743,7 +11262,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10743
11262
|
|
|
10744
11263
|
@property
|
|
10745
11264
|
def SkillGroupId(self):
|
|
10746
|
-
r"""
|
|
11265
|
+
r"""<p>使用的座席技能组 ID</p>
|
|
10747
11266
|
:rtype: int
|
|
10748
11267
|
"""
|
|
10749
11268
|
return self._SkillGroupId
|
|
@@ -10754,7 +11273,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10754
11273
|
|
|
10755
11274
|
@property
|
|
10756
11275
|
def IVRId(self):
|
|
10757
|
-
r"""
|
|
11276
|
+
r"""<p>指定的 IVR ID</p>
|
|
10758
11277
|
:rtype: int
|
|
10759
11278
|
"""
|
|
10760
11279
|
return self._IVRId
|
|
@@ -10765,7 +11284,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10765
11284
|
|
|
10766
11285
|
@property
|
|
10767
11286
|
def Priority(self):
|
|
10768
|
-
r"""
|
|
11287
|
+
r"""<p>相同应用内多个任务运行优先级,从高到底 1 - 5</p>
|
|
10769
11288
|
:rtype: int
|
|
10770
11289
|
"""
|
|
10771
11290
|
return self._Priority
|
|
@@ -10776,7 +11295,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10776
11295
|
|
|
10777
11296
|
@property
|
|
10778
11297
|
def ExpectedAbandonRate(self):
|
|
10779
|
-
r"""
|
|
11298
|
+
r"""<p>预期呼损率,百分比,5 - 50</p>
|
|
10780
11299
|
:rtype: int
|
|
10781
11300
|
"""
|
|
10782
11301
|
return self._ExpectedAbandonRate
|
|
@@ -10787,7 +11306,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10787
11306
|
|
|
10788
11307
|
@property
|
|
10789
11308
|
def RetryTimes(self):
|
|
10790
|
-
r"""
|
|
11309
|
+
r"""<p>呼叫重试次数,0 - 2</p>
|
|
10791
11310
|
:rtype: int
|
|
10792
11311
|
"""
|
|
10793
11312
|
return self._RetryTimes
|
|
@@ -10798,7 +11317,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10798
11317
|
|
|
10799
11318
|
@property
|
|
10800
11319
|
def RetryInterval(self):
|
|
10801
|
-
r"""
|
|
11320
|
+
r"""<p>呼叫重试间隔时间,单位秒,60 - 86400</p>
|
|
10802
11321
|
:rtype: int
|
|
10803
11322
|
"""
|
|
10804
11323
|
return self._RetryInterval
|
|
@@ -10809,7 +11328,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10809
11328
|
|
|
10810
11329
|
@property
|
|
10811
11330
|
def StartTime(self):
|
|
10812
|
-
r"""
|
|
11331
|
+
r"""<p>任务启动时间,Unix 时间戳,到此时间后会自动启动任务</p>
|
|
10813
11332
|
:rtype: int
|
|
10814
11333
|
"""
|
|
10815
11334
|
return self._StartTime
|
|
@@ -10820,7 +11339,7 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10820
11339
|
|
|
10821
11340
|
@property
|
|
10822
11341
|
def EndTime(self):
|
|
10823
|
-
r"""
|
|
11342
|
+
r"""<p>任务结束时间,Unix 时间戳,到此时间后会自动终止任务</p>
|
|
10824
11343
|
:rtype: int
|
|
10825
11344
|
"""
|
|
10826
11345
|
return self._EndTime
|
|
@@ -10829,6 +11348,50 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10829
11348
|
def EndTime(self, EndTime):
|
|
10830
11349
|
self._EndTime = EndTime
|
|
10831
11350
|
|
|
11351
|
+
@property
|
|
11352
|
+
def Variables(self):
|
|
11353
|
+
r"""<p>自定义变量</p>
|
|
11354
|
+
:rtype: list of Variable
|
|
11355
|
+
"""
|
|
11356
|
+
return self._Variables
|
|
11357
|
+
|
|
11358
|
+
@Variables.setter
|
|
11359
|
+
def Variables(self, Variables):
|
|
11360
|
+
self._Variables = Variables
|
|
11361
|
+
|
|
11362
|
+
@property
|
|
11363
|
+
def UUI(self):
|
|
11364
|
+
r"""<p>UUI</p>
|
|
11365
|
+
:rtype: str
|
|
11366
|
+
"""
|
|
11367
|
+
return self._UUI
|
|
11368
|
+
|
|
11369
|
+
@UUI.setter
|
|
11370
|
+
def UUI(self, UUI):
|
|
11371
|
+
self._UUI = UUI
|
|
11372
|
+
|
|
11373
|
+
@property
|
|
11374
|
+
def Status(self):
|
|
11375
|
+
r"""<p>任务状态</p><p>枚举值:</p><ul><li>0: 待开始 </li><li>1: 进行中</li><li>2: 已暂停</li><li>3: 已终止</li><li>4: 已完成</li></ul>
|
|
11376
|
+
:rtype: int
|
|
11377
|
+
"""
|
|
11378
|
+
return self._Status
|
|
11379
|
+
|
|
11380
|
+
@Status.setter
|
|
11381
|
+
def Status(self, Status):
|
|
11382
|
+
self._Status = Status
|
|
11383
|
+
|
|
11384
|
+
@property
|
|
11385
|
+
def StatusReason(self):
|
|
11386
|
+
r"""<p>任务状态原因 0 正常 1 手动结束 2 超时结束</p>
|
|
11387
|
+
:rtype: int
|
|
11388
|
+
"""
|
|
11389
|
+
return self._StatusReason
|
|
11390
|
+
|
|
11391
|
+
@StatusReason.setter
|
|
11392
|
+
def StatusReason(self, StatusReason):
|
|
11393
|
+
self._StatusReason = StatusReason
|
|
11394
|
+
|
|
10832
11395
|
@property
|
|
10833
11396
|
def RequestId(self):
|
|
10834
11397
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10853,6 +11416,15 @@ class DescribePredictiveDialingCampaignResponse(AbstractModel):
|
|
|
10853
11416
|
self._RetryInterval = params.get("RetryInterval")
|
|
10854
11417
|
self._StartTime = params.get("StartTime")
|
|
10855
11418
|
self._EndTime = params.get("EndTime")
|
|
11419
|
+
if params.get("Variables") is not None:
|
|
11420
|
+
self._Variables = []
|
|
11421
|
+
for item in params.get("Variables"):
|
|
11422
|
+
obj = Variable()
|
|
11423
|
+
obj._deserialize(item)
|
|
11424
|
+
self._Variables.append(obj)
|
|
11425
|
+
self._UUI = params.get("UUI")
|
|
11426
|
+
self._Status = params.get("Status")
|
|
11427
|
+
self._StatusReason = params.get("StatusReason")
|
|
10856
11428
|
self._RequestId = params.get("RequestId")
|
|
10857
11429
|
|
|
10858
11430
|
|
|
@@ -11004,26 +11576,29 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11004
11576
|
|
|
11005
11577
|
def __init__(self):
|
|
11006
11578
|
r"""
|
|
11007
|
-
:param _SdkAppId:
|
|
11579
|
+
:param _SdkAppId: <p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
11008
11580
|
:type SdkAppId: int
|
|
11009
|
-
:param _PageSize:
|
|
11581
|
+
:param _PageSize: <p>分页尺寸,最大为 100</p>
|
|
11010
11582
|
:type PageSize: int
|
|
11011
|
-
:param _PageNumber:
|
|
11583
|
+
:param _PageNumber: <p>分页页码,从 0 开始</p>
|
|
11012
11584
|
:type PageNumber: int
|
|
11013
|
-
:param _Name:
|
|
11585
|
+
:param _Name: <p>查询任务列表名称关键字</p>
|
|
11014
11586
|
:type Name: str
|
|
11015
|
-
:param _SkillGroupId:
|
|
11587
|
+
:param _SkillGroupId: <p>查询任务列表技能组 ID</p>
|
|
11016
11588
|
:type SkillGroupId: int
|
|
11589
|
+
:param _CampaignId: <p>任务 ID</p>
|
|
11590
|
+
:type CampaignId: int
|
|
11017
11591
|
"""
|
|
11018
11592
|
self._SdkAppId = None
|
|
11019
11593
|
self._PageSize = None
|
|
11020
11594
|
self._PageNumber = None
|
|
11021
11595
|
self._Name = None
|
|
11022
11596
|
self._SkillGroupId = None
|
|
11597
|
+
self._CampaignId = None
|
|
11023
11598
|
|
|
11024
11599
|
@property
|
|
11025
11600
|
def SdkAppId(self):
|
|
11026
|
-
r"""
|
|
11601
|
+
r"""<p>应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc</p>
|
|
11027
11602
|
:rtype: int
|
|
11028
11603
|
"""
|
|
11029
11604
|
return self._SdkAppId
|
|
@@ -11034,7 +11609,7 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11034
11609
|
|
|
11035
11610
|
@property
|
|
11036
11611
|
def PageSize(self):
|
|
11037
|
-
r"""
|
|
11612
|
+
r"""<p>分页尺寸,最大为 100</p>
|
|
11038
11613
|
:rtype: int
|
|
11039
11614
|
"""
|
|
11040
11615
|
return self._PageSize
|
|
@@ -11045,7 +11620,7 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11045
11620
|
|
|
11046
11621
|
@property
|
|
11047
11622
|
def PageNumber(self):
|
|
11048
|
-
r"""
|
|
11623
|
+
r"""<p>分页页码,从 0 开始</p>
|
|
11049
11624
|
:rtype: int
|
|
11050
11625
|
"""
|
|
11051
11626
|
return self._PageNumber
|
|
@@ -11056,7 +11631,7 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11056
11631
|
|
|
11057
11632
|
@property
|
|
11058
11633
|
def Name(self):
|
|
11059
|
-
r"""
|
|
11634
|
+
r"""<p>查询任务列表名称关键字</p>
|
|
11060
11635
|
:rtype: str
|
|
11061
11636
|
"""
|
|
11062
11637
|
return self._Name
|
|
@@ -11067,7 +11642,7 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11067
11642
|
|
|
11068
11643
|
@property
|
|
11069
11644
|
def SkillGroupId(self):
|
|
11070
|
-
r"""
|
|
11645
|
+
r"""<p>查询任务列表技能组 ID</p>
|
|
11071
11646
|
:rtype: int
|
|
11072
11647
|
"""
|
|
11073
11648
|
return self._SkillGroupId
|
|
@@ -11076,6 +11651,17 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11076
11651
|
def SkillGroupId(self, SkillGroupId):
|
|
11077
11652
|
self._SkillGroupId = SkillGroupId
|
|
11078
11653
|
|
|
11654
|
+
@property
|
|
11655
|
+
def CampaignId(self):
|
|
11656
|
+
r"""<p>任务 ID</p>
|
|
11657
|
+
:rtype: int
|
|
11658
|
+
"""
|
|
11659
|
+
return self._CampaignId
|
|
11660
|
+
|
|
11661
|
+
@CampaignId.setter
|
|
11662
|
+
def CampaignId(self, CampaignId):
|
|
11663
|
+
self._CampaignId = CampaignId
|
|
11664
|
+
|
|
11079
11665
|
|
|
11080
11666
|
def _deserialize(self, params):
|
|
11081
11667
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -11083,6 +11669,7 @@ class DescribePredictiveDialingCampaignsRequest(AbstractModel):
|
|
|
11083
11669
|
self._PageNumber = params.get("PageNumber")
|
|
11084
11670
|
self._Name = params.get("Name")
|
|
11085
11671
|
self._SkillGroupId = params.get("SkillGroupId")
|
|
11672
|
+
self._CampaignId = params.get("CampaignId")
|
|
11086
11673
|
memeber_set = set(params.keys())
|
|
11087
11674
|
for name, value in vars(self).items():
|
|
11088
11675
|
property_name = name[1:]
|
|
@@ -11100,9 +11687,9 @@ class DescribePredictiveDialingCampaignsResponse(AbstractModel):
|
|
|
11100
11687
|
|
|
11101
11688
|
def __init__(self):
|
|
11102
11689
|
r"""
|
|
11103
|
-
:param _TotalCount:
|
|
11690
|
+
:param _TotalCount: <p>数据总量</p>
|
|
11104
11691
|
:type TotalCount: int
|
|
11105
|
-
:param _CampaignList:
|
|
11692
|
+
:param _CampaignList: <p>数据</p>
|
|
11106
11693
|
:type CampaignList: list of DescribePredictiveDialingCampaignsElement
|
|
11107
11694
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11108
11695
|
:type RequestId: str
|
|
@@ -11113,7 +11700,7 @@ class DescribePredictiveDialingCampaignsResponse(AbstractModel):
|
|
|
11113
11700
|
|
|
11114
11701
|
@property
|
|
11115
11702
|
def TotalCount(self):
|
|
11116
|
-
r"""
|
|
11703
|
+
r"""<p>数据总量</p>
|
|
11117
11704
|
:rtype: int
|
|
11118
11705
|
"""
|
|
11119
11706
|
return self._TotalCount
|
|
@@ -11124,7 +11711,7 @@ class DescribePredictiveDialingCampaignsResponse(AbstractModel):
|
|
|
11124
11711
|
|
|
11125
11712
|
@property
|
|
11126
11713
|
def CampaignList(self):
|
|
11127
|
-
r"""
|
|
11714
|
+
r"""<p>数据</p>
|
|
11128
11715
|
:rtype: list of DescribePredictiveDialingCampaignsElement
|
|
11129
11716
|
"""
|
|
11130
11717
|
return self._CampaignList
|
|
@@ -21657,6 +22244,87 @@ class UploadIvrAudioResponse(AbstractModel):
|
|
|
21657
22244
|
self._RequestId = params.get("RequestId")
|
|
21658
22245
|
|
|
21659
22246
|
|
|
22247
|
+
class UserReplyEvent(AbstractModel):
|
|
22248
|
+
r"""用户发言事件
|
|
22249
|
+
|
|
22250
|
+
"""
|
|
22251
|
+
|
|
22252
|
+
def __init__(self):
|
|
22253
|
+
r"""
|
|
22254
|
+
:param _ASRTranscript: <p>ASR语音识别引擎将用户语音转换成的原始文本结果</p>
|
|
22255
|
+
:type ASRTranscript: str
|
|
22256
|
+
:param _MatchedIntent: <p>命中画布中该对话节点配置的回复分类</p>
|
|
22257
|
+
:type MatchedIntent: str
|
|
22258
|
+
:param _ExtractedSlots: <p>用户回复分类的标签, json序列化后的信息</p>
|
|
22259
|
+
:type ExtractedSlots: str
|
|
22260
|
+
:param _BranchType: <p>用户回复命中的分支类型</p><p>枚举值:</p><ul><li>Intent: 用户意图</li><li>Fallback: 兜底分支</li><li>NoResponse: 无响应跳转分支</li><li>SlotCollectionSuccess: 词槽收集完成跳转分支</li><li>SlotCollectionFail: 词槽收集失败跳转分支</li><li>GlobalIntent: 全局节点意图</li><li>LogicAnd: 逻辑判断节点 and</li><li>LogicOr: 逻辑判断节点 or</li><li>DTMF成功: DTMFSuccess</li><li>DTMF失败: DTMFFail</li><li>DTMF导航: DTMFNavigation</li><li>DTMF分机: DTMFExtension</li><li>DTMF收号: DTMFCollection</li><li>转接智能体节点失败: TransferAgentFail</li></ul>
|
|
22261
|
+
:type BranchType: str
|
|
22262
|
+
"""
|
|
22263
|
+
self._ASRTranscript = None
|
|
22264
|
+
self._MatchedIntent = None
|
|
22265
|
+
self._ExtractedSlots = None
|
|
22266
|
+
self._BranchType = None
|
|
22267
|
+
|
|
22268
|
+
@property
|
|
22269
|
+
def ASRTranscript(self):
|
|
22270
|
+
r"""<p>ASR语音识别引擎将用户语音转换成的原始文本结果</p>
|
|
22271
|
+
:rtype: str
|
|
22272
|
+
"""
|
|
22273
|
+
return self._ASRTranscript
|
|
22274
|
+
|
|
22275
|
+
@ASRTranscript.setter
|
|
22276
|
+
def ASRTranscript(self, ASRTranscript):
|
|
22277
|
+
self._ASRTranscript = ASRTranscript
|
|
22278
|
+
|
|
22279
|
+
@property
|
|
22280
|
+
def MatchedIntent(self):
|
|
22281
|
+
r"""<p>命中画布中该对话节点配置的回复分类</p>
|
|
22282
|
+
:rtype: str
|
|
22283
|
+
"""
|
|
22284
|
+
return self._MatchedIntent
|
|
22285
|
+
|
|
22286
|
+
@MatchedIntent.setter
|
|
22287
|
+
def MatchedIntent(self, MatchedIntent):
|
|
22288
|
+
self._MatchedIntent = MatchedIntent
|
|
22289
|
+
|
|
22290
|
+
@property
|
|
22291
|
+
def ExtractedSlots(self):
|
|
22292
|
+
r"""<p>用户回复分类的标签, json序列化后的信息</p>
|
|
22293
|
+
:rtype: str
|
|
22294
|
+
"""
|
|
22295
|
+
return self._ExtractedSlots
|
|
22296
|
+
|
|
22297
|
+
@ExtractedSlots.setter
|
|
22298
|
+
def ExtractedSlots(self, ExtractedSlots):
|
|
22299
|
+
self._ExtractedSlots = ExtractedSlots
|
|
22300
|
+
|
|
22301
|
+
@property
|
|
22302
|
+
def BranchType(self):
|
|
22303
|
+
r"""<p>用户回复命中的分支类型</p><p>枚举值:</p><ul><li>Intent: 用户意图</li><li>Fallback: 兜底分支</li><li>NoResponse: 无响应跳转分支</li><li>SlotCollectionSuccess: 词槽收集完成跳转分支</li><li>SlotCollectionFail: 词槽收集失败跳转分支</li><li>GlobalIntent: 全局节点意图</li><li>LogicAnd: 逻辑判断节点 and</li><li>LogicOr: 逻辑判断节点 or</li><li>DTMF成功: DTMFSuccess</li><li>DTMF失败: DTMFFail</li><li>DTMF导航: DTMFNavigation</li><li>DTMF分机: DTMFExtension</li><li>DTMF收号: DTMFCollection</li><li>转接智能体节点失败: TransferAgentFail</li></ul>
|
|
22304
|
+
:rtype: str
|
|
22305
|
+
"""
|
|
22306
|
+
return self._BranchType
|
|
22307
|
+
|
|
22308
|
+
@BranchType.setter
|
|
22309
|
+
def BranchType(self, BranchType):
|
|
22310
|
+
self._BranchType = BranchType
|
|
22311
|
+
|
|
22312
|
+
|
|
22313
|
+
def _deserialize(self, params):
|
|
22314
|
+
self._ASRTranscript = params.get("ASRTranscript")
|
|
22315
|
+
self._MatchedIntent = params.get("MatchedIntent")
|
|
22316
|
+
self._ExtractedSlots = params.get("ExtractedSlots")
|
|
22317
|
+
self._BranchType = params.get("BranchType")
|
|
22318
|
+
memeber_set = set(params.keys())
|
|
22319
|
+
for name, value in vars(self).items():
|
|
22320
|
+
property_name = name[1:]
|
|
22321
|
+
if property_name in memeber_set:
|
|
22322
|
+
memeber_set.remove(property_name)
|
|
22323
|
+
if len(memeber_set) > 0:
|
|
22324
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22325
|
+
|
|
22326
|
+
|
|
22327
|
+
|
|
21660
22328
|
class Variable(AbstractModel):
|
|
21661
22329
|
r"""变量
|
|
21662
22330
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ccc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Ccc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.85
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|