tencentcloud-sdk-python-lkeap 3.0.1465__tar.gz → 3.0.1470__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/setup.py +1 -1
  3. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/lkeap/v20240522/models.py +111 -24
  5. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud_sdk_python_lkeap.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-lkeap-3.0.1470/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-lkeap-3.0.1465/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/README.rst +0 -0
  9. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/lkeap/__init__.py +0 -0
  11. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/lkeap/v20240522/__init__.py +0 -0
  12. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/lkeap/v20240522/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud/lkeap/v20240522/lkeap_client.py +0 -0
  14. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud_sdk_python_lkeap.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud_sdk_python_lkeap.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-lkeap-3.0.1465 → tencentcloud-sdk-python-lkeap-3.0.1470}/tencentcloud_sdk_python_lkeap.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.0.1465
3
+ Version: 3.0.1470
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-lkeap',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1465,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1470,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Lkeap SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1465'
17
+ __version__ = '3.0.1470'
@@ -242,7 +242,9 @@ class ChatCompletionsRequest(AbstractModel):
242
242
  :type Stream: bool
243
243
  :param _Temperature: 控制生成的随机性,较高的值会产生更多样化的输出。
244
244
  :type Temperature: float
245
- :param _MaxTokens: 最大生成的token数量,默认为4096,最大可设置为16384
245
+ :param _MaxTokens: 模型最大输出长度(单位 token),不包含思维链内容。
246
+ 默认为4096,取值范围:各个模型不同,参考各个模型最大输出长度(示例:4k,即4096)。
247
+ 输出 token 的总长度受模型的上下文长度限制。
246
248
  :type MaxTokens: int
247
249
  :param _EnableSearch: 是否启用联网搜索
248
250
  :type EnableSearch: bool
@@ -308,7 +310,9 @@ class ChatCompletionsRequest(AbstractModel):
308
310
 
309
311
  @property
310
312
  def MaxTokens(self):
311
- r"""最大生成的token数量,默认为4096,最大可设置为16384
313
+ r"""模型最大输出长度(单位 token),不包含思维链内容。
314
+ 默认为4096,取值范围:各个模型不同,参考各个模型最大输出长度(示例:4k,即4096)。
315
+ 输出 token 的总长度受模型的上下文长度限制。
312
316
  :rtype: int
313
317
  """
314
318
  return self._MaxTokens
@@ -941,8 +945,10 @@ class CreateReconstructDocumentFlowConfig(AbstractModel):
941
945
  1:只返回每一页的OCR原始Json;
942
946
  2:只返回每一页的MD,
943
947
  3:返回全文MD + 每一页的OCR原始Json;
944
- 4:返回全文MD + 每一页的MD
948
+ 4:返回全文MD + 每一页的MD
949
+ 5: 返回全文md,每一页ocr原始json,每一页md
945
950
  默认值为0
951
+
946
952
  :type ResultType: str
947
953
  :param _IgnoreFailedPage: 是否忽略失败页,返回已成功的页数据。默认为true。
948
954
  :type IgnoreFailedPage: bool
@@ -972,8 +978,10 @@ class CreateReconstructDocumentFlowConfig(AbstractModel):
972
978
  1:只返回每一页的OCR原始Json;
973
979
  2:只返回每一页的MD,
974
980
  3:返回全文MD + 每一页的OCR原始Json;
975
- 4:返回全文MD + 每一页的MD
981
+ 4:返回全文MD + 每一页的MD
982
+ 5: 返回全文md,每一页ocr原始json,每一页md
976
983
  默认值为0
984
+
977
985
  :rtype: str
978
986
  """
979
987
  return self._ResultType
@@ -1203,10 +1211,10 @@ class CreateSplitDocumentFlowConfig(AbstractModel):
1203
1211
  :param _ResultType: 智能文档解析返回结果的格式
1204
1212
  0:只返回全文MD;
1205
1213
  1:只返回每一页的OCR原始Json;
1206
- 2:只返回每一页的MD
1214
+ 2:只返回每一页的MD
1207
1215
  3:返回全文MD + 每一页的OCR原始Json;
1208
- 4:返回全文MD + 每一页的MD
1209
- 默认值为3(返回全文MD + 每一页的OCR原始Json)
1216
+ 4:返回全文MD + 每一页的MD
1217
+ 5:返回全文md,每一页ocr原始json,每一页md。
1210
1218
 
1211
1219
 
1212
1220
  :type ResultType: str
@@ -1216,12 +1224,29 @@ class CreateSplitDocumentFlowConfig(AbstractModel):
1216
1224
  :type MaxChunkSize: int
1217
1225
  :param _IgnoreFailedPage: 是否忽略返回失败页码
1218
1226
  :type IgnoreFailedPage: bool
