tencentcloud-sdk-python 3.0.1173__py2.py3-none-any.whl → 3.0.1175__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/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +317 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +429 -0
- tencentcloud/cls/v20201016/models.py +14 -16
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +225 -0
- tencentcloud/ess/v20201111/models.py +4 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/essbasic/v20210526/models.py +8 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +184 -0
- tencentcloud/lcic/v20220817/models.py +4 -4
- tencentcloud/lighthouse/v20200324/errorcodes.py +15 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +12 -9
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +80 -5
- tencentcloud/lke/v20231130/models.py +1000 -105
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/ses/v20201002/models.py +24 -0
- tencentcloud/ses/v20201002/ses_client.py +0 -1
- tencentcloud/tdmq/v20200217/models.py +453 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/trocket/v20230308/models.py +290 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +37 -5
- tencentcloud/tsi/__init__.py +0 -0
- tencentcloud/tsi/v20210325/__init__.py +0 -0
- tencentcloud/tsi/v20210325/errorcodes.py +33 -0
- tencentcloud/tsi/v20210325/models.py +547 -0
- tencentcloud/tsi/v20210325/tsi_client.py +95 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +26 -2
- tencentcloud/vpc/v20170312/vpc_client.py +4 -4
- tencentcloud/waf/v20180125/models.py +108 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/RECORD +46 -41
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1173.dist-info → tencentcloud_sdk_python-3.0.1175.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:]
|
@@ -1179,6 +1210,119 @@ class Context(AbstractModel):
|
|
1179
1210
|
|
1180
1211
|
|
1181
1212
|
|
1213
|
+
class ConvertDocumentRequest(AbstractModel):
|
1214
|
+
"""ConvertDocument请求参数结构体
|
1215
|
+
|
1216
|
+
"""
|
1217
|
+
|
1218
|
+
def __init__(self):
|
1219
|
+
r"""
|
1220
|
+
:param _FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1221
|
+
:type FileUrl: str
|
1222
|
+
:param _FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1223
|
+
:type FileBase64: str
|
1224
|
+
:param _FileStartPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
|
1225
|
+
:type FileStartPageNumber: int
|
1226
|
+
:param _FileEndPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
|
1227
|
+
建议一次请求的页面不超过3页。
|
1228
|
+
:type FileEndPageNumber: int
|
1229
|
+
"""
|
1230
|
+
self._FileUrl = None
|
1231
|
+
self._FileBase64 = None
|
1232
|
+
self._FileStartPageNumber = None
|
1233
|
+
self._FileEndPageNumber = None
|
1234
|
+
|
1235
|
+
@property
|
1236
|
+
def FileUrl(self):
|
1237
|
+
return self._FileUrl
|
1238
|
+
|
1239
|
+
@FileUrl.setter
|
1240
|
+
def FileUrl(self, FileUrl):
|
1241
|
+
self._FileUrl = FileUrl
|
1242
|
+
|
1243
|
+
@property
|
1244
|
+
def FileBase64(self):
|
1245
|
+
return self._FileBase64
|
1246
|
+
|
1247
|
+
@FileBase64.setter
|
1248
|
+
def FileBase64(self, FileBase64):
|
1249
|
+
self._FileBase64 = FileBase64
|
1250
|
+
|
1251
|
+
@property
|
1252
|
+
def FileStartPageNumber(self):
|
1253
|
+
return self._FileStartPageNumber
|
1254
|
+
|
1255
|
+
@FileStartPageNumber.setter
|
1256
|
+
def FileStartPageNumber(self, FileStartPageNumber):
|
1257
|
+
self._FileStartPageNumber = FileStartPageNumber
|
1258
|
+
|
1259
|
+
@property
|
1260
|
+
def FileEndPageNumber(self):
|
1261
|
+
return self._FileEndPageNumber
|
1262
|
+
|
1263
|
+
@FileEndPageNumber.setter
|
1264
|
+
def FileEndPageNumber(self, FileEndPageNumber):
|
1265
|
+
self._FileEndPageNumber = FileEndPageNumber
|
1266
|
+
|
1267
|
+
|
1268
|
+
def _deserialize(self, params):
|
1269
|
+
self._FileUrl = params.get("FileUrl")
|
1270
|
+
self._FileBase64 = params.get("FileBase64")
|
1271
|
+
self._FileStartPageNumber = params.get("FileStartPageNumber")
|
1272
|
+
self._FileEndPageNumber = params.get("FileEndPageNumber")
|
1273
|
+
memeber_set = set(params.keys())
|
1274
|
+
for name, value in vars(self).items():
|
1275
|
+
property_name = name[1:]
|
1276
|
+
if property_name in memeber_set:
|
1277
|
+
memeber_set.remove(property_name)
|
1278
|
+
if len(memeber_set) > 0:
|
1279
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1280
|
+
|
1281
|
+
|
1282
|
+
|
1283
|
+
class ConvertDocumentResponse(AbstractModel):
|
1284
|
+
"""ConvertDocument返回参数结构体
|
1285
|
+
|
1286
|
+
"""
|
1287
|
+
|
1288
|
+
def __init__(self):
|
1289
|
+
r"""
|
1290
|
+
:param _WordRecognizeInfo: 识别生成的word文件base64编码的字符串
|
1291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1292
|
+
:type WordRecognizeInfo: list of WordRecognizeInfo
|
1293
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1294
|
+
:type RequestId: str
|
1295
|
+
"""
|
1296
|
+
self._WordRecognizeInfo = None
|
1297
|
+
self._RequestId = None
|
1298
|
+
|
1299
|
+
@property
|
1300
|
+
def WordRecognizeInfo(self):
|
1301
|
+
return self._WordRecognizeInfo
|
1302
|
+
|
1303
|
+
@WordRecognizeInfo.setter
|
1304
|
+
def WordRecognizeInfo(self, WordRecognizeInfo):
|
1305
|
+
self._WordRecognizeInfo = WordRecognizeInfo
|
1306
|
+
|
1307
|
+
@property
|
1308
|
+
def RequestId(self):
|
1309
|
+
return self._RequestId
|
1310
|
+
|
1311
|
+
@RequestId.setter
|
1312
|
+
def RequestId(self, RequestId):
|
1313
|
+
self._RequestId = RequestId
|
1314
|
+
|
1315
|
+
|
1316
|
+
def _deserialize(self, params):
|
1317
|
+
if params.get("WordRecognizeInfo") is not None:
|
1318
|
+
self._WordRecognizeInfo = []
|
1319
|
+
for item in params.get("WordRecognizeInfo"):
|
1320
|
+
obj = WordRecognizeInfo()
|
1321
|
+
obj._deserialize(item)
|
1322
|
+
self._WordRecognizeInfo.append(obj)
|
1323
|
+
self._RequestId = params.get("RequestId")
|
1324
|
+
|
1325
|
+
|
1182
1326
|
class Coord(AbstractModel):
|
1183
1327
|
"""坐标
|
1184
1328
|
|
@@ -1316,7 +1460,7 @@ class CreateAttributeLabelRequest(AbstractModel):
|
|
1316
1460
|
|
1317
1461
|
def __init__(self):
|
1318
1462
|
r"""
|
1319
|
-
:param _BotBizId:
|
1463
|
+
:param _BotBizId: 应用ID
|
1320
1464
|
:type BotBizId: str
|
1321
1465
|
:param _AttrKey: 属性标识
|
1322
1466
|
:type AttrKey: str
|
@@ -1545,7 +1689,7 @@ class CreateQACateRequest(AbstractModel):
|
|
1545
1689
|
|
1546
1690
|
def __init__(self):
|
1547
1691
|
r"""
|
1548
|
-
:param _BotBizId:
|
1692
|
+
:param _BotBizId: 应用ID
|
1549
1693
|
:type BotBizId: str
|
1550
1694
|
:param _ParentBizId: 父级业务ID
|
1551
1695
|
:type ParentBizId: str
|
@@ -1678,7 +1822,7 @@ class CreateQARequest(AbstractModel):
|
|
1678
1822
|
|
1679
1823
|
def __init__(self):
|
1680
1824
|
r"""
|
1681
|
-
:param _BotBizId:
|
1825
|
+
:param _BotBizId: 应用ID
|
1682
1826
|
:type BotBizId: str
|
1683
1827
|
:param _Question: 问题
|
1684
1828
|
:type Question: str
|
@@ -1897,15 +2041,15 @@ class CreateReconstructDocumentFlowRequest(AbstractModel):
|
|
1897
2041
|
|
1898
2042
|
def __init__(self):
|
1899
2043
|
r"""
|
1900
|
-
:param _FileBase64:
|
2044
|
+
:param _FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
1901
2045
|
:type FileBase64: str
|
1902
|
-
:param _FileUrl:
|
2046
|
+
:param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1903
2047
|
:type FileUrl: str
|
1904
|
-
:param _FileStartPageNumber: 当传入文件是PDF
|
2048
|
+
:param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
|
1905
2049
|
:type FileStartPageNumber: int
|
1906
|
-
:param _FileEndPageNumber: 当传入文件是PDF
|
2050
|
+
:param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。
|
1907
2051
|
:type FileEndPageNumber: int
|
1908
|
-
:param _Config:
|
2052
|
+
:param _Config: 创建文档解析任务配置信息
|
1909
2053
|
:type Config: :class:`tencentcloud.lke.v20231130.models.CreateReconstructDocumentFlowConfig`
|
1910
2054
|
"""
|
1911
2055
|
self._FileBase64 = None
|
@@ -2017,7 +2161,7 @@ class CreateRejectedQuestionRequest(AbstractModel):
|
|
2017
2161
|
|
2018
2162
|
def __init__(self):
|
2019
2163
|
r"""
|
2020
|
-
:param _BotBizId:
|
2164
|
+
:param _BotBizId: 应用ID
|
2021
2165
|
:type BotBizId: str
|
2022
2166
|
:param _Question: 拒答问题
|
2023
2167
|
|
@@ -2329,7 +2473,7 @@ class DeleteAttributeLabelRequest(AbstractModel):
|
|
2329
2473
|
|
2330
2474
|
def __init__(self):
|
2331
2475
|
r"""
|
2332
|
-
:param _BotBizId:
|
2476
|
+
:param _BotBizId: 应用ID
|
2333
2477
|
:type BotBizId: str
|
2334
2478
|
:param _AttributeBizIds: 属性ID
|
2335
2479
|
:type AttributeBizIds: list of str
|
@@ -2425,7 +2569,7 @@ class DeleteDocRequest(AbstractModel):
|
|
2425
2569
|
r"""
|
2426
2570
|
:param _DocBizIds: 文档业务ID列表
|
2427
2571
|
:type DocBizIds: list of str
|
2428
|
-
:param _BotBizId:
|
2572
|
+
:param _BotBizId: 应用ID
|
2429
2573
|
:type BotBizId: str
|
2430
2574
|
"""
|
2431
2575
|
self._DocBizIds = None
|
@@ -2493,7 +2637,7 @@ class DeleteQACateRequest(AbstractModel):
|
|
2493
2637
|
|
2494
2638
|
def __init__(self):
|
2495
2639
|
r"""
|
2496
|
-
:param _BotBizId:
|
2640
|
+
:param _BotBizId: 应用ID
|
2497
2641
|
:type BotBizId: str
|
2498
2642
|
:param _CateBizId: 分类业务ID
|
2499
2643
|
:type CateBizId: str
|
@@ -2563,7 +2707,7 @@ class DeleteQARequest(AbstractModel):
|
|
2563
2707
|
|
2564
2708
|
def __init__(self):
|
2565
2709
|
r"""
|
2566
|
-
:param _BotBizId:
|
2710
|
+
:param _BotBizId: 应用ID
|
2567
2711
|
:type BotBizId: str
|
2568
2712
|
:param _QaBizIds: 问答ID
|
2569
2713
|
:type QaBizIds: list of str
|
@@ -2633,7 +2777,7 @@ class DeleteRejectedQuestionRequest(AbstractModel):
|
|
2633
2777
|
|
2634
2778
|
def __init__(self):
|
2635
2779
|
r"""
|
2636
|
-
:param _BotBizId:
|
2780
|
+
:param _BotBizId: 应用ID
|
2637
2781
|
:type BotBizId: str
|
2638
2782
|
:param _RejectedBizIds: 拒答问题来源的数据源唯一id
|
2639
2783
|
|
@@ -2948,7 +3092,7 @@ class DescribeAttributeLabelRequest(AbstractModel):
|
|
2948
3092
|
|
2949
3093
|
def __init__(self):
|
2950
3094
|
r"""
|
2951
|
-
:param _BotBizId:
|
3095
|
+
:param _BotBizId: 应用ID
|
2952
3096
|
:type BotBizId: str
|
2953
3097
|
:param _AttributeBizId: 属性ID
|
2954
3098
|
:type AttributeBizId: str
|
@@ -3213,7 +3357,7 @@ class DescribeDocRequest(AbstractModel):
|
|
3213
3357
|
|
3214
3358
|
def __init__(self):
|
3215
3359
|
r"""
|
3216
|
-
:param _BotBizId:
|
3360
|
+
:param _BotBizId: 应用ID
|
3217
3361
|
:type BotBizId: str
|
3218
3362
|
:param _DocBizId: 文档ID
|
3219
3363
|
:type DocBizId: str
|
@@ -3568,8 +3712,7 @@ class DescribeQARequest(AbstractModel):
|
|
3568
3712
|
:param _QaBizId: QA业务ID
|
3569
3713
|
|
3570
3714
|
:type QaBizId: str
|
3571
|
-
:param _BotBizId:
|
3572
|
-
|
3715
|
+
:param _BotBizId: 应用ID
|
3573
3716
|
:type BotBizId: str
|
3574
3717
|
"""
|
3575
3718
|
self._QaBizId = None
|
@@ -3953,7 +4096,7 @@ class DescribeReferRequest(AbstractModel):
|
|
3953
4096
|
|
3954
4097
|
def __init__(self):
|
3955
4098
|
r"""
|
3956
|
-
:param _BotBizId:
|
4099
|
+
:param _BotBizId: 应用ID
|
3957
4100
|
:type BotBizId: str
|
3958
4101
|
:param _ReferBizIds: 引用ID
|
3959
4102
|
:type ReferBizIds: list of str
|
@@ -4290,7 +4433,7 @@ class DescribeRobotBizIDByAppKeyRequest(AbstractModel):
|
|
4290
4433
|
|
4291
4434
|
def __init__(self):
|
4292
4435
|
r"""
|
4293
|
-
:param _AppKey:
|
4436
|
+
:param _AppKey: 应用appkey
|
4294
4437
|
:type AppKey: str
|
4295
4438
|
"""
|
4296
4439
|
self._AppKey = None
|
@@ -4323,7 +4466,7 @@ class DescribeRobotBizIDByAppKeyResponse(AbstractModel):
|
|
4323
4466
|
|
4324
4467
|
def __init__(self):
|
4325
4468
|
r"""
|
4326
|
-
:param _BotBizId:
|
4469
|
+
:param _BotBizId: 应用业务ID
|
4327
4470
|
:type BotBizId: str
|
4328
4471
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4329
4472
|
:type RequestId: str
|
@@ -4360,16 +4503,19 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
4360
4503
|
|
4361
4504
|
def __init__(self):
|
4362
4505
|
r"""
|
4363
|
-
:param _BotBizId:
|
4506
|
+
:param _BotBizId: 应用ID
|
4364
4507
|
:type BotBizId: str
|
4365
|
-
:param _FileType:
|
4508
|
+
:param _FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
|
4366
4509
|
:type FileType: str
|
4367
|
-
:param _IsPublic:
|
4510
|
+
:param _IsPublic: IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
|
4368
4511
|
:type IsPublic: bool
|
4512
|
+
:param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
|
4513
|
+
:type TypeKey: str
|
4369
4514
|
"""
|
4370
4515
|
self._BotBizId = None
|
4371
4516
|
self._FileType = None
|
4372
4517
|
self._IsPublic = None
|
4518
|
+
self._TypeKey = None
|
4373
4519
|
|
4374
4520
|
@property
|
4375
4521
|
def BotBizId(self):
|
@@ -4395,11 +4541,20 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
4395
4541
|
def IsPublic(self, IsPublic):
|
4396
4542
|
self._IsPublic = IsPublic
|
4397
4543
|
|
4544
|
+
@property
|
4545
|
+
def TypeKey(self):
|
4546
|
+
return self._TypeKey
|
4547
|
+
|
4548
|
+
@TypeKey.setter
|
4549
|
+
def TypeKey(self, TypeKey):
|
4550
|
+
self._TypeKey = TypeKey
|
4551
|
+
|
4398
4552
|
|
4399
4553
|
def _deserialize(self, params):
|
4400
4554
|
self._BotBizId = params.get("BotBizId")
|
4401
4555
|
self._FileType = params.get("FileType")
|
4402
4556
|
self._IsPublic = params.get("IsPublic")
|
4557
|
+
self._TypeKey = params.get("TypeKey")
|
4403
4558
|
memeber_set = set(params.keys())
|
4404
4559
|
for name, value in vars(self).items():
|
4405
4560
|
property_name = name[1:]
|
@@ -4435,7 +4590,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
4435
4590
|
:type CorpUin: str
|
4436
4591
|
:param _ImagePath: 图片存储目录
|
4437
4592
|
:type ImagePath: str
|
4438
|
-
:param _UploadPath:
|
4593
|
+
:param _UploadPath: 上传存储路径,到具体文件
|
4439
4594
|
:type UploadPath: str
|
4440
4595
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4441
4596
|
:type RequestId: str
|
@@ -4564,7 +4719,7 @@ class DescribeUnsatisfiedReplyContextRequest(AbstractModel):
|
|
4564
4719
|
|
4565
4720
|
def __init__(self):
|
4566
4721
|
r"""
|
4567
|
-
:param _BotBizId:
|
4722
|
+
:param _BotBizId: 应用ID
|
4568
4723
|
:type BotBizId: str
|
4569
4724
|
:param _ReplyBizId: 回复ID
|
4570
4725
|
:type ReplyBizId: str
|
@@ -4963,7 +5118,7 @@ class ExportAttributeLabelRequest(AbstractModel):
|
|
4963
5118
|
|
4964
5119
|
def __init__(self):
|
4965
5120
|
r"""
|
4966
|
-
:param _BotBizId:
|
5121
|
+
:param _BotBizId: 应用ID
|
4967
5122
|
:type BotBizId: str
|
4968
5123
|
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
4969
5124
|
:type LoginUin: str
|
@@ -5083,7 +5238,7 @@ class ExportQAListRequest(AbstractModel):
|
|
5083
5238
|
|
5084
5239
|
def __init__(self):
|
5085
5240
|
r"""
|
5086
|
-
:param _BotBizId:
|
5241
|
+
:param _BotBizId: 应用ID
|
5087
5242
|
:type BotBizId: str
|
5088
5243
|
:param _QaBizIds: QA业务ID
|
5089
5244
|
:type QaBizIds: list of str
|
@@ -5167,7 +5322,7 @@ class ExportUnsatisfiedReplyRequest(AbstractModel):
|
|
5167
5322
|
|
5168
5323
|
def __init__(self):
|
5169
5324
|
r"""
|
5170
|
-
:param _BotBizId:
|
5325
|
+
:param _BotBizId: 应用ID
|
5171
5326
|
:type BotBizId: str
|
5172
5327
|
:param _ReplyBizIds: 勾选导出ID列表
|
5173
5328
|
:type ReplyBizIds: list of str
|
@@ -5268,6 +5423,92 @@ class ExportUnsatisfiedReplyResponse(AbstractModel):
|
|
5268
5423
|
self._RequestId = params.get("RequestId")
|
5269
5424
|
|
5270
5425
|
|
5426
|
+
class FileInfo(AbstractModel):
|
5427
|
+
"""实时上传的文件信息
|
5428
|
+
|
5429
|
+
"""
|
5430
|
+
|
5431
|
+
def __init__(self):
|
5432
|
+
r"""
|
5433
|
+
:param _FileName: 文件名称
|
5434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5435
|
+
:type FileName: str
|
5436
|
+
:param _FileSize: 文件大小
|
5437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5438
|
+
:type FileSize: str
|
5439
|
+
:param _FileUrl: 文件的URL地址,COS地址
|
5440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5441
|
+
:type FileUrl: str
|
5442
|
+
:param _FileType: 文件类型
|
5443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5444
|
+
:type FileType: str
|
5445
|
+
:param _DocId: 解析后返回的DocID
|
5446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5447
|
+
:type DocId: str
|
5448
|
+
"""
|
5449
|
+
self._FileName = None
|
5450
|
+
self._FileSize = None
|
5451
|
+
self._FileUrl = None
|
5452
|
+
self._FileType = None
|
5453
|
+
self._DocId = None
|
5454
|
+
|
5455
|
+
@property
|
5456
|
+
def FileName(self):
|
5457
|
+
return self._FileName
|
5458
|
+
|
5459
|
+
@FileName.setter
|
5460
|
+
def FileName(self, FileName):
|
5461
|
+
self._FileName = FileName
|
5462
|
+
|
5463
|
+
@property
|
5464
|
+
def FileSize(self):
|
5465
|
+
return self._FileSize
|
5466
|
+
|
5467
|
+
@FileSize.setter
|
5468
|
+
def FileSize(self, FileSize):
|
5469
|
+
self._FileSize = FileSize
|
5470
|
+
|
5471
|
+
@property
|
5472
|
+
def FileUrl(self):
|
5473
|
+
return self._FileUrl
|
5474
|
+
|
5475
|
+
@FileUrl.setter
|
5476
|
+
def FileUrl(self, FileUrl):
|
5477
|
+
self._FileUrl = FileUrl
|
5478
|
+
|
5479
|
+
@property
|
5480
|
+
def FileType(self):
|
5481
|
+
return self._FileType
|
5482
|
+
|
5483
|
+
@FileType.setter
|
5484
|
+
def FileType(self, FileType):
|
5485
|
+
self._FileType = FileType
|
5486
|
+
|
5487
|
+
@property
|
5488
|
+
def DocId(self):
|
5489
|
+
return self._DocId
|
5490
|
+
|
5491
|
+
@DocId.setter
|
5492
|
+
def DocId(self, DocId):
|
5493
|
+
self._DocId = DocId
|
5494
|
+
|
5495
|
+
|
5496
|
+
def _deserialize(self, params):
|
5497
|
+
self._FileName = params.get("FileName")
|
5498
|
+
self._FileSize = params.get("FileSize")
|
5499
|
+
self._FileUrl = params.get("FileUrl")
|
5500
|
+
self._FileType = params.get("FileType")
|
5501
|
+
self._DocId = params.get("DocId")
|
5502
|
+
memeber_set = set(params.keys())
|
5503
|
+
for name, value in vars(self).items():
|
5504
|
+
property_name = name[1:]
|
5505
|
+
if property_name in memeber_set:
|
5506
|
+
memeber_set.remove(property_name)
|
5507
|
+
if len(memeber_set) > 0:
|
5508
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5509
|
+
|
5510
|
+
|
5511
|
+
|
5271
5512
|
class Filters(AbstractModel):
|
5272
5513
|
"""不满意回复检索过滤
|
5273
5514
|
|
@@ -5321,7 +5562,7 @@ class GenerateQARequest(AbstractModel):
|
|
5321
5562
|
|
5322
5563
|
def __init__(self):
|
5323
5564
|
r"""
|
5324
|
-
:param _BotBizId:
|
5565
|
+
:param _BotBizId: 应用ID
|
5325
5566
|
:type BotBizId: str
|
5326
5567
|
:param _DocBizIds: 文档ID
|
5327
5568
|
:type DocBizIds: list of str
|
@@ -5384,6 +5625,244 @@ class GenerateQAResponse(AbstractModel):
|
|
5384
5625
|
self._RequestId = params.get("RequestId")
|
5385
5626
|
|
5386
5627
|
|
5628
|
+
class GetAnswerTypeDataCountRequest(AbstractModel):
|
5629
|
+
"""GetAnswerTypeDataCount请求参数结构体
|
5630
|
+
|
5631
|
+
"""
|
5632
|
+
|
5633
|
+
def __init__(self):
|
5634
|
+
r"""
|
5635
|
+
:param _StartTime: 开始日期
|
5636
|
+
:type StartTime: int
|
5637
|
+
:param _EndTime: 结束日期
|
5638
|
+
:type EndTime: int
|
5639
|
+
:param _AppBizId: 应用id
|
5640
|
+
:type AppBizId: list of str
|
5641
|
+
:param _Type: 消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测)
|
5642
|
+
:type Type: int
|
5643
|
+
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
5644
|
+
:type LoginUin: str
|
5645
|
+
:param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
5646
|
+
:type LoginSubAccountUin: str
|
5647
|
+
"""
|
5648
|
+
self._StartTime = None
|
5649
|
+
self._EndTime = None
|
5650
|
+
self._AppBizId = None
|
5651
|
+
self._Type = None
|
5652
|
+
self._LoginUin = None
|
5653
|
+
self._LoginSubAccountUin = None
|
5654
|
+
|
5655
|
+
@property
|
5656
|
+
def StartTime(self):
|
5657
|
+
return self._StartTime
|
5658
|
+
|
5659
|
+
@StartTime.setter
|
5660
|
+
def StartTime(self, StartTime):
|
5661
|
+
self._StartTime = StartTime
|
5662
|
+
|
5663
|
+
@property
|
5664
|
+
def EndTime(self):
|
5665
|
+
return self._EndTime
|
5666
|
+
|
5667
|
+
@EndTime.setter
|
5668
|
+
def EndTime(self, EndTime):
|
5669
|
+
self._EndTime = EndTime
|
5670
|
+
|
5671
|
+
@property
|
5672
|
+
def AppBizId(self):
|
5673
|
+
return self._AppBizId
|
5674
|
+
|
5675
|
+
@AppBizId.setter
|
5676
|
+
def AppBizId(self, AppBizId):
|
5677
|
+
self._AppBizId = AppBizId
|
5678
|
+
|
5679
|
+
@property
|
5680
|
+
def Type(self):
|
5681
|
+
return self._Type
|
5682
|
+
|
5683
|
+
@Type.setter
|
5684
|
+
def Type(self, Type):
|
5685
|
+
self._Type = Type
|
5686
|
+
|
5687
|
+
@property
|
5688
|
+
def LoginUin(self):
|
5689
|
+
return self._LoginUin
|
5690
|
+
|
5691
|
+
@LoginUin.setter
|
5692
|
+
def LoginUin(self, LoginUin):
|
5693
|
+
self._LoginUin = LoginUin
|
5694
|
+
|
5695
|
+
@property
|
5696
|
+
def LoginSubAccountUin(self):
|
5697
|
+
return self._LoginSubAccountUin
|
5698
|
+
|
5699
|
+
@LoginSubAccountUin.setter
|
5700
|
+
def LoginSubAccountUin(self, LoginSubAccountUin):
|
5701
|
+
self._LoginSubAccountUin = LoginSubAccountUin
|
5702
|
+
|
5703
|
+
|
5704
|
+
def _deserialize(self, params):
|
5705
|
+
self._StartTime = params.get("StartTime")
|
5706
|
+
self._EndTime = params.get("EndTime")
|
5707
|
+
self._AppBizId = params.get("AppBizId")
|
5708
|
+
self._Type = params.get("Type")
|
5709
|
+
self._LoginUin = params.get("LoginUin")
|
5710
|
+
self._LoginSubAccountUin = params.get("LoginSubAccountUin")
|
5711
|
+
memeber_set = set(params.keys())
|
5712
|
+
for name, value in vars(self).items():
|
5713
|
+
property_name = name[1:]
|
5714
|
+
if property_name in memeber_set:
|
5715
|
+
memeber_set.remove(property_name)
|
5716
|
+
if len(memeber_set) > 0:
|
5717
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5718
|
+
|
5719
|
+
|
5720
|
+
|
5721
|
+
class GetAnswerTypeDataCountResponse(AbstractModel):
|
5722
|
+
"""GetAnswerTypeDataCount返回参数结构体
|
5723
|
+
|
5724
|
+
"""
|
5725
|
+
|
5726
|
+
def __init__(self):
|
5727
|
+
r"""
|
5728
|
+
:param _Total: 总消息数
|
5729
|
+
:type Total: int
|
5730
|
+
:param _ModelReplyCount: 大模型直接回复总数
|
5731
|
+
:type ModelReplyCount: int
|
5732
|
+
:param _KnowledgeCount: 知识型回复总数
|
5733
|
+
:type KnowledgeCount: int
|
5734
|
+
:param _TaskFlowCount: 任务流回复总数
|
5735
|
+
:type TaskFlowCount: int
|
5736
|
+
:param _SearchEngineCount: 搜索引擎回复总数
|
5737
|
+
:type SearchEngineCount: int
|
5738
|
+
:param _ImageUnderstandingCount: 图片理解回复总数
|
5739
|
+
:type ImageUnderstandingCount: int
|
5740
|
+
:param _RejectCount: 拒答回复总数
|
5741
|
+
:type RejectCount: int
|
5742
|
+
:param _SensitiveCount: 敏感回复总数
|
5743
|
+
:type SensitiveCount: int
|
5744
|
+
:param _ConcurrentLimitCount: 并发超限回复总数
|
5745
|
+
:type ConcurrentLimitCount: int
|
5746
|
+
:param _UnknownIssuesCount: 未知问题回复总数
|
5747
|
+
:type UnknownIssuesCount: int
|
5748
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5749
|
+
:type RequestId: str
|
5750
|
+
"""
|
5751
|
+
self._Total = None
|
5752
|
+
self._ModelReplyCount = None
|
5753
|
+
self._KnowledgeCount = None
|
5754
|
+
self._TaskFlowCount = None
|
5755
|
+
self._SearchEngineCount = None
|
5756
|
+
self._ImageUnderstandingCount = None
|
5757
|
+
self._RejectCount = None
|
5758
|
+
self._SensitiveCount = None
|
5759
|
+
self._ConcurrentLimitCount = None
|
5760
|
+
self._UnknownIssuesCount = None
|
5761
|
+
self._RequestId = None
|
5762
|
+
|
5763
|
+
@property
|
5764
|
+
def Total(self):
|
5765
|
+
return self._Total
|
5766
|
+
|
5767
|
+
@Total.setter
|
5768
|
+
def Total(self, Total):
|
5769
|
+
self._Total = Total
|
5770
|
+
|
5771
|
+
@property
|
5772
|
+
def ModelReplyCount(self):
|
5773
|
+
return self._ModelReplyCount
|
5774
|
+
|
5775
|
+
@ModelReplyCount.setter
|
5776
|
+
def ModelReplyCount(self, ModelReplyCount):
|
5777
|
+
self._ModelReplyCount = ModelReplyCount
|
5778
|
+
|
5779
|
+
@property
|
5780
|
+
def KnowledgeCount(self):
|
5781
|
+
return self._KnowledgeCount
|
5782
|
+
|
5783
|
+
@KnowledgeCount.setter
|
5784
|
+
def KnowledgeCount(self, KnowledgeCount):
|
5785
|
+
self._KnowledgeCount = KnowledgeCount
|
5786
|
+
|
5787
|
+
@property
|
5788
|
+
def TaskFlowCount(self):
|
5789
|
+
return self._TaskFlowCount
|
5790
|
+
|
5791
|
+
@TaskFlowCount.setter
|
5792
|
+
def TaskFlowCount(self, TaskFlowCount):
|
5793
|
+
self._TaskFlowCount = TaskFlowCount
|
5794
|
+
|
5795
|
+
@property
|
5796
|
+
def SearchEngineCount(self):
|
5797
|
+
return self._SearchEngineCount
|
5798
|
+
|
5799
|
+
@SearchEngineCount.setter
|
5800
|
+
def SearchEngineCount(self, SearchEngineCount):
|
5801
|
+
self._SearchEngineCount = SearchEngineCount
|
5802
|
+
|
5803
|
+
@property
|
5804
|
+
def ImageUnderstandingCount(self):
|
5805
|
+
return self._ImageUnderstandingCount
|
5806
|
+
|
5807
|
+
@ImageUnderstandingCount.setter
|
5808
|
+
def ImageUnderstandingCount(self, ImageUnderstandingCount):
|
5809
|
+
self._ImageUnderstandingCount = ImageUnderstandingCount
|
5810
|
+
|
5811
|
+
@property
|
5812
|
+
def RejectCount(self):
|
5813
|
+
return self._RejectCount
|
5814
|
+
|
5815
|
+
@RejectCount.setter
|
5816
|
+
def RejectCount(self, RejectCount):
|
5817
|
+
self._RejectCount = RejectCount
|
5818
|
+
|
5819
|
+
@property
|
5820
|
+
def SensitiveCount(self):
|
5821
|
+
return self._SensitiveCount
|
5822
|
+
|
5823
|
+
@SensitiveCount.setter
|
5824
|
+
def SensitiveCount(self, SensitiveCount):
|
5825
|
+
self._SensitiveCount = SensitiveCount
|
5826
|
+
|
5827
|
+
@property
|
5828
|
+
def ConcurrentLimitCount(self):
|
5829
|
+
return self._ConcurrentLimitCount
|
5830
|
+
|
5831
|
+
@ConcurrentLimitCount.setter
|
5832
|
+
def ConcurrentLimitCount(self, ConcurrentLimitCount):
|
5833
|
+
self._ConcurrentLimitCount = ConcurrentLimitCount
|
5834
|
+
|
5835
|
+
@property
|
5836
|
+
def UnknownIssuesCount(self):
|
5837
|
+
return self._UnknownIssuesCount
|
5838
|
+
|
5839
|
+
@UnknownIssuesCount.setter
|
5840
|
+
def UnknownIssuesCount(self, UnknownIssuesCount):
|
5841
|
+
self._UnknownIssuesCount = UnknownIssuesCount
|
5842
|
+
|
5843
|
+
@property
|
5844
|
+
def RequestId(self):
|
5845
|
+
return self._RequestId
|
5846
|
+
|
5847
|
+
@RequestId.setter
|
5848
|
+
def RequestId(self, RequestId):
|
5849
|
+
self._RequestId = RequestId
|
5850
|
+
|
5851
|
+
|
5852
|
+
def _deserialize(self, params):
|
5853
|
+
self._Total = params.get("Total")
|
5854
|
+
self._ModelReplyCount = params.get("ModelReplyCount")
|
5855
|
+
self._KnowledgeCount = params.get("KnowledgeCount")
|
5856
|
+
self._TaskFlowCount = params.get("TaskFlowCount")
|
5857
|
+
self._SearchEngineCount = params.get("SearchEngineCount")
|
5858
|
+
self._ImageUnderstandingCount = params.get("ImageUnderstandingCount")
|
5859
|
+
self._RejectCount = params.get("RejectCount")
|
5860
|
+
self._SensitiveCount = params.get("SensitiveCount")
|
5861
|
+
self._ConcurrentLimitCount = params.get("ConcurrentLimitCount")
|
5862
|
+
self._UnknownIssuesCount = params.get("UnknownIssuesCount")
|
5863
|
+
self._RequestId = params.get("RequestId")
|
5864
|
+
|
5865
|
+
|
5387
5866
|
class GetAppKnowledgeCountRequest(AbstractModel):
|
5388
5867
|
"""GetAppKnowledgeCount请求参数结构体
|
5389
5868
|
|
@@ -5606,11 +6085,14 @@ class GetDocPreviewRequest(AbstractModel):
|
|
5606
6085
|
r"""
|
5607
6086
|
:param _DocBizId: 文档业务ID
|
5608
6087
|
:type DocBizId: str
|
5609
|
-
:param _BotBizId:
|
6088
|
+
:param _BotBizId: 应用ID
|
5610
6089
|
:type BotBizId: str
|
6090
|
+
:param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
|
6091
|
+
:type TypeKey: str
|
5611
6092
|
"""
|
5612
6093
|
self._DocBizId = None
|
5613
6094
|
self._BotBizId = None
|
6095
|
+
self._TypeKey = None
|
5614
6096
|
|
5615
6097
|
@property
|
5616
6098
|
def DocBizId(self):
|
@@ -5628,10 +6110,19 @@ class GetDocPreviewRequest(AbstractModel):
|
|
5628
6110
|
def BotBizId(self, BotBizId):
|
5629
6111
|
self._BotBizId = BotBizId
|
5630
6112
|
|
6113
|
+
@property
|
6114
|
+
def TypeKey(self):
|
6115
|
+
return self._TypeKey
|
6116
|
+
|
6117
|
+
@TypeKey.setter
|
6118
|
+
def TypeKey(self, TypeKey):
|
6119
|
+
self._TypeKey = TypeKey
|
6120
|
+
|
5631
6121
|
|
5632
6122
|
def _deserialize(self, params):
|
5633
6123
|
self._DocBizId = params.get("DocBizId")
|
5634
6124
|
self._BotBizId = params.get("BotBizId")
|
6125
|
+
self._TypeKey = params.get("TypeKey")
|
5635
6126
|
memeber_set = set(params.keys())
|
5636
6127
|
for name, value in vars(self).items():
|
5637
6128
|
property_name = name[1:]
|
@@ -5766,18 +6257,167 @@ class GetEmbeddingRequest(AbstractModel):
|
|
5766
6257
|
self._Inputs = Inputs
|
5767
6258
|
|
5768
6259
|
@property
|
5769
|
-
def Online(self):
|
5770
|
-
return self._Online
|
6260
|
+
def Online(self):
|
6261
|
+
return self._Online
|
6262
|
+
|
6263
|
+
@Online.setter
|
6264
|
+
def Online(self, Online):
|
6265
|
+
self._Online = Online
|
6266
|
+
|
6267
|
+
|
6268
|
+
def _deserialize(self, params):
|
6269
|
+
self._Model = params.get("Model")
|
6270
|
+
self._Inputs = params.get("Inputs")
|
6271
|
+
self._Online = params.get("Online")
|
6272
|
+
memeber_set = set(params.keys())
|
6273
|
+
for name, value in vars(self).items():
|
6274
|
+
property_name = name[1:]
|
6275
|
+
if property_name in memeber_set:
|
6276
|
+
memeber_set.remove(property_name)
|
6277
|
+
if len(memeber_set) > 0:
|
6278
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6279
|
+
|
6280
|
+
|
6281
|
+
|
6282
|
+
class GetEmbeddingResponse(AbstractModel):
|
6283
|
+
"""GetEmbedding返回参数结构体
|
6284
|
+
|
6285
|
+
"""
|
6286
|
+
|
6287
|
+
def __init__(self):
|
6288
|
+
r"""
|
6289
|
+
:param _Data: 特征
|
6290
|
+
:type Data: list of EmbeddingObject
|
6291
|
+
:param _Usage: 消耗量,返回TotalToken
|
6292
|
+
:type Usage: :class:`tencentcloud.lke.v20231130.models.Usage`
|
6293
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6294
|
+
:type RequestId: str
|
6295
|
+
"""
|
6296
|
+
self._Data = None
|
6297
|
+
self._Usage = None
|
6298
|
+
self._RequestId = None
|
6299
|
+
|
6300
|
+
@property
|
6301
|
+
def Data(self):
|
6302
|
+
return self._Data
|
6303
|
+
|
6304
|
+
@Data.setter
|
6305
|
+
def Data(self, Data):
|
6306
|
+
self._Data = Data
|
6307
|
+
|
6308
|
+
@property
|
6309
|
+
def Usage(self):
|
6310
|
+
return self._Usage
|
6311
|
+
|
6312
|
+
@Usage.setter
|
6313
|
+
def Usage(self, Usage):
|
6314
|
+
self._Usage = Usage
|
6315
|
+
|
6316
|
+
@property
|
6317
|
+
def RequestId(self):
|
6318
|
+
return self._RequestId
|
6319
|
+
|
6320
|
+
@RequestId.setter
|
6321
|
+
def RequestId(self, RequestId):
|
6322
|
+
self._RequestId = RequestId
|
6323
|
+
|
6324
|
+
|
6325
|
+
def _deserialize(self, params):
|
6326
|
+
if params.get("Data") is not None:
|
6327
|
+
self._Data = []
|
6328
|
+
for item in params.get("Data"):
|
6329
|
+
obj = EmbeddingObject()
|
6330
|
+
obj._deserialize(item)
|
6331
|
+
self._Data.append(obj)
|
6332
|
+
if params.get("Usage") is not None:
|
6333
|
+
self._Usage = Usage()
|
6334
|
+
self._Usage._deserialize(params.get("Usage"))
|
6335
|
+
self._RequestId = params.get("RequestId")
|
6336
|
+
|
6337
|
+
|
6338
|
+
class GetLikeDataCountRequest(AbstractModel):
|
6339
|
+
"""GetLikeDataCount请求参数结构体
|
6340
|
+
|
6341
|
+
"""
|
6342
|
+
|
6343
|
+
def __init__(self):
|
6344
|
+
r"""
|
6345
|
+
:param _StartTime: 开始日期
|
6346
|
+
:type StartTime: int
|
6347
|
+
:param _EndTime: 结束日期
|
6348
|
+
:type EndTime: int
|
6349
|
+
:param _AppBizId: 应用id
|
6350
|
+
:type AppBizId: list of str
|
6351
|
+
:param _Type: 消息来源(1、分享用户端 2、对话API)
|
6352
|
+
:type Type: int
|
6353
|
+
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
6354
|
+
:type LoginUin: str
|
6355
|
+
:param _LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6356
|
+
:type LoginSubAccountUin: str
|
6357
|
+
"""
|
6358
|
+
self._StartTime = None
|
6359
|
+
self._EndTime = None
|
6360
|
+
self._AppBizId = None
|
6361
|
+
self._Type = None
|
6362
|
+
self._LoginUin = None
|
6363
|
+
self._LoginSubAccountUin = None
|
6364
|
+
|
6365
|
+
@property
|
6366
|
+
def StartTime(self):
|
6367
|
+
return self._StartTime
|
6368
|
+
|
6369
|
+
@StartTime.setter
|
6370
|
+
def StartTime(self, StartTime):
|
6371
|
+
self._StartTime = StartTime
|
6372
|
+
|
6373
|
+
@property
|
6374
|
+
def EndTime(self):
|
6375
|
+
return self._EndTime
|
6376
|
+
|
6377
|
+
@EndTime.setter
|
6378
|
+
def EndTime(self, EndTime):
|
6379
|
+
self._EndTime = EndTime
|
6380
|
+
|
6381
|
+
@property
|
6382
|
+
def AppBizId(self):
|
6383
|
+
return self._AppBizId
|
6384
|
+
|
6385
|
+
@AppBizId.setter
|
6386
|
+
def AppBizId(self, AppBizId):
|
6387
|
+
self._AppBizId = AppBizId
|
6388
|
+
|
6389
|
+
@property
|
6390
|
+
def Type(self):
|
6391
|
+
return self._Type
|
6392
|
+
|
6393
|
+
@Type.setter
|
6394
|
+
def Type(self, Type):
|
6395
|
+
self._Type = Type
|
6396
|
+
|
6397
|
+
@property
|
6398
|
+
def LoginUin(self):
|
6399
|
+
return self._LoginUin
|
6400
|
+
|
6401
|
+
@LoginUin.setter
|
6402
|
+
def LoginUin(self, LoginUin):
|
6403
|
+
self._LoginUin = LoginUin
|
6404
|
+
|
6405
|
+
@property
|
6406
|
+
def LoginSubAccountUin(self):
|
6407
|
+
return self._LoginSubAccountUin
|
5771
6408
|
|
5772
|
-
@
|
5773
|
-
def
|
5774
|
-
self.
|
6409
|
+
@LoginSubAccountUin.setter
|
6410
|
+
def LoginSubAccountUin(self, LoginSubAccountUin):
|
6411
|
+
self._LoginSubAccountUin = LoginSubAccountUin
|
5775
6412
|
|
5776
6413
|
|
5777
6414
|
def _deserialize(self, params):
|
5778
|
-
self.
|
5779
|
-
self.
|
5780
|
-
self.
|
6415
|
+
self._StartTime = params.get("StartTime")
|
6416
|
+
self._EndTime = params.get("EndTime")
|
6417
|
+
self._AppBizId = params.get("AppBizId")
|
6418
|
+
self._Type = params.get("Type")
|
6419
|
+
self._LoginUin = params.get("LoginUin")
|
6420
|
+
self._LoginSubAccountUin = params.get("LoginSubAccountUin")
|
5781
6421
|
memeber_set = set(params.keys())
|
5782
6422
|
for name, value in vars(self).items():
|
5783
6423
|
property_name = name[1:]
|
@@ -5788,39 +6428,94 @@ class GetEmbeddingRequest(AbstractModel):
|
|
5788
6428
|
|
5789
6429
|
|
5790
6430
|
|
5791
|
-
class
|
5792
|
-
"""
|
6431
|
+
class GetLikeDataCountResponse(AbstractModel):
|
6432
|
+
"""GetLikeDataCount返回参数结构体
|
5793
6433
|
|
5794
6434
|
"""
|
5795
6435
|
|
5796
6436
|
def __init__(self):
|
5797
6437
|
r"""
|
5798
|
-
:param
|
5799
|
-
:type
|
5800
|
-
:param
|
5801
|
-
:type
|
6438
|
+
:param _Total: 可评价消息数
|
6439
|
+
:type Total: int
|
6440
|
+
:param _AppraisalTotal: 评价数
|
6441
|
+
:type AppraisalTotal: int
|
6442
|
+
:param _ParticipationRate: 参评率
|
6443
|
+
:type ParticipationRate: float
|
6444
|
+
:param _LikeTotal: 点赞数
|
6445
|
+
:type LikeTotal: int
|
6446
|
+
:param _LikeRate: 点赞率
|
6447
|
+
:type LikeRate: float
|
6448
|
+
:param _DislikeTotal: 点踩数
|
6449
|
+
:type DislikeTotal: int
|
6450
|
+
:param _DislikeRate: 点踩率
|
6451
|
+
:type DislikeRate: float
|
5802
6452
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5803
6453
|
:type RequestId: str
|
5804
6454
|
"""
|
5805
|
-
self.
|
5806
|
-
self.
|
6455
|
+
self._Total = None
|
6456
|
+
self._AppraisalTotal = None
|
6457
|
+
self._ParticipationRate = None
|
6458
|
+
self._LikeTotal = None
|
6459
|
+
self._LikeRate = None
|
6460
|
+
self._DislikeTotal = None
|
6461
|
+
self._DislikeRate = None
|
5807
6462
|
self._RequestId = None
|
5808
6463
|
|
5809
6464
|
@property
|
5810
|
-
def
|
5811
|
-
return self.
|
6465
|
+
def Total(self):
|
6466
|
+
return self._Total
|
5812
6467
|
|
5813
|
-
@
|
5814
|
-
def
|
5815
|
-
self.
|
6468
|
+
@Total.setter
|
6469
|
+
def Total(self, Total):
|
6470
|
+
self._Total = Total
|
5816
6471
|
|
5817
6472
|
@property
|
5818
|
-
def
|
5819
|
-
return self.
|
6473
|
+
def AppraisalTotal(self):
|
6474
|
+
return self._AppraisalTotal
|
5820
6475
|
|
5821
|
-
@
|
5822
|
-
def
|
5823
|
-
self.
|
6476
|
+
@AppraisalTotal.setter
|
6477
|
+
def AppraisalTotal(self, AppraisalTotal):
|
6478
|
+
self._AppraisalTotal = AppraisalTotal
|
6479
|
+
|
6480
|
+
@property
|
6481
|
+
def ParticipationRate(self):
|
6482
|
+
return self._ParticipationRate
|
6483
|
+
|
6484
|
+
@ParticipationRate.setter
|
6485
|
+
def ParticipationRate(self, ParticipationRate):
|
6486
|
+
self._ParticipationRate = ParticipationRate
|
6487
|
+
|
6488
|
+
@property
|
6489
|
+
def LikeTotal(self):
|
6490
|
+
return self._LikeTotal
|
6491
|
+
|
6492
|
+
@LikeTotal.setter
|
6493
|
+
def LikeTotal(self, LikeTotal):
|
6494
|
+
self._LikeTotal = LikeTotal
|
6495
|
+
|
6496
|
+
@property
|
6497
|
+
def LikeRate(self):
|
6498
|
+
return self._LikeRate
|
6499
|
+
|
6500
|
+
@LikeRate.setter
|
6501
|
+
def LikeRate(self, LikeRate):
|
6502
|
+
self._LikeRate = LikeRate
|
6503
|
+
|
6504
|
+
@property
|
6505
|
+
def DislikeTotal(self):
|
6506
|
+
return self._DislikeTotal
|
6507
|
+
|
6508
|
+
@DislikeTotal.setter
|
6509
|
+
def DislikeTotal(self, DislikeTotal):
|
6510
|
+
self._DislikeTotal = DislikeTotal
|
6511
|
+
|
6512
|
+
@property
|
6513
|
+
def DislikeRate(self):
|
6514
|
+
return self._DislikeRate
|
6515
|
+
|
6516
|
+
@DislikeRate.setter
|
6517
|
+
def DislikeRate(self, DislikeRate):
|
6518
|
+
self._DislikeRate = DislikeRate
|
5824
6519
|
|
5825
6520
|
@property
|
5826
6521
|
def RequestId(self):
|
@@ -5832,15 +6527,13 @@ class GetEmbeddingResponse(AbstractModel):
|
|
5832
6527
|
|
5833
6528
|
|
5834
6529
|
def _deserialize(self, params):
|
5835
|
-
|
5836
|
-
|
5837
|
-
|
5838
|
-
|
5839
|
-
|
5840
|
-
|
5841
|
-
|
5842
|
-
self._Usage = Usage()
|
5843
|
-
self._Usage._deserialize(params.get("Usage"))
|
6530
|
+
self._Total = params.get("Total")
|
6531
|
+
self._AppraisalTotal = params.get("AppraisalTotal")
|
6532
|
+
self._ParticipationRate = params.get("ParticipationRate")
|
6533
|
+
self._LikeTotal = params.get("LikeTotal")
|
6534
|
+
self._LikeRate = params.get("LikeRate")
|
6535
|
+
self._DislikeTotal = params.get("DislikeTotal")
|
6536
|
+
self._DislikeRate = params.get("DislikeRate")
|
5844
6537
|
self._RequestId = params.get("RequestId")
|
5845
6538
|
|
5846
6539
|
|
@@ -5859,7 +6552,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
5859
6552
|
:type SessionId: str
|
5860
6553
|
:param _LastRecordId: 最后一条记录ID
|
5861
6554
|
:type LastRecordId: str
|
5862
|
-
:param _BotAppKey:
|
6555
|
+
:param _BotAppKey: 应用AppKey
|
5863
6556
|
:type BotAppKey: str
|
5864
6557
|
:param _Scene: 场景, 体验: 1; 正式: 2
|
5865
6558
|
:type Scene: int
|
@@ -6036,7 +6729,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
|
|
6036
6729
|
:type Status: str
|
6037
6730
|
:param _DocumentRecognizeResultUrl: 输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
|
6038
6731
|
:type DocumentRecognizeResultUrl: str
|
6039
|
-
:param _FailedPages:
|
6732
|
+
:param _FailedPages: 文档解析失败的页码
|
6040
6733
|
:type FailedPages: list of ReconstructDocumentFailedPage
|
6041
6734
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6042
6735
|
:type RequestId: str
|
@@ -6102,7 +6795,7 @@ class GetTaskStatusRequest(AbstractModel):
|
|
6102
6795
|
:type TaskId: str
|
6103
6796
|
:param _TaskType: 任务类型
|
6104
6797
|
:type TaskType: str
|
6105
|
-
:param _BotBizId:
|
6798
|
+
:param _BotBizId: 应用ID
|
6106
6799
|
:type BotBizId: str
|
6107
6800
|
"""
|
6108
6801
|
self._TaskId = None
|
@@ -6292,7 +6985,7 @@ class GetWsTokenRequest(AbstractModel):
|
|
6292
6985
|
r"""
|
6293
6986
|
:param _Type: 接入类型
|
6294
6987
|
:type Type: int
|
6295
|
-
:param _BotAppKey:
|
6988
|
+
:param _BotAppKey: 应用AppKey
|
6296
6989
|
:type BotAppKey: str
|
6297
6990
|
:param _VisitorBizId: 坐席ID
|
6298
6991
|
:type VisitorBizId: str
|
@@ -6366,10 +7059,17 @@ class GetWsTokenResponse(AbstractModel):
|
|
6366
7059
|
r"""
|
6367
7060
|
:param _Token: token值
|
6368
7061
|
:type Token: str
|
7062
|
+
:param _Balance: 余额; 余额大于 0 时表示有效.
|
7063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7064
|
+
:type Balance: float
|
7065
|
+
:param _InputLenLimit: 对话窗输入字符限制
|
7066
|
+
:type InputLenLimit: int
|
6369
7067
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6370
7068
|
:type RequestId: str
|
6371
7069
|
"""
|
6372
7070
|
self._Token = None
|
7071
|
+
self._Balance = None
|
7072
|
+
self._InputLenLimit = None
|
6373
7073
|
self._RequestId = None
|
6374
7074
|
|
6375
7075
|
@property
|
@@ -6380,6 +7080,22 @@ class GetWsTokenResponse(AbstractModel):
|
|
6380
7080
|
def Token(self, Token):
|
6381
7081
|
self._Token = Token
|
6382
7082
|
|
7083
|
+
@property
|
7084
|
+
def Balance(self):
|
7085
|
+
return self._Balance
|
7086
|
+
|
7087
|
+
@Balance.setter
|
7088
|
+
def Balance(self, Balance):
|
7089
|
+
self._Balance = Balance
|
7090
|
+
|
7091
|
+
@property
|
7092
|
+
def InputLenLimit(self):
|
7093
|
+
return self._InputLenLimit
|
7094
|
+
|
7095
|
+
@InputLenLimit.setter
|
7096
|
+
def InputLenLimit(self, InputLenLimit):
|
7097
|
+
self._InputLenLimit = InputLenLimit
|
7098
|
+
|
6383
7099
|
@property
|
6384
7100
|
def RequestId(self):
|
6385
7101
|
return self._RequestId
|
@@ -6391,6 +7107,8 @@ class GetWsTokenResponse(AbstractModel):
|
|
6391
7107
|
|
6392
7108
|
def _deserialize(self, params):
|
6393
7109
|
self._Token = params.get("Token")
|
7110
|
+
self._Balance = params.get("Balance")
|
7111
|
+
self._InputLenLimit = params.get("InputLenLimit")
|
6394
7112
|
self._RequestId = params.get("RequestId")
|
6395
7113
|
|
6396
7114
|
|
@@ -6401,7 +7119,7 @@ class GroupQARequest(AbstractModel):
|
|
6401
7119
|
|
6402
7120
|
def __init__(self):
|
6403
7121
|
r"""
|
6404
|
-
:param _BotBizId:
|
7122
|
+
:param _BotBizId: 应用ID
|
6405
7123
|
:type BotBizId: str
|
6406
7124
|
:param _QaBizIds: QA业务ID列表
|
6407
7125
|
:type QaBizIds: list of str
|
@@ -6483,7 +7201,7 @@ class Highlight(AbstractModel):
|
|
6483
7201
|
|
6484
7202
|
def __init__(self):
|
6485
7203
|
r"""
|
6486
|
-
:param _StartPos:
|
7204
|
+
:param _StartPos: 高亮起始位置
|
6487
7205
|
|
6488
7206
|
注意:此字段可能返回 null,表示取不到有效值。
|
6489
7207
|
:type StartPos: str
|
@@ -6546,7 +7264,7 @@ class IgnoreUnsatisfiedReplyRequest(AbstractModel):
|
|
6546
7264
|
|
6547
7265
|
def __init__(self):
|
6548
7266
|
r"""
|
6549
|
-
:param _BotBizId:
|
7267
|
+
:param _BotBizId: 应用ID
|
6550
7268
|
:type BotBizId: str
|
6551
7269
|
:param _ReplyBizIds: 不满意回复ID
|
6552
7270
|
:type ReplyBizIds: list of str
|
@@ -6642,7 +7360,7 @@ class IsTransferIntentRequest(AbstractModel):
|
|
6642
7360
|
r"""
|
6643
7361
|
:param _Content: 内容
|
6644
7362
|
:type Content: str
|
6645
|
-
:param _BotAppKey:
|
7363
|
+
:param _BotAppKey: 应用appKey
|
6646
7364
|
:type BotAppKey: str
|
6647
7365
|
"""
|
6648
7366
|
self._Content = None
|
@@ -6937,6 +7655,9 @@ class KnowledgeQaSearch(AbstractModel):
|
|
6937
7655
|
:param _DocTopN: 文档最大召回数量, 默认3,限制5
|
6938
7656
|
注意:此字段可能返回 null,表示取不到有效值。
|
6939
7657
|
:type DocTopN: int
|
7658
|
+
:param _Confidence: 检索置信度,针对文档和问答有效,最小0.01,最大0.99
|
7659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7660
|
+
:type Confidence: float
|
6940
7661
|
"""
|
6941
7662
|
self._Type = None
|
6942
7663
|
self._ReplyFlexibility = None
|
@@ -6945,6 +7666,7 @@ class KnowledgeQaSearch(AbstractModel):
|
|
6945
7666
|
self._IsEnabled = None
|
6946
7667
|
self._QaTopN = None
|
6947
7668
|
self._DocTopN = None
|
7669
|
+
self._Confidence = None
|
6948
7670
|
|
6949
7671
|
@property
|
6950
7672
|
def Type(self):
|
@@ -7002,6 +7724,14 @@ class KnowledgeQaSearch(AbstractModel):
|
|
7002
7724
|
def DocTopN(self, DocTopN):
|
7003
7725
|
self._DocTopN = DocTopN
|
7004
7726
|
|
7727
|
+
@property
|
7728
|
+
def Confidence(self):
|
7729
|
+
return self._Confidence
|
7730
|
+
|
7731
|
+
@Confidence.setter
|
7732
|
+
def Confidence(self, Confidence):
|
7733
|
+
self._Confidence = Confidence
|
7734
|
+
|
7005
7735
|
|
7006
7736
|
def _deserialize(self, params):
|
7007
7737
|
self._Type = params.get("Type")
|
@@ -7011,6 +7741,7 @@ class KnowledgeQaSearch(AbstractModel):
|
|
7011
7741
|
self._IsEnabled = params.get("IsEnabled")
|
7012
7742
|
self._QaTopN = params.get("QaTopN")
|
7013
7743
|
self._DocTopN = params.get("DocTopN")
|
7744
|
+
self._Confidence = params.get("Confidence")
|
7014
7745
|
memeber_set = set(params.keys())
|
7015
7746
|
for name, value in vars(self).items():
|
7016
7747
|
property_name = name[1:]
|
@@ -7319,7 +8050,7 @@ class ListAttributeLabelRequest(AbstractModel):
|
|
7319
8050
|
|
7320
8051
|
def __init__(self):
|
7321
8052
|
r"""
|
7322
|
-
:param _BotBizId:
|
8053
|
+
:param _BotBizId: 应用ID
|
7323
8054
|
:type BotBizId: str
|
7324
8055
|
:param _PageNumber: 页码
|
7325
8056
|
:type PageNumber: int
|
@@ -8078,7 +8809,7 @@ class ListQACateRequest(AbstractModel):
|
|
8078
8809
|
|
8079
8810
|
def __init__(self):
|
8080
8811
|
r"""
|
8081
|
-
:param _BotBizId:
|
8812
|
+
:param _BotBizId: 应用ID
|
8082
8813
|
:type BotBizId: str
|
8083
8814
|
"""
|
8084
8815
|
self._BotBizId = None
|
@@ -8609,7 +9340,7 @@ class ListRejectedQuestionPreviewRequest(AbstractModel):
|
|
8609
9340
|
|
8610
9341
|
def __init__(self):
|
8611
9342
|
r"""
|
8612
|
-
:param _BotBizId:
|
9343
|
+
:param _BotBizId: 应用ID
|
8613
9344
|
:type BotBizId: str
|
8614
9345
|
:param _PageNumber: 页码
|
8615
9346
|
:type PageNumber: int
|
@@ -8780,7 +9511,7 @@ class ListRejectedQuestionRequest(AbstractModel):
|
|
8780
9511
|
|
8781
9512
|
def __init__(self):
|
8782
9513
|
r"""
|
8783
|
-
:param _BotBizId:
|
9514
|
+
:param _BotBizId: 应用ID
|
8784
9515
|
:type BotBizId: str
|
8785
9516
|
:param _PageNumber: 页码
|
8786
9517
|
|
@@ -9089,7 +9820,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
|
|
9089
9820
|
|
9090
9821
|
def __init__(self):
|
9091
9822
|
r"""
|
9092
|
-
:param _BotBizId:
|
9823
|
+
:param _BotBizId: 应用ID
|
9093
9824
|
:type BotBizId: str
|
9094
9825
|
:param _PageNumber: 页码
|
9095
9826
|
:type PageNumber: int
|
@@ -9389,7 +10120,7 @@ class ListReleaseQAPreviewRequest(AbstractModel):
|
|
9389
10120
|
|
9390
10121
|
def __init__(self):
|
9391
10122
|
r"""
|
9392
|
-
:param _BotBizId:
|
10123
|
+
:param _BotBizId: 应用ID
|
9393
10124
|
:type BotBizId: str
|
9394
10125
|
:param _PageNumber: 页码
|
9395
10126
|
:type PageNumber: int
|
@@ -9683,7 +10414,7 @@ class ListSelectDocRequest(AbstractModel):
|
|
9683
10414
|
|
9684
10415
|
def __init__(self):
|
9685
10416
|
r"""
|
9686
|
-
:param _BotBizId:
|
10417
|
+
:param _BotBizId: 应用ID
|
9687
10418
|
:type BotBizId: str
|
9688
10419
|
:param _FileName: 文档名称
|
9689
10420
|
|
@@ -9783,7 +10514,7 @@ class ListUnsatisfiedReplyRequest(AbstractModel):
|
|
9783
10514
|
|
9784
10515
|
def __init__(self):
|
9785
10516
|
r"""
|
9786
|
-
:param _BotBizId:
|
10517
|
+
:param _BotBizId: 应用ID
|
9787
10518
|
:type BotBizId: str
|
9788
10519
|
:param _PageNumber: 页码
|
9789
10520
|
:type PageNumber: int
|
@@ -10188,7 +10919,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
|
|
10188
10919
|
|
10189
10920
|
def __init__(self):
|
10190
10921
|
r"""
|
10191
|
-
:param _BotBizId:
|
10922
|
+
:param _BotBizId: 应用ID
|
10192
10923
|
:type BotBizId: str
|
10193
10924
|
:param _AttributeBizId: 属性ID
|
10194
10925
|
:type AttributeBizId: str
|
@@ -10347,7 +11078,7 @@ class ModifyDocAttrRangeRequest(AbstractModel):
|
|
10347
11078
|
|
10348
11079
|
def __init__(self):
|
10349
11080
|
r"""
|
10350
|
-
:param _BotBizId:
|
11081
|
+
:param _BotBizId: 应用ID
|
10351
11082
|
:type BotBizId: str
|
10352
11083
|
:param _DocBizIds: 文档ID
|
10353
11084
|
:type DocBizIds: list of str
|
@@ -10446,7 +11177,7 @@ class ModifyDocRequest(AbstractModel):
|
|
10446
11177
|
|
10447
11178
|
def __init__(self):
|
10448
11179
|
r"""
|
10449
|
-
:param _BotBizId:
|
11180
|
+
:param _BotBizId: 应用ID
|
10450
11181
|
:type BotBizId: str
|
10451
11182
|
:param _DocBizId: 文档ID
|
10452
11183
|
:type DocBizId: str
|
@@ -10630,7 +11361,7 @@ class ModifyQAAttrRangeRequest(AbstractModel):
|
|
10630
11361
|
|
10631
11362
|
def __init__(self):
|
10632
11363
|
r"""
|
10633
|
-
:param _BotBizId:
|
11364
|
+
:param _BotBizId: 应用ID
|
10634
11365
|
:type BotBizId: str
|
10635
11366
|
:param _QaBizIds: 问答ID
|
10636
11367
|
:type QaBizIds: list of str
|
@@ -10729,7 +11460,7 @@ class ModifyQACateRequest(AbstractModel):
|
|
10729
11460
|
|
10730
11461
|
def __init__(self):
|
10731
11462
|
r"""
|
10732
|
-
:param _BotBizId:
|
11463
|
+
:param _BotBizId: 应用ID
|
10733
11464
|
:type BotBizId: str
|
10734
11465
|
:param _Name: 分类名称
|
10735
11466
|
|
@@ -10812,7 +11543,7 @@ class ModifyQARequest(AbstractModel):
|
|
10812
11543
|
|
10813
11544
|
def __init__(self):
|
10814
11545
|
r"""
|
10815
|
-
:param _BotBizId:
|
11546
|
+
:param _BotBizId: 应用ID
|
10816
11547
|
:type BotBizId: str
|
10817
11548
|
:param _QaBizId: 问答ID
|
10818
11549
|
:type QaBizId: str
|
@@ -10995,7 +11726,7 @@ class ModifyRejectedQuestionRequest(AbstractModel):
|
|
10995
11726
|
|
10996
11727
|
def __init__(self):
|
10997
11728
|
r"""
|
10998
|
-
:param _BotBizId:
|
11729
|
+
:param _BotBizId: 应用ID
|
10999
11730
|
:type BotBizId: str
|
11000
11731
|
:param _Question: 拒答问题
|
11001
11732
|
|
@@ -11075,6 +11806,92 @@ class ModifyRejectedQuestionResponse(AbstractModel):
|
|
11075
11806
|
self._RequestId = params.get("RequestId")
|
11076
11807
|
|
11077
11808
|
|
11809
|
+
class MsgFileInfo(AbstractModel):
|
11810
|
+
"""文档信息
|
11811
|
+
|
11812
|
+
"""
|
11813
|
+
|
11814
|
+
def __init__(self):
|
11815
|
+
r"""
|
11816
|
+
:param _FileName: 文档名称
|
11817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11818
|
+
:type FileName: str
|
11819
|
+
:param _FileSize: 文档大小
|
11820
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11821
|
+
:type FileSize: str
|
11822
|
+
:param _FileUrl: 文档URL
|
11823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11824
|
+
:type FileUrl: str
|
11825
|
+
:param _FileType: 文档类型
|
11826
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11827
|
+
:type FileType: str
|
11828
|
+
:param _DocId: 文档ID
|
11829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11830
|
+
:type DocId: str
|
11831
|
+
"""
|
11832
|
+
self._FileName = None
|
11833
|
+
self._FileSize = None
|
11834
|
+
self._FileUrl = None
|
11835
|
+
self._FileType = None
|
11836
|
+
self._DocId = None
|
11837
|
+
|
11838
|
+
@property
|
11839
|
+
def FileName(self):
|
11840
|
+
return self._FileName
|
11841
|
+
|
11842
|
+
@FileName.setter
|
11843
|
+
def FileName(self, FileName):
|
11844
|
+
self._FileName = FileName
|
11845
|
+
|
11846
|
+
@property
|
11847
|
+
def FileSize(self):
|
11848
|
+
return self._FileSize
|
11849
|
+
|
11850
|
+
@FileSize.setter
|
11851
|
+
def FileSize(self, FileSize):
|
11852
|
+
self._FileSize = FileSize
|
11853
|
+
|
11854
|
+
@property
|
11855
|
+
def FileUrl(self):
|
11856
|
+
return self._FileUrl
|
11857
|
+
|
11858
|
+
@FileUrl.setter
|
11859
|
+
def FileUrl(self, FileUrl):
|
11860
|
+
self._FileUrl = FileUrl
|
11861
|
+
|
11862
|
+
@property
|
11863
|
+
def FileType(self):
|
11864
|
+
return self._FileType
|
11865
|
+
|
11866
|
+
@FileType.setter
|
11867
|
+
def FileType(self, FileType):
|
11868
|
+
self._FileType = FileType
|
11869
|
+
|
11870
|
+
@property
|
11871
|
+
def DocId(self):
|
11872
|
+
return self._DocId
|
11873
|
+
|
11874
|
+
@DocId.setter
|
11875
|
+
def DocId(self, DocId):
|
11876
|
+
self._DocId = DocId
|
11877
|
+
|
11878
|
+
|
11879
|
+
def _deserialize(self, params):
|
11880
|
+
self._FileName = params.get("FileName")
|
11881
|
+
self._FileSize = params.get("FileSize")
|
11882
|
+
self._FileUrl = params.get("FileUrl")
|
11883
|
+
self._FileType = params.get("FileType")
|
11884
|
+
self._DocId = params.get("DocId")
|
11885
|
+
memeber_set = set(params.keys())
|
11886
|
+
for name, value in vars(self).items():
|
11887
|
+
property_name = name[1:]
|
11888
|
+
if property_name in memeber_set:
|
11889
|
+
memeber_set.remove(property_name)
|
11890
|
+
if len(memeber_set) > 0:
|
11891
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11892
|
+
|
11893
|
+
|
11894
|
+
|
11078
11895
|
class MsgRecord(AbstractModel):
|
11079
11896
|
"""消息详情
|
11080
11897
|
|
@@ -11122,6 +11939,20 @@ class MsgRecord(AbstractModel):
|
|
11122
11939
|
注意:此字段可能返回 null,表示取不到有效值。
|
11123
11940
|
:type TokenStat: :class:`tencentcloud.lke.v20231130.models.TokenStat`
|
11124
11941
|
:param _ReplyMethod: 回复方式
|
11942
|
+
1:大模型直接回复;
|
11943
|
+
2:保守回复, 未知问题回复;
|
11944
|
+
3:拒答问题回复;
|
11945
|
+
4:敏感回复;
|
11946
|
+
5:问答对直接回复, 已采纳问答对优先回复;
|
11947
|
+
6:欢迎语回复;
|
11948
|
+
7:并发超限回复;
|
11949
|
+
8:全局干预知识;
|
11950
|
+
9:任务流程过程回复, 当历史记录中 task_flow.type = 0 时, 为大模型回复;
|
11951
|
+
10:任务流程答案回复;
|
11952
|
+
11:搜索引擎回复;
|
11953
|
+
12:知识润色后回复;
|
11954
|
+
13:图片理解回复;
|
11955
|
+
14:实时文档回复;
|
11125
11956
|
注意:此字段可能返回 null,表示取不到有效值。
|
11126
11957
|
:type ReplyMethod: int
|
11127
11958
|
:param _OptionCards: 选项卡, 用于多轮对话
|
@@ -11130,6 +11961,9 @@ class MsgRecord(AbstractModel):
|
|
11130
11961
|
:param _TaskFlow: 任务信息
|
11131
11962
|
注意:此字段可能返回 null,表示取不到有效值。
|
11132
11963
|
:type TaskFlow: :class:`tencentcloud.lke.v20231130.models.TaskFlowInfo`
|
11964
|
+
:param _FileInfos: 用户传入的文件信息
|
11965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11966
|
+
:type FileInfos: list of FileInfo
|
11133
11967
|
"""
|
11134
11968
|
self._Content = None
|
11135
11969
|
self._SessionId = None
|
@@ -11152,6 +11986,7 @@ class MsgRecord(AbstractModel):
|
|
11152
11986
|
self._ReplyMethod = None
|
11153
11987
|
self._OptionCards = None
|
11154
11988
|
self._TaskFlow = None
|
11989
|
+
self._FileInfos = None
|
11155
11990
|
|
11156
11991
|
@property
|
11157
11992
|
def Content(self):
|
@@ -11321,6 +12156,14 @@ class MsgRecord(AbstractModel):
|
|
11321
12156
|
def TaskFlow(self, TaskFlow):
|
11322
12157
|
self._TaskFlow = TaskFlow
|
11323
12158
|
|
12159
|
+
@property
|
12160
|
+
def FileInfos(self):
|
12161
|
+
return self._FileInfos
|
12162
|
+
|
12163
|
+
@FileInfos.setter
|
12164
|
+
def FileInfos(self, FileInfos):
|
12165
|
+
self._FileInfos = FileInfos
|
12166
|
+
|
11324
12167
|
|
11325
12168
|
def _deserialize(self, params):
|
11326
12169
|
self._Content = params.get("Content")
|
@@ -11353,6 +12196,12 @@ class MsgRecord(AbstractModel):
|
|
11353
12196
|
if params.get("TaskFlow") is not None:
|
11354
12197
|
self._TaskFlow = TaskFlowInfo()
|
11355
12198
|
self._TaskFlow._deserialize(params.get("TaskFlow"))
|
12199
|
+
if params.get("FileInfos") is not None:
|
12200
|
+
self._FileInfos = []
|
12201
|
+
for item in params.get("FileInfos"):
|
12202
|
+
obj = FileInfo()
|
12203
|
+
obj._deserialize(item)
|
12204
|
+
self._FileInfos.append(obj)
|
11356
12205
|
memeber_set = set(params.keys())
|
11357
12206
|
for name, value in vars(self).items():
|
11358
12207
|
property_name = name[1:]
|
@@ -12007,7 +12856,7 @@ class QAQuery(AbstractModel):
|
|
12007
12856
|
:param _PageSize: 每页数量
|
12008
12857
|
|
12009
12858
|
:type PageSize: int
|
12010
|
-
:param _BotBizId:
|
12859
|
+
:param _BotBizId: 应用ID
|
12011
12860
|
:type BotBizId: str
|
12012
12861
|
:param _Query: 查询内容
|
12013
12862
|
|
@@ -12397,7 +13246,7 @@ class RateMsgRecordRequest(AbstractModel):
|
|
12397
13246
|
|
12398
13247
|
def __init__(self):
|
12399
13248
|
r"""
|
12400
|
-
:param _BotAppKey:
|
13249
|
+
:param _BotAppKey: 应用appKey
|
12401
13250
|
:type BotAppKey: str
|
12402
13251
|
:param _RecordId: 消息ID
|
12403
13252
|
:type RecordId: str
|
@@ -12558,14 +13407,13 @@ class ReconstructDocumentRequest(AbstractModel):
|
|
12558
13407
|
|
12559
13408
|
def __init__(self):
|
12560
13409
|
r"""
|
12561
|
-
:param _FileBase64:
|
13410
|
+
:param _FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
12562
13411
|
:type FileBase64: str
|
12563
|
-
:param _FileUrl:
|
13412
|
+
:param _FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12564
13413
|
:type FileUrl: str
|
12565
|
-
:param _FileStartPageNumber: 当传入文件是PDF
|
13414
|
+
:param _FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
|
12566
13415
|
:type FileStartPageNumber: int
|
12567
|
-
:param _FileEndPageNumber: 当传入文件是PDF
|
12568
|
-
单次调用,最多支持10页pdf的智能识别。
|
13416
|
+
:param _FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。
|
12569
13417
|
:type FileEndPageNumber: int
|
12570
13418
|
:param _Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
|
12571
13419
|
:type Config: :class:`tencentcloud.lke.v20231130.models.ReconstructDocumentConfig`
|
@@ -13523,7 +14371,7 @@ class RetryDocAuditRequest(AbstractModel):
|
|
13523
14371
|
|
13524
14372
|
def __init__(self):
|
13525
14373
|
r"""
|
13526
|
-
:param _BotBizId:
|
14374
|
+
:param _BotBizId: 应用ID
|
13527
14375
|
:type BotBizId: str
|
13528
14376
|
:param _DocBizId: 文档ID
|
13529
14377
|
:type DocBizId: str
|
@@ -13593,7 +14441,7 @@ class RetryDocParseRequest(AbstractModel):
|
|
13593
14441
|
|
13594
14442
|
def __init__(self):
|
13595
14443
|
r"""
|
13596
|
-
:param _BotBizId:
|
14444
|
+
:param _BotBizId: 应用ID
|
13597
14445
|
:type BotBizId: str
|
13598
14446
|
:param _DocBizId: 文档ID
|
13599
14447
|
:type DocBizId: str
|
@@ -14025,7 +14873,7 @@ class StopDocParseRequest(AbstractModel):
|
|
14025
14873
|
|
14026
14874
|
def __init__(self):
|
14027
14875
|
r"""
|
14028
|
-
:param _BotBizId:
|
14876
|
+
:param _BotBizId: 应用ID
|
14029
14877
|
:type BotBizId: str
|
14030
14878
|
:param _DocBizId: 文档ID
|
14031
14879
|
:type DocBizId: str
|
@@ -14521,7 +15369,7 @@ class UnsatisfiedReply(AbstractModel):
|
|
14521
15369
|
:param _Question: 用户问题
|
14522
15370
|
注意:此字段可能返回 null,表示取不到有效值。
|
14523
15371
|
:type Question: str
|
14524
|
-
:param _Answer:
|
15372
|
+
:param _Answer: 应用回复
|
14525
15373
|
注意:此字段可能返回 null,表示取不到有效值。
|
14526
15374
|
:type Answer: str
|
14527
15375
|
:param _Reasons: 错误类型
|
@@ -14598,7 +15446,7 @@ class UploadAttributeLabelRequest(AbstractModel):
|
|
14598
15446
|
|
14599
15447
|
def __init__(self):
|
14600
15448
|
r"""
|
14601
|
-
:param _BotBizId:
|
15449
|
+
:param _BotBizId: 应用ID
|
14602
15450
|
:type BotBizId: str
|
14603
15451
|
:param _FileName: 文件名
|
14604
15452
|
:type FileName: str
|
@@ -14835,7 +15683,7 @@ class VerifyQARequest(AbstractModel):
|
|
14835
15683
|
r"""
|
14836
15684
|
:param _List: 问答列表
|
14837
15685
|
:type List: list of QAList
|
14838
|
-
:param _BotBizId:
|
15686
|
+
:param _BotBizId: 应用ID
|
14839
15687
|
:type BotBizId: str
|
14840
15688
|
:param _LoginUin: 登录用户主账号(集成商模式必填)
|
14841
15689
|
:type LoginUin: str
|
@@ -14922,4 +15770,51 @@ class VerifyQAResponse(AbstractModel):
|
|
14922
15770
|
|
14923
15771
|
|
14924
15772
|
def _deserialize(self, params):
|
14925
|
-
self._RequestId = params.get("RequestId")
|
15773
|
+
self._RequestId = params.get("RequestId")
|
15774
|
+
|
15775
|
+
|
15776
|
+
class WordRecognizeInfo(AbstractModel):
|
15777
|
+
"""解析为 word 文档的结果
|
15778
|
+
|
15779
|
+
"""
|
15780
|
+
|
15781
|
+
def __init__(self):
|
15782
|
+
r"""
|
15783
|
+
:param _PageNumber: 输入文件的页码数
|
15784
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15785
|
+
:type PageNumber: int
|
15786
|
+
:param _WordBase64: word的base64
|
15787
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15788
|
+
:type WordBase64: str
|
15789
|
+
"""
|
15790
|
+
self._PageNumber = None
|
15791
|
+
self._WordBase64 = None
|
15792
|
+
|
15793
|
+
@property
|
15794
|
+
def PageNumber(self):
|
15795
|
+
return self._PageNumber
|
15796
|
+
|
15797
|
+
@PageNumber.setter
|
15798
|
+
def PageNumber(self, PageNumber):
|
15799
|
+
self._PageNumber = PageNumber
|
15800
|
+
|
15801
|
+
@property
|
15802
|
+
def WordBase64(self):
|
15803
|
+
return self._WordBase64
|
15804
|
+
|
15805
|
+
@WordBase64.setter
|
15806
|
+
def WordBase64(self, WordBase64):
|
15807
|
+
self._WordBase64 = WordBase64
|
15808
|
+
|
15809
|
+
|
15810
|
+
def _deserialize(self, params):
|
15811
|
+
self._PageNumber = params.get("PageNumber")
|
15812
|
+
self._WordBase64 = params.get("WordBase64")
|
15813
|
+
memeber_set = set(params.keys())
|
15814
|
+
for name, value in vars(self).items():
|
15815
|
+
property_name = name[1:]
|
15816
|
+
if property_name in memeber_set:
|
15817
|
+
memeber_set.remove(property_name)
|
15818
|
+
if len(memeber_set) > 0:
|
15819
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15820
|
+
|