tencentcloud-sdk-python 3.0.1173__py2.py3-none-any.whl → 3.0.1174__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/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +429 -0
- tencentcloud/cls/v20201016/models.py +14 -16
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/lcic/v20220817/models.py +4 -4
- tencentcloud/lighthouse/v20200324/models.py +1 -1
- tencentcloud/lke/v20231130/lke_client.py +11 -5
- tencentcloud/lke/v20231130/models.py +364 -69
- tencentcloud/ses/v20201002/models.py +24 -0
- tencentcloud/ses/v20201002/ses_client.py +0 -1
- tencentcloud/tdmq/v20200217/models.py +26 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/trtc/v20190722/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +12 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/RECORD +20 -20
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1174.dist-info}/top_level.txt +0 -0
@@ -280,11 +280,15 @@ class AppModel(AbstractModel):
|
|
280
280
|
:param _AliasName: 模型别名
|
281
281
|
注意:此字段可能返回 null,表示取不到有效值。
|
282
282
|
:type AliasName: str
|
283
|
+
:param _TokenBalance: token余量
|
284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
285
|
+
:type TokenBalance: float
|
283
286
|
"""
|
284
287
|
self._Name = None
|
285
288
|
self._Desc = None
|
286
289
|
self._ContextLimit = None
|
287
290
|
self._AliasName = None
|
291
|
+
self._TokenBalance = None
|
288
292
|
|
289
293
|
@property
|
290
294
|
def Name(self):
|
@@ -318,12 +322,21 @@ class AppModel(AbstractModel):
|
|
318
322
|
def AliasName(self, AliasName):
|
319
323
|
self._AliasName = AliasName
|
320
324
|
|
325
|
+
@property
|
326
|
+
def TokenBalance(self):
|
327
|
+
return self._TokenBalance
|
328
|
+
|
329
|
+
@TokenBalance.setter
|
330
|
+
def TokenBalance(self, TokenBalance):
|
331
|
+
self._TokenBalance = TokenBalance
|
332
|
+
|
321
333
|
|
322
334
|
def _deserialize(self, params):
|
323
335
|
self._Name = params.get("Name")
|
324
336
|
self._Desc = params.get("Desc")
|
325
337
|
self._ContextLimit = params.get("ContextLimit")
|
326
338
|
self._AliasName = params.get("AliasName")
|
339
|
+
self._TokenBalance = params.get("TokenBalance")
|
327
340
|
memeber_set = set(params.keys())
|
328
341
|
for name, value in vars(self).items():
|
329
342
|
property_name = name[1:]
|
@@ -725,7 +738,7 @@ class CheckAttributeLabelExistRequest(AbstractModel):
|
|
725
738
|
|
726
739
|
def __init__(self):
|
727
740
|
r"""
|
728
|
-
:param _BotBizId:
|
741
|
+
:param _BotBizId: 应用ID
|
729
742
|
:type BotBizId: str
|
730
743
|
:param _LabelName: 属性名称
|
731
744
|
:type LabelName: str
|
@@ -855,7 +868,7 @@ class CheckAttributeLabelReferRequest(AbstractModel):
|
|
855
868
|
|
856
869
|
def __init__(self):
|
857
870
|
r"""
|
858
|
-
:param _BotBizId:
|
871
|
+
:param _BotBizId: 应用ID
|
859
872
|
:type BotBizId: str
|
860
873
|
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
861
874
|
:type LoginUin: str
|
@@ -1115,12 +1128,16 @@ class Context(AbstractModel):
|
|
1115
1128
|
:param _Content: 消息内容
|
1116
1129
|
注意:此字段可能返回 null,表示取不到有效值。
|
1117
1130
|
:type Content: str
|
1131
|
+
:param _FileInfos: 文档信息
|
1132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1133
|
+
:type FileInfos: list of MsgFileInfo
|
1118
1134
|
"""
|
1119
1135
|
self._RecordBizId = None
|
1120
1136
|
self._IsVisitor = None
|
1121
1137
|
self._NickName = None
|
1122
1138
|
self._Avatar = None
|
1123
1139
|
self._Content = None
|
1140
|
+
self._FileInfos = None
|
1124
1141
|
|
1125
1142
|
@property
|
1126
1143
|
def RecordBizId(self):
|
@@ -1162,6 +1179,14 @@ class Context(AbstractModel):
|
|
1162
1179
|
def Content(self, Content):
|
1163
1180
|
self._Content = Content
|
1164
1181
|
|
1182
|
+
@property
|
1183
|
+
def FileInfos(self):
|
1184
|
+
return self._FileInfos
|
1185
|
+
|
1186
|
+
@FileInfos.setter
|
1187
|
+
def FileInfos(self, FileInfos):
|
1188
|
+
self._FileInfos = FileInfos
|
1189
|
+
|
1165
1190
|
|
1166
1191
|
def _deserialize(self, params):
|
1167
1192
|
self._RecordBizId = params.get("RecordBizId")
|
@@ -1169,6 +1194,12 @@ class Context(AbstractModel):
|
|
1169
1194
|
self._NickName = params.get("NickName")
|
1170
1195
|
self._Avatar = params.get("Avatar")
|
1171
1196
|
self._Content = params.get("Content")
|
1197
|
+
if params.get("FileInfos") is not None:
|
1198
|
+
self._FileInfos = []
|
1199
|
+
for item in params.get("FileInfos"):
|
1200
|
+
obj = MsgFileInfo()
|
1201
|
+
obj._deserialize(item)
|
1202
|
+
self._FileInfos.append(obj)
|
1172
1203
|
memeber_set = set(params.keys())
|
1173
1204
|
for name, value in vars(self).items():
|
1174
1205
|
property_name = name[1:]
|
@@ -1316,7 +1347,7 @@ class CreateAttributeLabelRequest(AbstractModel):
|
|
1316
1347
|
|
1317
1348
|
def __init__(self):
|
1318
1349
|
r"""
|
1319
|
-
:param _BotBizId:
|
1350
|
+
:param _BotBizId: 应用ID
|
1320
1351
|
:type BotBizId: str
|
1321
1352
|
:param _AttrKey: 属性标识
|
1322
1353
|
:type AttrKey: str
|
@@ -1545,7 +1576,7 @@ class CreateQACateRequest(AbstractModel):
|
|
1545
1576
|
|
1546
1577
|
def __init__(self):
|
1547
1578
|
r"""
|
1548
|
-
:param _BotBizId:
|
1579
|
+
:param _BotBizId: 应用ID
|
1549
1580
|
:type BotBizId: str
|
1550
1581
|
:param _ParentBizId: 父级业务ID
|
1551
1582
|
:type ParentBizId: str
|
@@ -1678,7 +1709,7 @@ class CreateQARequest(AbstractModel):
|
|
1678
1709
|
|
1679
1710
|
def __init__(self):
|
1680
1711
|
r"""
|
1681
|
-
:param _BotBizId:
|
1712
|
+
:param _BotBizId: 应用ID
|
1682
1713
|
:type BotBizId: str
|
1683
1714
|
:param _Question: 问题
|
1684
1715
|
:type Question: str
|
@@ -1897,15 +1928,15 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
1897
1928
|
|
1898
1929
|
def __init__(self):
|
1899
1930
|
r"""
|
1900
|
-
:param _FileBase64:
|
1931
|
+
:param _FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
1901
1932
|
:type FileBase64: str
|
1902
|
-
:param _FileUrl:
|
1933
|
+
:param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1903
1934
|
:type FileUrl: str
|
1904
|
-
:param _FileStartPageNumber: 当传入文件是PDF
|
1935
|
+
:param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。
|
1905
1936
|
:type FileStartPageNumber: int
|
1906
|
-
:param _FileEndPageNumber: 当传入文件是PDF
|
1937
|
+
:param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。
|
1907
1938
|
:type FileEndPageNumber: int
|
1908
|
-
:param _Config:
|
1939
|
+
:param _Config: 创建文档解析任务配置信息
|
1909
1940
|
:type Config: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
|
1910
1941
|
"""
|
1911
1942
|
self._FileBase64 = None
|
@@ -2017,7 +2048,7 @@ class CreateRejectedQuestionRequest(AbstractModel):
|
|
2017
2048
|
|
2018
2049
|
def __init__(self):
|
2019
2050
|
r"""
|
2020
|
-
:param _BotBizId:
|
2051
|
+
:param _BotBizId: 应用ID
|
2021
2052
|
:type BotBizId: str
|
2022
2053
|
:param _Question: 拒答问题
|
2023
2054
|
|
@@ -2329,7 +2360,7 @@ class DeleteAttributeLabelRequest(AbstractModel):
|
|
2329
2360
|
|
2330
2361
|
def __init__(self):
|
2331
2362
|
r"""
|
2332
|
-
:param _BotBizId:
|
2363
|
+
:param _BotBizId: 应用ID
|
2333
2364
|
:type BotBizId: str
|
2334
2365
|
:param _AttributeBizIds: 属性ID
|
2335
2366
|
:type AttributeBizIds: list of str
|
@@ -2425,7 +2456,7 @@ class DeleteDocRequest(AbstractModel):
|
|
2425
2456
|
r"""
|
2426
2457
|
:param _DocBizIds: 文档业务ID列表
|
2427
2458
|
:type DocBizIds: list of str
|
2428
|
-
:param _BotBizId:
|
2459
|
+
:param _BotBizId: 应用ID
|
2429
2460
|
:type BotBizId: str
|
2430
2461
|
"""
|
2431
2462
|
self._DocBizIds = None
|
@@ -2493,7 +2524,7 @@ class DeleteQACateRequest(AbstractModel):
|
|
2493
2524
|
|
2494
2525
|
def __init__(self):
|
2495
2526
|
r"""
|
2496
|
-
:param _BotBizId:
|
2527
|
+
:param _BotBizId: 应用ID
|
2497
2528
|
:type BotBizId: str
|
2498
2529
|
:param _CateBizId: 分类业务ID
|
2499
2530
|
:type CateBizId: str
|
@@ -2563,7 +2594,7 @@ class DeleteQARequest(AbstractModel):
|
|
2563
2594
|
|
2564
2595
|
def __init__(self):
|
2565
2596
|
r"""
|
2566
|
-
:param _BotBizId:
|
2597
|
+
:param _BotBizId: 应用ID
|
2567
2598
|
:type BotBizId: str
|
2568
2599
|
:param _QaBizIds: 问答ID
|
2569
2600
|
:type QaBizIds: list of str
|
@@ -2633,7 +2664,7 @@ class DeleteRejectedQuestionRequest(AbstractModel):
|
|
2633
2664
|
|
2634
2665
|
def __init__(self):
|
2635
2666
|
r"""
|
2636
|
-
:param _BotBizId:
|
2667
|
+
:param _BotBizId: 应用ID
|
2637
2668
|
:type BotBizId: str
|
2638
2669
|
:param _RejectedBizIds: 拒答问题来源的数据源唯一id
|
2639
2670
|
|
@@ -2948,7 +2979,7 @@ class DescribeAttributeLabelRequest(AbstractModel):
|
|
2948
2979
|
|
2949
2980
|
def __init__(self):
|
2950
2981
|
r"""
|
2951
|
-
:param _BotBizId:
|
2982
|
+
:param _BotBizId: 应用ID
|
2952
2983
|
:type BotBizId: str
|
2953
2984
|
:param _AttributeBizId: 属性ID
|
2954
2985
|
:type AttributeBizId: str
|
@@ -3213,7 +3244,7 @@ class DescribeDocRequest(AbstractModel):
|
|
3213
3244
|
|
3214
3245
|
def __init__(self):
|
3215
3246
|
r"""
|
3216
|
-
:param _BotBizId:
|
3247
|
+
:param _BotBizId: 应用ID
|
3217
3248
|
:type BotBizId: str
|
3218
3249
|
:param _DocBizId: 文档ID
|
3219
3250
|
:type DocBizId: str
|
@@ -3568,8 +3599,7 @@ class DescribeQARequest(AbstractModel):
|
|
3568
3599
|
:param _QaBizId: QA业务ID
|
3569
3600
|
|
3570
3601
|
:type QaBizId: str
|
3571
|
-
:param _BotBizId:
|
3572
|
-
|
3602
|
+
:param _BotBizId: 应用ID
|
3573
3603
|
:type BotBizId: str
|
3574
3604
|
"""
|
3575
3605
|
self._QaBizId = None
|
@@ -3953,7 +3983,7 @@ class DescribeReferRequest(AbstractModel):
|
|
3953
3983
|
|
3954
3984
|
def __init__(self):
|
3955
3985
|
r"""
|
3956
|
-
:param _BotBizId:
|
3986
|
+
:param _BotBizId: 应用ID
|
3957
3987
|
:type BotBizId: str
|
3958
3988
|
:param _ReferBizIds: 引用ID
|
3959
3989
|
:type ReferBizIds: list of str
|
@@ -4290,7 +4320,7 @@ class DescribeRobotBizIDByAppKeyRequest(AbstractModel):
|
|
4290
4320
|
|
4291
4321
|
def __init__(self):
|
4292
4322
|
r"""
|
4293
|
-
:param _AppKey:
|
4323
|
+
:param _AppKey: 应用appkey
|
4294
4324
|
:type AppKey: str
|
4295
4325
|
"""
|
4296
4326
|
self._AppKey = None
|
@@ -4323,7 +4353,7 @@ class DescribeRobotBizIDByAppKeyResponse(AbstractModel):
|
|
4323
4353
|
|
4324
4354
|
def __init__(self):
|
4325
4355
|
r"""
|
4326
|
-
:param _BotBizId:
|
4356
|
+
:param _BotBizId: 应用业务ID
|
4327
4357
|
:type BotBizId: str
|
4328
4358
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4329
4359
|
:type RequestId: str
|
@@ -4360,16 +4390,19 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
4360
4390
|
|
4361
4391
|
def __init__(self):
|
4362
4392
|
r"""
|
4363
|
-
:param _BotBizId:
|
4393
|
+
:param _BotBizId: 应用ID
|
4364
4394
|
:type BotBizId: str
|
4365
|
-
:param _FileType:
|
4395
|
+
:param _FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
|
4366
4396
|
:type FileType: str
|
4367
|
-
:param _IsPublic:
|
4397
|
+
:param _IsPublic: IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
|
4368
4398
|
:type IsPublic: bool
|
4399
|
+
:param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
|
4400
|
+
:type TypeKey: str
|
4369
4401
|
"""
|
4370
4402
|
self._BotBizId = None
|
4371
4403
|
self._FileType = None
|
4372
4404
|
self._IsPublic = None
|
4405
|
+
self._TypeKey = None
|
4373
4406
|
|
4374
4407
|
@property
|
4375
4408
|
def BotBizId(self):
|
@@ -4395,11 +4428,20 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
4395
4428
|
def IsPublic(self, IsPublic):
|
4396
4429
|
self._IsPublic = IsPublic
|
4397
4430
|
|
4431
|
+
@property
|
4432
|
+
def TypeKey(self):
|
4433
|
+
return self._TypeKey
|
4434
|
+
|
4435
|
+
@TypeKey.setter
|
4436
|
+
def TypeKey(self, TypeKey):
|
4437
|
+
self._TypeKey = TypeKey
|
4438
|
+
|
4398
4439
|
|
4399
4440
|
def _deserialize(self, params):
|
4400
4441
|
self._BotBizId = params.get("BotBizId")
|
4401
4442
|
self._FileType = params.get("FileType")
|
4402
4443
|
self._IsPublic = params.get("IsPublic")
|
4444
|
+
self._TypeKey = params.get("TypeKey")
|
4403
4445
|
memeber_set = set(params.keys())
|
4404
4446
|
for name, value in vars(self).items():
|
4405
4447
|
property_name = name[1:]
|
@@ -4435,7 +4477,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
4435
4477
|
:type CorpUin: str
|
4436
4478
|
:param _ImagePath: 图片存储目录
|
4437
4479
|
:type ImagePath: str
|
4438
|
-
:param _UploadPath:
|
4480
|
+
:param _UploadPath: 上传存储路径,到具体文件
|
4439
4481
|
:type UploadPath: str
|
4440
4482
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4441
4483
|
:type RequestId: str
|
@@ -4564,7 +4606,7 @@ class DescribeUnsatisfiedReplyContextRequest(AbstractModel):
|
|
4564
4606
|
|
4565
4607
|
def __init__(self):
|
4566
4608
|
r"""
|
4567
|
-
:param _BotBizId:
|
4609
|
+
:param _BotBizId: 应用ID
|
4568
4610
|
:type BotBizId: str
|
4569
4611
|
:param _ReplyBizId: 回复ID
|
4570
4612
|
:type ReplyBizId: str
|
@@ -4963,7 +5005,7 @@ class ExportAttributeLabelRequest(AbstractModel):
|
|
4963
5005
|
|
4964
5006
|
def __init__(self):
|
4965
5007
|
r"""
|
4966
|
-
:param _BotBizId:
|
5008
|
+
:param _BotBizId: 应用ID
|
4967
5009
|
:type BotBizId: str
|
4968
5010
|
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
4969
5011
|
:type LoginUin: str
|
@@ -5083,7 +5125,7 @@ class ExportQAListRequest(AbstractModel):
|
|
5083
5125
|
|
5084
5126
|
def __init__(self):
|
5085
5127
|
r"""
|
5086
|
-
:param _BotBizId:
|
5128
|
+
:param _BotBizId: 应用ID
|
5087
5129
|
:type BotBizId: str
|
5088
5130
|
:param _QaBizIds: QA业务ID
|
5089
5131
|
:type QaBizIds: list of str
|
@@ -5167,7 +5209,7 @@ class ExportUnsatisfiedReplyRequest(AbstractModel):
|
|
5167
5209
|
|
5168
5210
|
def __init__(self):
|
5169
5211
|
r"""
|
5170
|
-
:param _BotBizId:
|
5212
|
+
:param _BotBizId: 应用ID
|
5171
5213
|
:type BotBizId: str
|
5172
5214
|
:param _ReplyBizIds: 勾选导出ID列表
|
5173
5215
|
:type ReplyBizIds: list of str
|
@@ -5268,6 +5310,92 @@ class ExportUnsatisfiedReplyResponse(AbstractModel):
|
|
5268
5310
|
self._RequestId = params.get("RequestId")
|
5269
5311
|
|
5270
5312
|
|
5313
|
+
class FileInfo(AbstractModel):
|
5314
|
+
"""实时上传的文件信息
|
5315
|
+
|
5316
|
+
"""
|
5317
|
+
|
5318
|
+
def __init__(self):
|
5319
|
+
r"""
|
5320
|
+
:param _FileName: 文件名称
|
5321
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5322
|
+
:type FileName: str
|
5323
|
+
:param _FileSize: 文件大小
|
5324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5325
|
+
:type FileSize: str
|
5326
|
+
:param _FileUrl: 文件的URL地址,COS地址
|
5327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5328
|
+
:type FileUrl: str
|
5329
|
+
:param _FileType: 文件类型
|
5330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5331
|
+
:type FileType: str
|
5332
|
+
:param _DocId: 解析后返回的DocID
|
5333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5334
|
+
:type DocId: str
|
5335
|
+
"""
|
5336
|
+
self._FileName = None
|
5337
|
+
self._FileSize = None
|
5338
|
+
self._FileUrl = None
|
5339
|
+
self._FileType = None
|
5340
|
+
self._DocId = None
|
5341
|
+
|
5342
|
+
@property
|
5343
|
+
def FileName(self):
|
5344
|
+
return self._FileName
|
5345
|
+
|
5346
|
+
@FileName.setter
|
5347
|
+
def FileName(self, FileName):
|
5348
|
+
self._FileName = FileName
|
5349
|
+
|
5350
|
+
@property
|
5351
|
+
def FileSize(self):
|
5352
|
+
return self._FileSize
|
5353
|
+
|
5354
|
+
@FileSize.setter
|
5355
|
+
def FileSize(self, FileSize):
|
5356
|
+
self._FileSize = FileSize
|
5357
|
+
|
5358
|
+
@property
|
5359
|
+
def FileUrl(self):
|
5360
|
+
return self._FileUrl
|
5361
|
+
|
5362
|
+
@FileUrl.setter
|
5363
|
+
def FileUrl(self, FileUrl):
|
5364
|
+
self._FileUrl = FileUrl
|
5365
|
+
|
5366
|
+
@property
|
5367
|
+
def FileType(self):
|
5368
|
+
return self._FileType
|
5369
|
+
|
5370
|
+
@FileType.setter
|
5371
|
+
def FileType(self, FileType):
|
5372
|
+
self._FileType = FileType
|
5373
|
+
|
5374
|
+
@property
|
5375
|
+
def DocId(self):
|
5376
|
+
return self._DocId
|
5377
|
+
|
5378
|
+
@DocId.setter
|
5379
|
+
def DocId(self, DocId):
|
5380
|
+
self._DocId = DocId
|
5381
|
+
|
5382
|
+
|
5383
|
+
def _deserialize(self, params):
|
5384
|
+
self._FileName = params.get("FileName")
|
5385
|
+
self._FileSize = params.get("FileSize")
|
5386
|
+
self._FileUrl = params.get("FileUrl")
|
5387
|
+
self._FileType = params.get("FileType")
|
5388
|
+
self._DocId = params.get("DocId")
|
5389
|
+
memeber_set = set(params.keys())
|
5390
|
+
for name, value in vars(self).items():
|
5391
|
+
property_name = name[1:]
|
5392
|
+
if property_name in memeber_set:
|
5393
|
+
memeber_set.remove(property_name)
|
5394
|
+
if len(memeber_set) > 0:
|
5395
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5396
|
+
|
5397
|
+
|
5398
|
+
|
5271
5399
|
class Filters(AbstractModel):
|
5272
5400
|
"""不满意回复检索过滤
|
5273
5401
|
|
@@ -5321,7 +5449,7 @@ class GenerateQARequest(AbstractModel):
|
|
5321
5449
|
|
5322
5450
|
def __init__(self):
|
5323
5451
|
r"""
|
5324
|
-
:param _BotBizId:
|
5452
|
+
:param _BotBizId: 应用ID
|
5325
5453
|
:type BotBizId: str
|
5326
5454
|
:param _DocBizIds: 文档ID
|
5327
5455
|
:type DocBizIds: list of str
|
@@ -5606,11 +5734,14 @@ class GetDocPreviewRequest(AbstractModel):
|
|
5606
5734
|
r"""
|
5607
5735
|
:param _DocBizId: 文档业务ID
|
5608
5736
|
:type DocBizId: str
|
5609
|
-
:param _BotBizId:
|
5737
|
+
:param _BotBizId: 应用ID
|
5610
5738
|
:type BotBizId: str
|
5739
|
+
:param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
|
5740
|
+
:type TypeKey: str
|
5611
5741
|
"""
|
5612
5742
|
self._DocBizId = None
|
5613
5743
|
self._BotBizId = None
|
5744
|
+
self._TypeKey = None
|
5614
5745
|
|
5615
5746
|
@property
|
5616
5747
|
def DocBizId(self):
|
@@ -5628,10 +5759,19 @@ class GetDocPreviewRequest(AbstractModel):
|
|
5628
5759
|
def BotBizId(self, BotBizId):
|
5629
5760
|
self._BotBizId = BotBizId
|
5630
5761
|
|
5762
|
+
@property
|
5763
|
+
def TypeKey(self):
|
5764
|
+
return self._TypeKey
|
5765
|
+
|
5766
|
+
@TypeKey.setter
|
5767
|
+
def TypeKey(self, TypeKey):
|
5768
|
+
self._TypeKey = TypeKey
|
5769
|
+
|
5631
5770
|
|
5632
5771
|
def _deserialize(self, params):
|
5633
5772
|
self._DocBizId = params.get("DocBizId")
|
5634
5773
|
self._BotBizId = params.get("BotBizId")
|
5774
|
+
self._TypeKey = params.get("TypeKey")
|
5635
5775
|
memeber_set = set(params.keys())
|
5636
5776
|
for name, value in vars(self).items():
|
5637
5777
|
property_name = name[1:]
|
@@ -5859,7 +5999,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
5859
5999
|
:type SessionId: str
|
5860
6000
|
:param _LastRecordId: 最后一条记录ID
|
5861
6001
|
:type LastRecordId: str
|
5862
|
-
:param _BotAppKey:
|
6002
|
+
:param _BotAppKey: 应用AppKey
|
5863
6003
|
:type BotAppKey: str
|
5864
6004
|
:param _Scene: 场景, 体验: 1; 正式: 2
|
5865
6005
|
:type Scene: int
|
@@ -6036,7 +6176,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
6036
6176
|
:type Status: str
|
6037
6177
|
:param _DocumentRecognizeResultUrl: 输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
|
6038
6178
|
:type DocumentRecognizeResultUrl: str
|
6039
|
-
:param _FailedPages:
|
6179
|
+
:param _FailedPages: 文档解析失败的页码
|
6040
6180
|
:type FailedPages: list of ReconstructDocumentFailedPage
|
6041
6181
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6042
6182
|
:type RequestId: str
|
@@ -6102,7 +6242,7 @@ class GetTaskStatusRequest(AbstractModel):
|
|
6102
6242
|
:type TaskId: str
|
6103
6243
|
:param _TaskType: 任务类型
|
6104
6244
|
:type TaskType: str
|
6105
|
-
:param _BotBizId:
|
6245
|
+
:param _BotBizId: 应用ID
|
6106
6246
|
:type BotBizId: str
|
6107
6247
|
"""
|
6108
6248
|
self._TaskId = None
|
@@ -6292,7 +6432,7 @@ class GetWsTokenRequest(AbstractModel):
|
|
6292
6432
|
r"""
|
6293
6433
|
:param _Type: 接入类型
|
6294
6434
|
:type Type: int
|
6295
|
-
:param _BotAppKey:
|
6435
|
+
:param _BotAppKey: 应用AppKey
|
6296
6436
|
:type BotAppKey: str
|
6297
6437
|
:param _VisitorBizId: 坐席ID
|
6298
6438
|
:type VisitorBizId: str
|
@@ -6366,10 +6506,17 @@ class GetWsTokenResponse(AbstractModel):
|
|
6366
6506
|
r"""
|
6367
6507
|
:param _Token: token值
|
6368
6508
|
:type Token: str
|
6509
|
+
:param _Balance: 余额; 余额大于 0 时表示有效.
|
6510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6511
|
+
:type Balance: float
|
6512
|
+
:param _InputLenLimit: 对话窗输入字符限制
|
6513
|
+
:type InputLenLimit: int
|
6369
6514
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6370
6515
|
:type RequestId: str
|
6371
6516
|
"""
|
6372
6517
|
self._Token = None
|
6518
|
+
self._Balance = None
|
6519
|
+
self._InputLenLimit = None
|
6373
6520
|
self._RequestId = None
|
6374
6521
|
|
6375
6522
|
@property
|
@@ -6380,6 +6527,22 @@ class GetWsTokenResponse(AbstractModel):
|
|
6380
6527
|
def Token(self, Token):
|
6381
6528
|
self._Token = Token
|
6382
6529
|
|
6530
|
+
@property
|
6531
|
+
def Balance(self):
|
6532
|
+
return self._Balance
|
6533
|
+
|
6534
|
+
@Balance.setter
|
6535
|
+
def Balance(self, Balance):
|
6536
|
+
self._Balance = Balance
|
6537
|
+
|
6538
|
+
@property
|
6539
|
+
def InputLenLimit(self):
|
6540
|
+
return self._InputLenLimit
|
6541
|
+
|
6542
|
+
@InputLenLimit.setter
|
6543
|
+
def InputLenLimit(self, InputLenLimit):
|
6544
|
+
self._InputLenLimit = InputLenLimit
|
6545
|
+
|
6383
6546
|
@property
|
6384
6547
|
def RequestId(self):
|
6385
6548
|
return self._RequestId
|
@@ -6391,6 +6554,8 @@ class GetWsTokenResponse(AbstractModel):
|
|
6391
6554
|
|
6392
6555
|
def _deserialize(self, params):
|
6393
6556
|
self._Token = params.get("Token")
|
6557
|
+
self._Balance = params.get("Balance")
|
6558
|
+
self._InputLenLimit = params.get("InputLenLimit")
|
6394
6559
|
self._RequestId = params.get("RequestId")
|
6395
6560
|
|
6396
6561
|
|
@@ -6401,7 +6566,7 @@ class GroupQARequest(AbstractModel):
|
|
6401
6566
|
|
6402
6567
|
def __init__(self):
|
6403
6568
|
r"""
|
6404
|
-
:param _BotBizId:
|
6569
|
+
:param _BotBizId: 应用ID
|
6405
6570
|
:type BotBizId: str
|
6406
6571
|
:param _QaBizIds: QA业务ID列表
|
6407
6572
|
:type QaBizIds: list of str
|
@@ -6483,7 +6648,7 @@ class Highlight(AbstractModel):
|
|
6483
6648
|
|
6484
6649
|
def __init__(self):
|
6485
6650
|
r"""
|
6486
|
-
:param _StartPos:
|
6651
|
+
:param _StartPos: 高亮起始位置
|
6487
6652
|
|
6488
6653
|
注意:此字段可能返回 null,表示取不到有效值。
|
6489
6654
|
:type StartPos: str
|
@@ -6546,7 +6711,7 @@ class IgnoreUnsatisfiedReplyRequest(AbstractModel):
|
|
6546
6711
|
|
6547
6712
|
def __init__(self):
|
6548
6713
|
r"""
|
6549
|
-
:param _BotBizId:
|
6714
|
+
:param _BotBizId: 应用ID
|
6550
6715
|
:type BotBizId: str
|
6551
6716
|
:param _ReplyBizIds: 不满意回复ID
|
6552
6717
|
:type ReplyBizIds: list of str
|
@@ -6642,7 +6807,7 @@ class IsTransferIntentRequest(AbstractModel):
|
|
6642
6807
|
r"""
|
6643
6808
|
:param _Content: 内容
|
6644
6809
|
:type Content: str
|
6645
|
-
:param _BotAppKey:
|
6810
|
+
:param _BotAppKey: 应用appKey
|
6646
6811
|
:type BotAppKey: str
|
6647
6812
|
"""
|
6648
6813
|
self._Content = None
|
@@ -6937,6 +7102,9 @@ class KnowledgeQaSearch(AbstractModel):
|
|
6937
7102
|
:param _DocTopN: 文档最大召回数量, 默认3,限制5
|
6938
7103
|
注意:此字段可能返回 null,表示取不到有效值。
|
6939
7104
|
:type DocTopN: int
|
7105
|
+
:param _Confidence: 检索置信度,针对文档和问答有效,最小0.01,最大0.99
|
7106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7107
|
+
:type Confidence: float
|
6940
7108
|
"""
|
6941
7109
|
self._Type = None
|
6942
7110
|
self._ReplyFlexibility = None
|
@@ -6945,6 +7113,7 @@ class KnowledgeQaSearch(AbstractModel):
|
|
6945
7113
|
self._IsEnabled = None
|
6946
7114
|
self._QaTopN = None
|
6947
7115
|
self._DocTopN = None
|
7116
|
+
self._Confidence = None
|
6948
7117
|
|
6949
7118
|
@property
|
6950
7119
|
def Type(self):
|
@@ -7002,6 +7171,14 @@ class KnowledgeQaSearch(AbstractModel):
|
|
7002
7171
|
def DocTopN(self, DocTopN):
|
7003
7172
|
self._DocTopN = DocTopN
|
7004
7173
|
|
7174
|
+
@property
|
7175
|
+
def Confidence(self):
|
7176
|
+
return self._Confidence
|
7177
|
+
|
7178
|
+
@Confidence.setter
|
7179
|
+
def Confidence(self, Confidence):
|
7180
|
+
self._Confidence = Confidence
|
7181
|
+
|
7005
7182
|
|
7006
7183
|
def _deserialize(self, params):
|
7007
7184
|
self._Type = params.get("Type")
|
@@ -7011,6 +7188,7 @@ class KnowledgeQaSearch(AbstractModel):
|
|
7011
7188
|
self._IsEnabled = params.get("IsEnabled")
|
7012
7189
|
self._QaTopN = params.get("QaTopN")
|
7013
7190
|
self._DocTopN = params.get("DocTopN")
|
7191
|
+
self._Confidence = params.get("Confidence")
|
7014
7192
|
memeber_set = set(params.keys())
|
7015
7193
|
for name, value in vars(self).items():
|
7016
7194
|
property_name = name[1:]
|
@@ -7319,7 +7497,7 @@ class ListAttributeLabelRequest(AbstractModel):
|
|
7319
7497
|
|
7320
7498
|
def __init__(self):
|
7321
7499
|
r"""
|
7322
|
-
:param _BotBizId:
|
7500
|
+
:param _BotBizId: 应用ID
|
7323
7501
|
:type BotBizId: str
|
7324
7502
|
:param _PageNumber: 页码
|
7325
7503
|
:type PageNumber: int
|
@@ -8078,7 +8256,7 @@ class ListQACateRequest(AbstractModel):
|
|
8078
8256
|
|
8079
8257
|
def __init__(self):
|
8080
8258
|
r"""
|
8081
|
-
:param _BotBizId:
|
8259
|
+
:param _BotBizId: 应用ID
|
8082
8260
|
:type BotBizId: str
|
8083
8261
|
"""
|
8084
8262
|
self._BotBizId = None
|
@@ -8609,7 +8787,7 @@ class ListRejectedQuestionPreviewRequest(AbstractModel):
|
|
8609
8787
|
|
8610
8788
|
def __init__(self):
|
8611
8789
|
r"""
|
8612
|
-
:param _BotBizId:
|
8790
|
+
:param _BotBizId: 应用ID
|
8613
8791
|
:type BotBizId: str
|
8614
8792
|
:param _PageNumber: 页码
|
8615
8793
|
:type PageNumber: int
|
@@ -8780,7 +8958,7 @@ class ListRejectedQuestionRequest(AbstractModel):
|
|
8780
8958
|
|
8781
8959
|
def __init__(self):
|
8782
8960
|
r"""
|
8783
|
-
:param _BotBizId:
|
8961
|
+
:param _BotBizId: 应用ID
|
8784
8962
|
:type BotBizId: str
|
8785
8963
|
:param _PageNumber: 页码
|
8786
8964
|
|
@@ -9089,7 +9267,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
|
|
9089
9267
|
|
9090
9268
|
def __init__(self):
|
9091
9269
|
r"""
|
9092
|
-
:param _BotBizId:
|
9270
|
+
:param _BotBizId: 应用ID
|
9093
9271
|
:type BotBizId: str
|
9094
9272
|
:param _PageNumber: 页码
|
9095
9273
|
:type PageNumber: int
|
@@ -9389,7 +9567,7 @@ class ListReleaseQAPreviewRequest(AbstractModel):
|
|
9389
9567
|
|
9390
9568
|
def __init__(self):
|
9391
9569
|
r"""
|
9392
|
-
:param _BotBizId:
|
9570
|
+
:param _BotBizId: 应用ID
|
9393
9571
|
:type BotBizId: str
|
9394
9572
|
:param _PageNumber: 页码
|
9395
9573
|
:type PageNumber: int
|
@@ -9683,7 +9861,7 @@ class ListSelectDocRequest(AbstractModel):
|
|
9683
9861
|
|
9684
9862
|
def __init__(self):
|
9685
9863
|
r"""
|
9686
|
-
:param _BotBizId:
|
9864
|
+
:param _BotBizId: 应用ID
|
9687
9865
|
:type BotBizId: str
|
9688
9866
|
:param _FileName: 文档名称
|
9689
9867
|
|
@@ -9783,7 +9961,7 @@ class ListUnsatisfiedReplyRequest(AbstractModel):
|
|
9783
9961
|
|
9784
9962
|
def __init__(self):
|
9785
9963
|
r"""
|
9786
|
-
:param _BotBizId:
|
9964
|
+
:param _BotBizId: 应用ID
|
9787
9965
|
:type BotBizId: str
|
9788
9966
|
:param _PageNumber: 页码
|
9789
9967
|
:type PageNumber: int
|
@@ -10188,7 +10366,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
|
|
10188
10366
|
|
10189
10367
|
def __init__(self):
|
10190
10368
|
r"""
|
10191
|
-
:param _BotBizId:
|
10369
|
+
:param _BotBizId: 应用ID
|
10192
10370
|
:type BotBizId: str
|
10193
10371
|
:param _AttributeBizId: 属性ID
|
10194
10372
|
:type AttributeBizId: str
|
@@ -10347,7 +10525,7 @@ class ModifyDocAttrRangeRequest(AbstractModel):
|
|
10347
10525
|
|
10348
10526
|
def __init__(self):
|
10349
10527
|
r"""
|
10350
|
-
:param _BotBizId:
|
10528
|
+
:param _BotBizId: 应用ID
|
10351
10529
|
:type BotBizId: str
|
10352
10530
|
:param _DocBizIds: 文档ID
|
10353
10531
|
:type DocBizIds: list of str
|
@@ -10446,7 +10624,7 @@ class ModifyDocRequest(AbstractModel):
|
|
10446
10624
|
|
10447
10625
|
def __init__(self):
|
10448
10626
|
r"""
|
10449
|
-
:param _BotBizId:
|
10627
|
+
:param _BotBizId: 应用ID
|
10450
10628
|
:type BotBizId: str
|
10451
10629
|
:param _DocBizId: 文档ID
|
10452
10630
|
:type DocBizId: str
|
@@ -10630,7 +10808,7 @@ class ModifyQAAttrRangeRequest(AbstractModel):
|
|
10630
10808
|
|
10631
10809
|
def __init__(self):
|
10632
10810
|
r"""
|
10633
|
-
:param _BotBizId:
|
10811
|
+
:param _BotBizId: 应用ID
|
10634
10812
|
:type BotBizId: str
|
10635
10813
|
:param _QaBizIds: 问答ID
|
10636
10814
|
:type QaBizIds: list of str
|
@@ -10729,7 +10907,7 @@ class ModifyQACateRequest(AbstractModel):
|
|
10729
10907
|
|
10730
10908
|
def __init__(self):
|
10731
10909
|
r"""
|
10732
|
-
:param _BotBizId:
|
10910
|
+
:param _BotBizId: 应用ID
|
10733
10911
|
:type BotBizId: str
|
10734
10912
|
:param _Name: 分类名称
|
10735
10913
|
|
@@ -10812,7 +10990,7 @@ class ModifyQARequest(AbstractModel):
|
|
10812
10990
|
|
10813
10991
|
def __init__(self):
|
10814
10992
|
r"""
|
10815
|
-
:param _BotBizId:
|
10993
|
+
:param _BotBizId: 应用ID
|
10816
10994
|
:type BotBizId: str
|
10817
10995
|
:param _QaBizId: 问答ID
|
10818
10996
|
:type QaBizId: str
|
@@ -10995,7 +11173,7 @@ class ModifyRejectedQuestionRequest(AbstractModel):
|
|
10995
11173
|
|
10996
11174
|
def __init__(self):
|
10997
11175
|
r"""
|
10998
|
-
:param _BotBizId:
|
11176
|
+
:param _BotBizId: 应用ID
|
10999
11177
|
:type BotBizId: str
|
11000
11178
|
:param _Question: 拒答问题
|
11001
11179
|
|
@@ -11075,6 +11253,92 @@ class ModifyRejectedQuestionResponse(AbstractModel):
|
|
11075
11253
|
self._RequestId = params.get("RequestId")
|
11076
11254
|
|
11077
11255
|
|
11256
|
+
class MsgFileInfo(AbstractModel):
|
11257
|
+
"""文档信息
|
11258
|
+
|
11259
|
+
"""
|
11260
|
+
|
11261
|
+
def __init__(self):
|
11262
|
+
r"""
|
11263
|
+
:param _FileName: 文档名称
|
11264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11265
|
+
:type FileName: str
|
11266
|
+
:param _FileSize: 文档大小
|
11267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11268
|
+
:type FileSize: str
|
11269
|
+
:param _FileUrl: 文档URL
|
11270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11271
|
+
:type FileUrl: str
|
11272
|
+
:param _FileType: 文档类型
|
11273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11274
|
+
:type FileType: str
|
11275
|
+
:param _DocId: 文档ID
|
11276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11277
|
+
:type DocId: str
|
11278
|
+
"""
|
11279
|
+
self._FileName = None
|
11280
|
+
self._FileSize = None
|
11281
|
+
self._FileUrl = None
|
11282
|
+
self._FileType = None
|
11283
|
+
self._DocId = None
|
11284
|
+
|
11285
|
+
@property
|
11286
|
+
def FileName(self):
|
11287
|
+
return self._FileName
|
11288
|
+
|
11289
|
+
@FileName.setter
|
11290
|
+
def FileName(self, FileName):
|
11291
|
+
self._FileName = FileName
|
11292
|
+
|
11293
|
+
@property
|
11294
|
+
def FileSize(self):
|
11295
|
+
return self._FileSize
|
11296
|
+
|
11297
|
+
@FileSize.setter
|
11298
|
+
def FileSize(self, FileSize):
|
11299
|
+
self._FileSize = FileSize
|
11300
|
+
|
11301
|
+
@property
|
11302
|
+
def FileUrl(self):
|
11303
|
+
return self._FileUrl
|
11304
|
+
|
11305
|
+
@FileUrl.setter
|
11306
|
+
def FileUrl(self, FileUrl):
|
11307
|
+
self._FileUrl = FileUrl
|
11308
|
+
|
11309
|
+
@property
|
11310
|
+
def FileType(self):
|
11311
|
+
return self._FileType
|
11312
|
+
|
11313
|
+
@FileType.setter
|
11314
|
+
def FileType(self, FileType):
|
11315
|
+
self._FileType = FileType
|
11316
|
+
|
11317
|
+
@property
|
11318
|
+
def DocId(self):
|
11319
|
+
return self._DocId
|
11320
|
+
|
11321
|
+
@DocId.setter
|
11322
|
+
def DocId(self, DocId):
|
11323
|
+
self._DocId = DocId
|
11324
|
+
|
11325
|
+
|
11326
|
+
def _deserialize(self, params):
|
11327
|
+
self._FileName = params.get("FileName")
|
11328
|
+
self._FileSize = params.get("FileSize")
|
11329
|
+
self._FileUrl = params.get("FileUrl")
|
11330
|
+
self._FileType = params.get("FileType")
|
11331
|
+
self._DocId = params.get("DocId")
|
11332
|
+
memeber_set = set(params.keys())
|
11333
|
+
for name, value in vars(self).items():
|
11334
|
+
property_name = name[1:]
|
11335
|
+
if property_name in memeber_set:
|
11336
|
+
memeber_set.remove(property_name)
|
11337
|
+
if len(memeber_set) > 0:
|
11338
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11339
|
+
|
11340
|
+
|
11341
|
+
|
11078
11342
|
class MsgRecord(AbstractModel):
|
11079
11343
|
"""消息详情
|
11080
11344
|
|
@@ -11122,6 +11386,20 @@ class MsgRecord(AbstractModel):
|
|
11122
11386
|
注意:此字段可能返回 null,表示取不到有效值。
|
11123
11387
|
:type TokenStat: :class:`tencentcloud.lke.v20231130.models.TokenStat`
|
11124
11388
|
:param _ReplyMethod: 回复方式
|
11389
|
+
1:大模型直接回复;
|
11390
|
+
2:保守回复, 未知问题回复;
|
11391
|
+
3:拒答问题回复;
|
11392
|
+
4:敏感回复;
|
11393
|
+
5:问答对直接回复, 已采纳问答对优先回复;
|
11394
|
+
6:欢迎语回复;
|
11395
|
+
7:并发超限回复;
|
11396
|
+
8:全局干预知识;
|
11397
|
+
9:任务流程过程回复, 当历史记录中 task_flow.type = 0 时, 为大模型回复;
|
11398
|
+
10:任务流程答案回复;
|
11399
|
+
11:搜索引擎回复;
|
11400
|
+
12:知识润色后回复;
|
11401
|
+
13:图片理解回复;
|
11402
|
+
14:实时文档回复;
|
11125
11403
|
注意:此字段可能返回 null,表示取不到有效值。
|
11126
11404
|
:type ReplyMethod: int
|
11127
11405
|
:param _OptionCards: 选项卡, 用于多轮对话
|
@@ -11130,6 +11408,9 @@ class MsgRecord(AbstractModel):
|
|
11130
11408
|
:param _TaskFlow: 任务信息
|
11131
11409
|
注意:此字段可能返回 null,表示取不到有效值。
|
11132
11410
|
:type TaskFlow: :class:`tencentcloud.lke.v20231130.models.TaskFlowInfo`
|
11411
|
+
:param _FileInfos: 用户传入的文件信息
|
11412
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11413
|
+
:type FileInfos: list of FileInfo
|
11133
11414
|
"""
|
11134
11415
|
self._Content = None
|
11135
11416
|
self._SessionId = None
|
@@ -11152,6 +11433,7 @@ class MsgRecord(AbstractModel):
|
|
11152
11433
|
self._ReplyMethod = None
|
11153
11434
|
self._OptionCards = None
|
11154
11435
|
self._TaskFlow = None
|
11436
|
+
self._FileInfos = None
|
11155
11437
|
|
11156
11438
|
@property
|
11157
11439
|
def Content(self):
|
@@ -11321,6 +11603,14 @@ class MsgRecord(AbstractModel):
|
|
11321
11603
|
def TaskFlow(self, TaskFlow):
|
11322
11604
|
self._TaskFlow = TaskFlow
|
11323
11605
|
|
11606
|
+
@property
|
11607
|
+
def FileInfos(self):
|
11608
|
+
return self._FileInfos
|
11609
|
+
|
11610
|
+
@FileInfos.setter
|
11611
|
+
def FileInfos(self, FileInfos):
|
11612
|
+
self._FileInfos = FileInfos
|
11613
|
+
|
11324
11614
|
|
11325
11615
|
def _deserialize(self, params):
|
11326
11616
|
self._Content = params.get("Content")
|
@@ -11353,6 +11643,12 @@ class MsgRecord(AbstractModel):
|
|
11353
11643
|
if params.get("TaskFlow") is not None:
|
11354
11644
|
self._TaskFlow = TaskFlowInfo()
|
11355
11645
|
self._TaskFlow._deserialize(params.get("TaskFlow"))
|
11646
|
+
if params.get("FileInfos") is not None:
|
11647
|
+
self._FileInfos = []
|
11648
|
+
for item in params.get("FileInfos"):
|
11649
|
+
obj = FileInfo()
|
11650
|
+
obj._deserialize(item)
|
11651
|
+
self._FileInfos.append(obj)
|
11356
11652
|
memeber_set = set(params.keys())
|
11357
11653
|
for name, value in vars(self).items():
|
11358
11654
|
property_name = name[1:]
|
@@ -12007,7 +12303,7 @@ class QAQuery(AbstractModel):
|
|
12007
12303
|
:param _PageSize: 每页数量
|
12008
12304
|
|
12009
12305
|
:type PageSize: int
|
12010
|
-
:param _BotBizId:
|
12306
|
+
:param _BotBizId: 应用ID
|
12011
12307
|
:type BotBizId: str
|
12012
12308
|
:param _Query: 查询内容
|
12013
12309
|
|
@@ -12397,7 +12693,7 @@ class RateMsgRecordRequest(AbstractModel):
|
|
12397
12693
|
|
12398
12694
|
def __init__(self):
|
12399
12695
|
r"""
|
12400
|
-
:param _BotAppKey:
|
12696
|
+
:param _BotAppKey: 应用appKey
|
12401
12697
|
:type BotAppKey: str
|
12402
12698
|
:param _RecordId: 消息ID
|
12403
12699
|
:type RecordId: str
|
@@ -12558,14 +12854,13 @@ class ReconstructDocumentRequest(AbstractModel):
|
|
12558
12854
|
|
12559
12855
|
def __init__(self):
|
12560
12856
|
r"""
|
12561
|
-
:param _FileBase64:
|
12857
|
+
:param _FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
12562
12858
|
:type FileBase64: str
|
12563
|
-
:param _FileUrl:
|
12859
|
+
:param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12564
12860
|
:type FileUrl: str
|
12565
|
-
:param _FileStartPageNumber: 当传入文件是PDF
|
12861
|
+
:param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。
|
12566
12862
|
:type FileStartPageNumber: int
|
12567
|
-
:param _FileEndPageNumber: 当传入文件是PDF
|
12568
|
-
单次调用,最多支持10页pdf的智能识别。
|
12863
|
+
:param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。单次调用,最多支持10页pdf的文档解析。
|
12569
12864
|
:type FileEndPageNumber: int
|
12570
12865
|
:param _Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
|
12571
12866
|
:type Config: :class:`tencentcloud.lke.v20231130.models.ReconstructDocumentConfig`
|
@@ -13523,7 +13818,7 @@ class RetryDocAuditRequest(AbstractModel):
|
|
13523
13818
|
|
13524
13819
|
def __init__(self):
|
13525
13820
|
r"""
|
13526
|
-
:param _BotBizId:
|
13821
|
+
:param _BotBizId: 应用ID
|
13527
13822
|
:type BotBizId: str
|
13528
13823
|
:param _DocBizId: 文档ID
|
13529
13824
|
:type DocBizId: str
|
@@ -13593,7 +13888,7 @@ class RetryDocParseRequest(AbstractModel):
|
|
13593
13888
|
|
13594
13889
|
def __init__(self):
|
13595
13890
|
r"""
|
13596
|
-
:param _BotBizId:
|
13891
|
+
:param _BotBizId: 应用ID
|
13597
13892
|
:type BotBizId: str
|
13598
13893
|
:param _DocBizId: 文档ID
|
13599
13894
|
:type DocBizId: str
|
@@ -14025,7 +14320,7 @@ class StopDocParseRequest(AbstractModel):
|
|
14025
14320
|
|
14026
14321
|
def __init__(self):
|
14027
14322
|
r"""
|
14028
|
-
:param _BotBizId:
|
14323
|
+
:param _BotBizId: 应用ID
|
14029
14324
|
:type BotBizId: str
|
14030
14325
|
:param _DocBizId: 文档ID
|
14031
14326
|
:type DocBizId: str
|
@@ -14521,7 +14816,7 @@ class UnsatisfiedReply(AbstractModel):
|
|
14521
14816
|
:param _Question: 用户问题
|
14522
14817
|
注意:此字段可能返回 null,表示取不到有效值。
|
14523
14818
|
:type Question: str
|
14524
|
-
:param _Answer:
|
14819
|
+
:param _Answer: 应用回复
|
14525
14820
|
注意:此字段可能返回 null,表示取不到有效值。
|
14526
14821
|
:type Answer: str
|
14527
14822
|
:param _Reasons: 错误类型
|
@@ -14598,7 +14893,7 @@ class UploadAttributeLabelRequest(AbstractModel):
|
|
14598
14893
|
|
14599
14894
|
def __init__(self):
|
14600
14895
|
r"""
|
14601
|
-
:param _BotBizId:
|
14896
|
+
:param _BotBizId: 应用ID
|
14602
14897
|
:type BotBizId: str
|
14603
14898
|
:param _FileName: 文件名
|
14604
14899
|
:type FileName: str
|
@@ -14835,7 +15130,7 @@ class VerifyQARequest(AbstractModel):
|
|
14835
15130
|
r"""
|
14836
15131
|
:param _List: 问答列表
|
14837
15132
|
:type List: list of QAList
|
14838
|
-
:param _BotBizId:
|
15133
|
+
:param _BotBizId: 应用ID
|
14839
15134
|
:type BotBizId: str
|
14840
15135
|
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
14841
15136
|
:type LoginUin: str
|