1227
+ :param _SplitResultType: 智能文档解析返回结果的格式
1228
+ 0:只返回全文MD;
1229
+ 1:只返回每一页的OCR原始Json;
1230
+ 2:只返回每一页的MD;
1231
+ 3:返回全文MD + 每一页的OCR原始Json;
1232
+ 4:返回全文MD + 每一页的MD;
1233
+ 5:返回全文md,每一页ocr原始json,每一页md。
1234
+
1235
+
1236
+ :type SplitResultType: str
1237
+ :param _SplitTableResultType: Markdown文件中表格返回的形式
1238
+ 0,表格以MD形式返回
1239
+ 1,表格以HTML形式返回
1240
+ 默认为
1241
+ :type SplitTableResultType: str
1219
1242
  """
1220
1243
  self._TableResultType = None
1221
1244
  self._ResultType = None
1222
1245
  self._EnableMllm = None
1223
1246
  self._MaxChunkSize = None
1224
1247
  self._IgnoreFailedPage = None
1248
+ self._SplitResultType = None
1249
+ self._SplitTableResultType = None
1225
1250
 
1226
1251
  @property
1227
1252
  def TableResultType(self):
@@ -1248,10 +1273,10 @@ class CreateSplitDocumentFlowConfig(AbstractModel):
1248
1273
  r"""智能文档解析返回结果的格式
1249
1274
  0:只返回全文MD;
1250
1275
  1:只返回每一页的OCR原始Json;
1251
- 2:只返回每一页的MD
1276
+ 2:只返回每一页的MD
1252
1277
  3:返回全文MD + 每一页的OCR原始Json;
1253
- 4:返回全文MD + 每一页的MD
1254
- 默认值为3(返回全文MD + 每一页的OCR原始Json)
1278
+ 4:返回全文MD + 每一页的MD
1279
+ 5:返回全文md,每一页ocr原始json,每一页md。
1255
1280
 
1256
1281
 
1257
1282
  :rtype: str
@@ -1297,6 +1322,39 @@ class CreateSplitDocumentFlowConfig(AbstractModel):
1297
1322
  def IgnoreFailedPage(self, IgnoreFailedPage):
1298
1323
  self._IgnoreFailedPage = IgnoreFailedPage
1299
1324
 
1325
+ @property
1326
+ def SplitResultType(self):
1327
+ r"""智能文档解析返回结果的格式
1328
+ 0:只返回全文MD;
1329
+ 1:只返回每一页的OCR原始Json;
1330
+ 2:只返回每一页的MD;
1331
+ 3:返回全文MD + 每一页的OCR原始Json;
1332
+ 4:返回全文MD + 每一页的MD;
1333
+ 5:返回全文md,每一页ocr原始json,每一页md。
1334
+
1335
+
1336
+ :rtype: str
1337
+ """
1338
+ return self._SplitResultType
1339
+
1340
+ @SplitResultType.setter
1341
+ def SplitResultType(self, SplitResultType):
1342
+ self._SplitResultType = SplitResultType
1343
+
1344
+ @property
1345
+ def SplitTableResultType(self):
1346
+ r"""Markdown文件中表格返回的形式
1347
+ 0,表格以MD形式返回
1348
+ 1,表格以HTML形式返回
1349
+ 默认为
1350
+ :rtype: str
1351
+ """
1352
+ return self._SplitTableResultType
1353
+
1354
+ @SplitTableResultType.setter
1355
+ def SplitTableResultType(self, SplitTableResultType):
1356
+ self._SplitTableResultType = SplitTableResultType
1357
+
1300
1358
 
1301
1359
  def _deserialize(self, params):
1302
1360
  self._TableResultType = params.get("TableResultType")
@@ -1304,6 +1362,8 @@ class CreateSplitDocumentFlowConfig(AbstractModel):
1304
1362
  self._EnableMllm = params.get("EnableMllm")
1305
1363
  self._MaxChunkSize = params.get("MaxChunkSize")
1306
1364
  self._IgnoreFailedPage = params.get("IgnoreFailedPage")
1365
+ self._SplitResultType = params.get("SplitResultType")
1366
+ self._SplitTableResultType = params.get("SplitTableResultType")
1307
1367
  memeber_set = set(params.keys())
1308
1368
  for name, value in vars(self).items():
1309
1369
  property_name = name[1:]
@@ -2483,8 +2543,7 @@ class GetEmbeddingRequest(AbstractModel):
2483
2543
 
2484
2544
  def __init__(self):
2485
2545
  r"""
2486
- :param _Model: 说明:选择生成向量的模型
2487
- 备注:仅一个模型可选
2546
+ :param _Model: 说明:选择生成向量的模型备注:可选[lke-text-embedding-v1,lke-text-embedding-v2,youtu-embedding-llm-v1]
2488
2547
  :type Model: str
2489
2548
  :param _Inputs: 说明:需要 embedding 的文本
2490
2549
  备注:单条query最多2000个字符,总条数最多7条
@@ -2501,8 +2560,7 @@ class GetEmbeddingRequest(AbstractModel):
2501
2560
 
2502
2561
  @property
2503
2562
  def Model(self):
2504
- r"""说明:选择生成向量的模型
2505
- 备注:仅一个模型可选
2563
+ r"""说明:选择生成向量的模型备注:可选[lke-text-embedding-v1,lke-text-embedding-v2,youtu-embedding-llm-v1]
2506
2564
  :rtype: str
2507
2565
  """
2508
2566
  return self._Model
@@ -3614,26 +3672,37 @@ class ModifyAttributeLabelRequest(AbstractModel):
3614
3672
 
3615
3673
  def __init__(self):
3616
3674
  r"""
3617
- :param _KnowledgeBaseId: 知识库ID
3675
+ :param _KnowledgeBaseId: 说明:知识库ID
3676
+ 备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)
3618
3677
  :type KnowledgeBaseId: str
3619
- :param _AttributeId: 属性ID
3678
+ :param _AttributeId: 说明:属性ID
3679
+ 备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系
3620
3680
  :type AttributeId: str
3621
- :param _AttributeKey: 属性标识,最大40个英文字符,如style
3681
+ :param _AttributeKey: 说明:属性标识,
3682
+ 备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style
3622
3683
  :type AttributeKey: str
3623
- :param _AttributeName: 属性名称,最大80个英文字符,如风格
3684
+ :param _AttributeName: 说明:属性名称
3685
+ 备注:支持中英文字符。最大支持80个中英文字符,如风格
3624
3686
  :type AttributeName: str
3625
- :param _Labels: 属性标签
3687
+ :param _Labels: 说明:标签ID(LabelId)以及标签名(LabelName)
3688
+ 备注:
3689
+ - 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
3690
+ - 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值
3626
3691
  :type Labels: list of AttributeLabelItem
3692
+ :param _DeleteLabelIds: 说明:删除的标签id
3693
+ :type DeleteLabelIds: list of str
3627
3694
  """
3628
3695
  self._KnowledgeBaseId = None
3629
3696
  self._AttributeId = None
3630
3697
  self._AttributeKey = None
3631
3698
  self._AttributeName = None
3632
3699
  self._Labels = None
3700
+ self._DeleteLabelIds = None
3633
3701
 
3634
3702
  @property
3635
3703
  def KnowledgeBaseId(self):
3636
- r"""知识库ID
3704
+ r"""说明:知识库ID
3705
+ 备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)
3637
3706
  :rtype: str
3638
3707
  """
3639
3708
  return self._KnowledgeBaseId
@@ -3644,7 +3713,8 @@ class ModifyAttributeLabelRequest(AbstractModel):
3644
3713
 
3645
3714
  @property
3646
3715
  def AttributeId(self):
3647
- r"""属性ID
3716
+ r"""说明:属性ID
3717
+ 备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系
3648
3718
  :rtype: str
3649
3719
  """
3650
3720
  return self._AttributeId
@@ -3655,7 +3725,8 @@ class ModifyAttributeLabelRequest(AbstractModel):
3655
3725
 
3656
3726
  @property
3657
3727
  def AttributeKey(self):
3658
- r"""属性标识,最大40个英文字符,如style
3728
+ r"""说明:属性标识,
3729
+ 备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style
3659
3730
  :rtype: str
3660
3731
  """
3661
3732
  return self._AttributeKey
@@ -3666,7 +3737,8 @@ class ModifyAttributeLabelRequest(AbstractModel):
3666
3737
 
3667
3738
  @property
3668
3739
  def AttributeName(self):
3669
- r"""属性名称,最大80个英文字符,如风格
3740
+ r"""说明:属性名称
3741
+ 备注:支持中英文字符。最大支持80个中英文字符,如风格
3670
3742
  :rtype: str
3671
3743
  """
3672
3744
  return self._AttributeName
@@ -3677,7 +3749,10 @@ class ModifyAttributeLabelRequest(AbstractModel):
3677
3749
 
3678
3750
  @property
3679
3751
  def Labels(self):
3680
- r"""属性标签
3752
+ r"""说明:标签ID(LabelId)以及标签名(LabelName)
3753
+ 备注:
3754
+ - 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);
3755
+ - 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值
3681
3756
  :rtype: list of AttributeLabelItem
3682
3757
  """
3683
3758
  return self._Labels
@@ -3686,6 +3761,17 @@ class ModifyAttributeLabelRequest(AbstractModel):
3686
3761
  def Labels(self, Labels):
3687
3762
  self._Labels = Labels
3688
3763
 
3764
+ @property
3765
+ def DeleteLabelIds(self):
3766
+ r"""说明:删除的标签id
3767
+ :rtype: list of str
3768
+ """
3769
+ return self._DeleteLabelIds
3770
+
3771
+ @DeleteLabelIds.setter
3772
+ def DeleteLabelIds(self, DeleteLabelIds):
3773
+ self._DeleteLabelIds = DeleteLabelIds
3774
+
3689
3775
 
3690
3776
  def _deserialize(self, params):
3691
3777
  self._KnowledgeBaseId = params.get("KnowledgeBaseId")
@@ -3698,6 +3784,7 @@ class ModifyAttributeLabelRequest(AbstractModel):
3698
3784
  obj = AttributeLabelItem()
3699
3785
  obj._deserialize(item)
3700
3786
  self._Labels.append(obj)
3787
+ self._DeleteLabelIds = params.get("DeleteLabelIds")
3701
3788
  memeber_set = set(params.keys())
3702
3789
  for name, value in vars(self).items():
3703
3790
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.0.1465
3
+ Version: 3.0.1470
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1470
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1465