tencentcloud-sdk-python-lke 3.1.42__tar.gz → 3.1.60__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/setup.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/v20231130/models.py +233 -10
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud_sdk_python_lke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_lke-3.1.60/tencentcloud_sdk_python_lke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_lke-3.1.42/tencentcloud_sdk_python_lke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/README.rst +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/setup.cfg +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/v20231130/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/v20231130/errorcodes.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/v20231130/lke_client.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud/lke/v20231130/lke_client_async.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud_sdk_python_lke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud_sdk_python_lke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.60}/tencentcloud_sdk_python_lke.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.60
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.60
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-lke',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.60,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Lke SDK for Python',
|
|
@@ -163,6 +163,8 @@ class Agent(AbstractModel):
|
|
|
163
163
|
:type AgentMode: int
|
|
164
164
|
:param _AdvancedConfig: 高级设置
|
|
165
165
|
:type AdvancedConfig: :class:`tencentcloud.lke.v20231130.models.AgentAdvancedConfig`
|
|
166
|
+
:param _MaxToolCount: 工具数量上限
|
|
167
|
+
:type MaxToolCount: int
|
|
166
168
|
"""
|
|
167
169
|
self._AgentId = None
|
|
168
170
|
self._WorkflowId = None
|
|
@@ -178,6 +180,7 @@ class Agent(AbstractModel):
|
|
|
178
180
|
self._AgentType = None
|
|
179
181
|
self._AgentMode = None
|
|
180
182
|
self._AdvancedConfig = None
|
|
183
|
+
self._MaxToolCount = None
|
|
181
184
|
|
|
182
185
|
@property
|
|
183
186
|
def AgentId(self):
|
|
@@ -333,6 +336,17 @@ class Agent(AbstractModel):
|
|
|
333
336
|
def AdvancedConfig(self, AdvancedConfig):
|
|
334
337
|
self._AdvancedConfig = AdvancedConfig
|
|
335
338
|
|
|
339
|
+
@property
|
|
340
|
+
def MaxToolCount(self):
|
|
341
|
+
r"""工具数量上限
|
|
342
|
+
:rtype: int
|
|
343
|
+
"""
|
|
344
|
+
return self._MaxToolCount
|
|
345
|
+
|
|
346
|
+
@MaxToolCount.setter
|
|
347
|
+
def MaxToolCount(self, MaxToolCount):
|
|
348
|
+
self._MaxToolCount = MaxToolCount
|
|
349
|
+
|
|
336
350
|
|
|
337
351
|
def _deserialize(self, params):
|
|
338
352
|
self._AgentId = params.get("AgentId")
|
|
@@ -363,6 +377,7 @@ class Agent(AbstractModel):
|
|
|
363
377
|
if params.get("AdvancedConfig") is not None:
|
|
364
378
|
self._AdvancedConfig = AgentAdvancedConfig()
|
|
365
379
|
self._AdvancedConfig._deserialize(params.get("AdvancedConfig"))
|
|
380
|
+
self._MaxToolCount = params.get("MaxToolCount")
|
|
366
381
|
memeber_set = set(params.keys())
|
|
367
382
|
for name, value in vars(self).items():
|
|
368
383
|
property_name = name[1:]
|
|
@@ -1730,10 +1745,12 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1730
1745
|
:param _Headers: 应用配置的插件header信息
|
|
1731
1746
|
:type Headers: list of AgentPluginHeader
|
|
1732
1747
|
:param _Model: 插件调用LLM时使用的模型配置,一般用于指定知识库问答插件的生成模型
|
|
1748
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1733
1749
|
:type Model: :class:`tencentcloud.lke.v20231130.models.AgentModelInfo`
|
|
1734
1750
|
:param _PluginInfoType: 插件信息类型; 0: 未指定类型; 1: 知识库问答插件
|
|
1735
1751
|
:type PluginInfoType: int
|
|
1736
1752
|
:param _KnowledgeQa: 知识库问答插件配置
|
|
1753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1737
1754
|
:type KnowledgeQa: :class:`tencentcloud.lke.v20231130.models.AgentKnowledgeQAPlugin`
|
|
1738
1755
|
:param _EnableRoleAuth: 是否使用一键授权
|
|
1739
1756
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1777,6 +1794,7 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1777
1794
|
@property
|
|
1778
1795
|
def Model(self):
|
|
1779
1796
|
r"""插件调用LLM时使用的模型配置,一般用于指定知识库问答插件的生成模型
|
|
1797
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1780
1798
|
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentModelInfo`
|
|
1781
1799
|
"""
|
|
1782
1800
|
return self._Model
|
|
@@ -1799,6 +1817,7 @@ class AgentPluginInfo(AbstractModel):
|
|
|
1799
1817
|
@property
|
|
1800
1818
|
def KnowledgeQa(self):
|
|
1801
1819
|
r"""知识库问答插件配置
|
|
1820
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1802
1821
|
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentKnowledgeQAPlugin`
|
|
1803
1822
|
"""
|
|
1804
1823
|
return self._KnowledgeQa
|
|
@@ -2864,6 +2883,8 @@ class AgentToolInfo(AbstractModel):
|
|
|
2864
2883
|
:type AuthMode: int
|
|
2865
2884
|
:param _AuthType: 授权类型; 0-无鉴权;1-APIKey;2-CAM授权;3-Oauth2.0授权;
|
|
2866
2885
|
:type AuthType: int
|
|
2886
|
+
:param _AuthConfigStatus: 工具授权配置状态;0:不需要授权,1:需要授权-未配置,2:需要授权-已配置
|
|
2887
|
+
:type AuthConfigStatus: int
|
|
2867
2888
|
"""
|
|
2868
2889
|
self._PluginId = None
|
|
2869
2890
|
self._PluginName = None
|
|
@@ -2887,6 +2908,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
2887
2908
|
self._ToolAdvanceConfig = None
|
|
2888
2909
|
self._AuthMode = None
|
|
2889
2910
|
self._AuthType = None
|
|
2911
|
+
self._AuthConfigStatus = None
|
|
2890
2912
|
|
|
2891
2913
|
@property
|
|
2892
2914
|
def PluginId(self):
|
|
@@ -3133,6 +3155,17 @@ class AgentToolInfo(AbstractModel):
|
|
|
3133
3155
|
def AuthType(self, AuthType):
|
|
3134
3156
|
self._AuthType = AuthType
|
|
3135
3157
|
|
|
3158
|
+
@property
|
|
3159
|
+
def AuthConfigStatus(self):
|
|
3160
|
+
r"""工具授权配置状态;0:不需要授权,1:需要授权-未配置,2:需要授权-已配置
|
|
3161
|
+
:rtype: int
|
|
3162
|
+
"""
|
|
3163
|
+
return self._AuthConfigStatus
|
|
3164
|
+
|
|
3165
|
+
@AuthConfigStatus.setter
|
|
3166
|
+
def AuthConfigStatus(self, AuthConfigStatus):
|
|
3167
|
+
self._AuthConfigStatus = AuthConfigStatus
|
|
3168
|
+
|
|
3136
3169
|
|
|
3137
3170
|
def _deserialize(self, params):
|
|
3138
3171
|
self._PluginId = params.get("PluginId")
|
|
@@ -3181,6 +3214,7 @@ class AgentToolInfo(AbstractModel):
|
|
|
3181
3214
|
self._ToolAdvanceConfig._deserialize(params.get("ToolAdvanceConfig"))
|
|
3182
3215
|
self._AuthMode = params.get("AuthMode")
|
|
3183
3216
|
self._AuthType = params.get("AuthType")
|
|
3217
|
+
self._AuthConfigStatus = params.get("AuthConfigStatus")
|
|
3184
3218
|
memeber_set = set(params.keys())
|
|
3185
3219
|
for name, value in vars(self).items():
|
|
3186
3220
|
property_name = name[1:]
|
|
@@ -4312,6 +4346,47 @@ class AppModelDetailInfo(AbstractModel):
|
|
|
4312
4346
|
|
|
4313
4347
|
|
|
4314
4348
|
|
|
4349
|
+
class AsyncWorkflowMessage(AbstractModel):
|
|
4350
|
+
r"""异步工作流的消息
|
|
4351
|
+
|
|
4352
|
+
"""
|
|
4353
|
+
|
|
4354
|
+
def __init__(self):
|
|
4355
|
+
r"""
|
|
4356
|
+
:param _Contents: 内容数组,包含多个内容对象
|
|
4357
|
+
:type Contents: list of Content
|
|
4358
|
+
"""
|
|
4359
|
+
self._Contents = None
|
|
4360
|
+
|
|
4361
|
+
@property
|
|
4362
|
+
def Contents(self):
|
|
4363
|
+
r"""内容数组,包含多个内容对象
|
|
4364
|
+
:rtype: list of Content
|
|
4365
|
+
"""
|
|
4366
|
+
return self._Contents
|
|
4367
|
+
|
|
4368
|
+
@Contents.setter
|
|
4369
|
+
def Contents(self, Contents):
|
|
4370
|
+
self._Contents = Contents
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
def _deserialize(self, params):
|
|
4374
|
+
if params.get("Contents") is not None:
|
|
4375
|
+
self._Contents = []
|
|
4376
|
+
for item in params.get("Contents"):
|
|
4377
|
+
obj = Content()
|
|
4378
|
+
obj._deserialize(item)
|
|
4379
|
+
self._Contents.append(obj)
|
|
4380
|
+
memeber_set = set(params.keys())
|
|
4381
|
+
for name, value in vars(self).items():
|
|
4382
|
+
property_name = name[1:]
|
|
4383
|
+
if property_name in memeber_set:
|
|
4384
|
+
memeber_set.remove(property_name)
|
|
4385
|
+
if len(memeber_set) > 0:
|
|
4386
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4387
|
+
|
|
4388
|
+
|
|
4389
|
+
|
|
4315
4390
|
class AttrLabel(AbstractModel):
|
|
4316
4391
|
r"""标签详情信息
|
|
4317
4392
|
|
|
@@ -4589,7 +4664,8 @@ class AttrLabelRefer(AbstractModel):
|
|
|
4589
4664
|
|
|
4590
4665
|
def __init__(self):
|
|
4591
4666
|
r"""
|
|
4592
|
-
:param _Source: 标签来源,1
|
|
4667
|
+
:param _Source: 标签来源,1:标签。
|
|
4668
|
+
使用标签引用信息时,Source、AttributeBizId和LabelBizIds都需填写。
|
|
4593
4669
|
:type Source: int
|
|
4594
4670
|
:param _AttributeBizId: 标签ID
|
|
4595
4671
|
:type AttributeBizId: str
|
|
@@ -4602,7 +4678,8 @@ class AttrLabelRefer(AbstractModel):
|
|
|
4602
4678
|
|
|
4603
4679
|
@property
|
|
4604
4680
|
def Source(self):
|
|
4605
|
-
r"""标签来源,1
|
|
4681
|
+
r"""标签来源,1:标签。
|
|
4682
|
+
使用标签引用信息时,Source、AttributeBizId和LabelBizIds都需填写。
|
|
4606
4683
|
:rtype: int
|
|
4607
4684
|
"""
|
|
4608
4685
|
return self._Source
|
|
@@ -8948,9 +9025,9 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8948
9025
|
|
|
8949
9026
|
def __init__(self):
|
|
8950
9027
|
r"""
|
|
8951
|
-
:param _AppBizId: 应用ID
|
|
9028
|
+
:param _AppBizId: 应用ID,获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
8952
9029
|
:type AppBizId: str
|
|
8953
|
-
:param _AppType:
|
|
9030
|
+
:param _AppType: 应用类型;`"knowledge_qa"` 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
8954
9031
|
:type AppType: str
|
|
8955
9032
|
"""
|
|
8956
9033
|
self._AppBizId = None
|
|
@@ -8958,7 +9035,7 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8958
9035
|
|
|
8959
9036
|
@property
|
|
8960
9037
|
def AppBizId(self):
|
|
8961
|
-
r"""应用ID
|
|
9038
|
+
r"""应用ID,获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
8962
9039
|
:rtype: str
|
|
8963
9040
|
"""
|
|
8964
9041
|
return self._AppBizId
|
|
@@ -8969,7 +9046,7 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8969
9046
|
|
|
8970
9047
|
@property
|
|
8971
9048
|
def AppType(self):
|
|
8972
|
-
r"""
|
|
9049
|
+
r"""应用类型;`"knowledge_qa"` 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
8973
9050
|
:rtype: str
|
|
8974
9051
|
"""
|
|
8975
9052
|
return self._AppType
|
|
@@ -9752,12 +9829,15 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9752
9829
|
:type Agents: list of Agent
|
|
9753
9830
|
:param _HandoffAdvancedSetting: Agent转交高级设置
|
|
9754
9831
|
:type HandoffAdvancedSetting: :class:`tencentcloud.lke.v20231130.models.AgentHandoffAdvancedSetting`
|
|
9832
|
+
:param _MaxAgentCount: Agent数量上限
|
|
9833
|
+
:type MaxAgentCount: int
|
|
9755
9834
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9756
9835
|
:type RequestId: str
|
|
9757
9836
|
"""
|
|
9758
9837
|
self._StaringAgentId = None
|
|
9759
9838
|
self._Agents = None
|
|
9760
9839
|
self._HandoffAdvancedSetting = None
|
|
9840
|
+
self._MaxAgentCount = None
|
|
9761
9841
|
self._RequestId = None
|
|
9762
9842
|
|
|
9763
9843
|
@property
|
|
@@ -9793,6 +9873,17 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9793
9873
|
def HandoffAdvancedSetting(self, HandoffAdvancedSetting):
|
|
9794
9874
|
self._HandoffAdvancedSetting = HandoffAdvancedSetting
|
|
9795
9875
|
|
|
9876
|
+
@property
|
|
9877
|
+
def MaxAgentCount(self):
|
|
9878
|
+
r"""Agent数量上限
|
|
9879
|
+
:rtype: int
|
|
9880
|
+
"""
|
|
9881
|
+
return self._MaxAgentCount
|
|
9882
|
+
|
|
9883
|
+
@MaxAgentCount.setter
|
|
9884
|
+
def MaxAgentCount(self, MaxAgentCount):
|
|
9885
|
+
self._MaxAgentCount = MaxAgentCount
|
|
9886
|
+
|
|
9796
9887
|
@property
|
|
9797
9888
|
def RequestId(self):
|
|
9798
9889
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9816,6 +9907,7 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9816
9907
|
if params.get("HandoffAdvancedSetting") is not None:
|
|
9817
9908
|
self._HandoffAdvancedSetting = AgentHandoffAdvancedSetting()
|
|
9818
9909
|
self._HandoffAdvancedSetting._deserialize(params.get("HandoffAdvancedSetting"))
|
|
9910
|
+
self._MaxAgentCount = params.get("MaxAgentCount")
|
|
9819
9911
|
self._RequestId = params.get("RequestId")
|
|
9820
9912
|
|
|
9821
9913
|
|
|
@@ -13521,7 +13613,8 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
|
13521
13613
|
r"""
|
|
13522
13614
|
:param _BotBizId: 应用ID,参数非必填不代表不需要填写,下面不同的参数组合会获取到不同的权限,具体请参考 https://cloud.tencent.com/document/product/1759/116238
|
|
13523
13615
|
:type BotBizId: str
|
|
13524
|
-
:param _FileType:
|
|
13616
|
+
:param _FileType: 文件类型,正常的文件名类型后缀,支持 docx、doc、pdf、txt、md、wps、pages、html、mhtml、epub、xml、json、log、xlsx、xls、csv、tsv、numbers、pptx、ppt、ppsx、ppsm、key、png、jpg、jpeg、gif、bmp、tiff、webp、heif、heic、jp2、eps、icns、im、pcx、ppm、xbm、xmind
|
|
13617
|
+
|
|
13525
13618
|
:type FileType: str
|
|
13526
13619
|
:param _IsPublic: IsPublic用于上传文件或图片时选择场景,当上传对话端图片时IsPublic为true,上传文件(包括文档库文件/图片等和对话端文件)时IsPublic为false
|
|
13527
13620
|
|
|
@@ -13547,7 +13640,8 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
|
13547
13640
|
|
|
13548
13641
|
@property
|
|
13549
13642
|
def FileType(self):
|
|
13550
|
-
r"""
|
|
13643
|
+
r"""文件类型,正常的文件名类型后缀,支持 docx、doc、pdf、txt、md、wps、pages、html、mhtml、epub、xml、json、log、xlsx、xls、csv、tsv、numbers、pptx、ppt、ppsx、ppsm、key、png、jpg、jpeg、gif、bmp、tiff、webp、heif、heic、jp2、eps、icns、im、pcx、ppm、xbm、xmind
|
|
13644
|
+
|
|
13551
13645
|
:rtype: str
|
|
13552
13646
|
"""
|
|
13553
13647
|
return self._FileType
|
|
@@ -13616,12 +13710,16 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13616
13710
|
:type FilePath: str
|
|
13617
13711
|
:param _Type: 存储类型
|
|
13618
13712
|
:type Type: str
|
|
13619
|
-
:param _CorpUin:
|
|
13713
|
+
:param _CorpUin: 企业主账号
|
|
13620
13714
|
:type CorpUin: str
|
|
13621
13715
|
:param _ImagePath: 图片存储目录
|
|
13622
13716
|
:type ImagePath: str
|
|
13623
13717
|
:param _UploadPath: 上传存储路径,到具体文件
|
|
13624
13718
|
:type UploadPath: str
|
|
13719
|
+
:param _UploadUrl: 文件上传地址,使用put请求上传文件到该地址
|
|
13720
|
+
:type UploadUrl: str
|
|
13721
|
+
:param _FileUrl: 文件的预签名地址,支持下载
|
|
13722
|
+
:type FileUrl: str
|
|
13625
13723
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13626
13724
|
:type RequestId: str
|
|
13627
13725
|
"""
|
|
@@ -13635,6 +13733,8 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13635
13733
|
self._CorpUin = None
|
|
13636
13734
|
self._ImagePath = None
|
|
13637
13735
|
self._UploadPath = None
|
|
13736
|
+
self._UploadUrl = None
|
|
13737
|
+
self._FileUrl = None
|
|
13638
13738
|
self._RequestId = None
|
|
13639
13739
|
|
|
13640
13740
|
@property
|
|
@@ -13716,7 +13816,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13716
13816
|
|
|
13717
13817
|
@property
|
|
13718
13818
|
def CorpUin(self):
|
|
13719
|
-
r"""
|
|
13819
|
+
r"""企业主账号
|
|
13720
13820
|
:rtype: str
|
|
13721
13821
|
"""
|
|
13722
13822
|
return self._CorpUin
|
|
@@ -13747,6 +13847,28 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13747
13847
|
def UploadPath(self, UploadPath):
|
|
13748
13848
|
self._UploadPath = UploadPath
|
|
13749
13849
|
|
|
13850
|
+
@property
|
|
13851
|
+
def UploadUrl(self):
|
|
13852
|
+
r"""文件上传地址,使用put请求上传文件到该地址
|
|
13853
|
+
:rtype: str
|
|
13854
|
+
"""
|
|
13855
|
+
return self._UploadUrl
|
|
13856
|
+
|
|
13857
|
+
@UploadUrl.setter
|
|
13858
|
+
def UploadUrl(self, UploadUrl):
|
|
13859
|
+
self._UploadUrl = UploadUrl
|
|
13860
|
+
|
|
13861
|
+
@property
|
|
13862
|
+
def FileUrl(self):
|
|
13863
|
+
r"""文件的预签名地址,支持下载
|
|
13864
|
+
:rtype: str
|
|
13865
|
+
"""
|
|
13866
|
+
return self._FileUrl
|
|
13867
|
+
|
|
13868
|
+
@FileUrl.setter
|
|
13869
|
+
def FileUrl(self, FileUrl):
|
|
13870
|
+
self._FileUrl = FileUrl
|
|
13871
|
+
|
|
13750
13872
|
@property
|
|
13751
13873
|
def RequestId(self):
|
|
13752
13874
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -13772,6 +13894,8 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13772
13894
|
self._CorpUin = params.get("CorpUin")
|
|
13773
13895
|
self._ImagePath = params.get("ImagePath")
|
|
13774
13896
|
self._UploadPath = params.get("UploadPath")
|
|
13897
|
+
self._UploadUrl = params.get("UploadUrl")
|
|
13898
|
+
self._FileUrl = params.get("FileUrl")
|
|
13775
13899
|
self._RequestId = params.get("RequestId")
|
|
13776
13900
|
|
|
13777
13901
|
|
|
@@ -15897,6 +16021,7 @@ class FileInfoContent(AbstractModel):
|
|
|
15897
16021
|
def __init__(self):
|
|
15898
16022
|
r"""
|
|
15899
16023
|
:param _DocBizId: 实时文档解析接口返回的 DocBizId
|
|
16024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15900
16025
|
:type DocBizId: int
|
|
15901
16026
|
:param _FileName: 文件名称
|
|
15902
16027
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -15910,22 +16035,35 @@ class FileInfoContent(AbstractModel):
|
|
|
15910
16035
|
:param _FileUrl: 文件 URL
|
|
15911
16036
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15912
16037
|
:type FileUrl: str
|
|
16038
|
+
:param _DocId: 实时文档解析接口返回的 doc_id。
|
|
16039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16040
|
+
:type DocId: int
|
|
16041
|
+
:param _CreateTime: 文件创建时间
|
|
16042
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16043
|
+
:type CreateTime: int
|
|
15913
16044
|
"""
|
|
15914
16045
|
self._DocBizId = None
|
|
15915
16046
|
self._FileName = None
|
|
15916
16047
|
self._FileType = None
|
|
15917
16048
|
self._FileSize = None
|
|
15918
16049
|
self._FileUrl = None
|
|
16050
|
+
self._DocId = None
|
|
16051
|
+
self._CreateTime = None
|
|
15919
16052
|
|
|
15920
16053
|
@property
|
|
15921
16054
|
def DocBizId(self):
|
|
16055
|
+
warnings.warn("parameter `DocBizId` is deprecated", DeprecationWarning)
|
|
16056
|
+
|
|
15922
16057
|
r"""实时文档解析接口返回的 DocBizId
|
|
16058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15923
16059
|
:rtype: int
|
|
15924
16060
|
"""
|
|
15925
16061
|
return self._DocBizId
|
|
15926
16062
|
|
|
15927
16063
|
@DocBizId.setter
|
|
15928
16064
|
def DocBizId(self, DocBizId):
|
|
16065
|
+
warnings.warn("parameter `DocBizId` is deprecated", DeprecationWarning)
|
|
16066
|
+
|
|
15929
16067
|
self._DocBizId = DocBizId
|
|
15930
16068
|
|
|
15931
16069
|
@property
|
|
@@ -15976,6 +16114,30 @@ class FileInfoContent(AbstractModel):
|
|
|
15976
16114
|
def FileUrl(self, FileUrl):
|
|
15977
16115
|
self._FileUrl = FileUrl
|
|
15978
16116
|
|
|
16117
|
+
@property
|
|
16118
|
+
def DocId(self):
|
|
16119
|
+
r"""实时文档解析接口返回的 doc_id。
|
|
16120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16121
|
+
:rtype: int
|
|
16122
|
+
"""
|
|
16123
|
+
return self._DocId
|
|
16124
|
+
|
|
16125
|
+
@DocId.setter
|
|
16126
|
+
def DocId(self, DocId):
|
|
16127
|
+
self._DocId = DocId
|
|
16128
|
+
|
|
16129
|
+
@property
|
|
16130
|
+
def CreateTime(self):
|
|
16131
|
+
r"""文件创建时间
|
|
16132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16133
|
+
:rtype: int
|
|
16134
|
+
"""
|
|
16135
|
+
return self._CreateTime
|
|
16136
|
+
|
|
16137
|
+
@CreateTime.setter
|
|
16138
|
+
def CreateTime(self, CreateTime):
|
|
16139
|
+
self._CreateTime = CreateTime
|
|
16140
|
+
|
|
15979
16141
|
|
|
15980
16142
|
def _deserialize(self, params):
|
|
15981
16143
|
self._DocBizId = params.get("DocBizId")
|
|
@@ -15983,6 +16145,8 @@ class FileInfoContent(AbstractModel):
|
|
|
15983
16145
|
self._FileType = params.get("FileType")
|
|
15984
16146
|
self._FileSize = params.get("FileSize")
|
|
15985
16147
|
self._FileUrl = params.get("FileUrl")
|
|
16148
|
+
self._DocId = params.get("DocId")
|
|
16149
|
+
self._CreateTime = params.get("CreateTime")
|
|
15986
16150
|
memeber_set = set(params.keys())
|
|
15987
16151
|
for name, value in vars(self).items():
|
|
15988
16152
|
property_name = name[1:]
|
|
@@ -32138,6 +32302,10 @@ class ReleaseConfigs(AbstractModel):
|
|
|
32138
32302
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32139
32303
|
:type UpdateTime: str
|
|
32140
32304
|
:param _Action: 状态
|
|
32305
|
+
2:待发布
|
|
32306
|
+
3:发布中
|
|
32307
|
+
4:已发布
|
|
32308
|
+
5:发布失败
|
|
32141
32309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32142
32310
|
:type Action: int
|
|
32143
32311
|
:param _Value: 变更后的内容
|
|
@@ -32188,6 +32356,10 @@ class ReleaseConfigs(AbstractModel):
|
|
|
32188
32356
|
@property
|
|
32189
32357
|
def Action(self):
|
|
32190
32358
|
r"""状态
|
|
32359
|
+
2:待发布
|
|
32360
|
+
3:发布中
|
|
32361
|
+
4:已发布
|
|
32362
|
+
5:发布失败
|
|
32191
32363
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32192
32364
|
:rtype: int
|
|
32193
32365
|
"""
|
|
@@ -33999,6 +34171,8 @@ class SearchStrategy(AbstractModel):
|
|
|
33999
34171
|
:param _NatureLanguageToSqlModelConfig: NL2SQL模型配置
|
|
34000
34172
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
34001
34173
|
:type NatureLanguageToSqlModelConfig: :class:`tencentcloud.lke.v20231130.models.NL2SQLModelConfig`
|
|
34174
|
+
:param _GraphRetrieval: 是否开启图谱检索
|
|
34175
|
+
:type GraphRetrieval: bool
|
|
34002
34176
|
"""
|
|
34003
34177
|
self._StrategyType = None
|
|
34004
34178
|
self._TableEnhancement = None
|
|
@@ -34006,6 +34180,7 @@ class SearchStrategy(AbstractModel):
|
|
|
34006
34180
|
self._RerankModelSwitch = None
|
|
34007
34181
|
self._RerankModel = None
|
|
34008
34182
|
self._NatureLanguageToSqlModelConfig = None
|
|
34183
|
+
self._GraphRetrieval = None
|
|
34009
34184
|
|
|
34010
34185
|
@property
|
|
34011
34186
|
def StrategyType(self):
|
|
@@ -34079,6 +34254,17 @@ class SearchStrategy(AbstractModel):
|
|
|
34079
34254
|
def NatureLanguageToSqlModelConfig(self, NatureLanguageToSqlModelConfig):
|
|
34080
34255
|
self._NatureLanguageToSqlModelConfig = NatureLanguageToSqlModelConfig
|
|
34081
34256
|
|
|
34257
|
+
@property
|
|
34258
|
+
def GraphRetrieval(self):
|
|
34259
|
+
r"""是否开启图谱检索
|
|
34260
|
+
:rtype: bool
|
|
34261
|
+
"""
|
|
34262
|
+
return self._GraphRetrieval
|
|
34263
|
+
|
|
34264
|
+
@GraphRetrieval.setter
|
|
34265
|
+
def GraphRetrieval(self, GraphRetrieval):
|
|
34266
|
+
self._GraphRetrieval = GraphRetrieval
|
|
34267
|
+
|
|
34082
34268
|
|
|
34083
34269
|
def _deserialize(self, params):
|
|
34084
34270
|
self._StrategyType = params.get("StrategyType")
|
|
@@ -34089,6 +34275,7 @@ class SearchStrategy(AbstractModel):
|
|
|
34089
34275
|
if params.get("NatureLanguageToSqlModelConfig") is not None:
|
|
34090
34276
|
self._NatureLanguageToSqlModelConfig = NL2SQLModelConfig()
|
|
34091
34277
|
self._NatureLanguageToSqlModelConfig._deserialize(params.get("NatureLanguageToSqlModelConfig"))
|
|
34278
|
+
self._GraphRetrieval = params.get("GraphRetrieval")
|
|
34092
34279
|
memeber_set = set(params.keys())
|
|
34093
34280
|
for name, value in vars(self).items():
|
|
34094
34281
|
property_name = name[1:]
|
|
@@ -36884,6 +37071,9 @@ class Widget(AbstractModel):
|
|
|
36884
37071
|
:type WidgetId: str
|
|
36885
37072
|
:param _WidgetRunId: Widget实例ID
|
|
36886
37073
|
:type WidgetRunId: str
|
|
37074
|
+
:param _View: Widget显示数据
|
|
37075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37076
|
+
:type View: str
|
|
36887
37077
|
:param _State: Widget状态数据
|
|
36888
37078
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36889
37079
|
:type State: str
|
|
@@ -36899,6 +37089,7 @@ class Widget(AbstractModel):
|
|
|
36899
37089
|
"""
|
|
36900
37090
|
self._WidgetId = None
|
|
36901
37091
|
self._WidgetRunId = None
|
|
37092
|
+
self._View = None
|
|
36902
37093
|
self._State = None
|
|
36903
37094
|
self._Position = None
|
|
36904
37095
|
self._EncodedWidget = None
|
|
@@ -36927,6 +37118,18 @@ class Widget(AbstractModel):
|
|
|
36927
37118
|
def WidgetRunId(self, WidgetRunId):
|
|
36928
37119
|
self._WidgetRunId = WidgetRunId
|
|
36929
37120
|
|
|
37121
|
+
@property
|
|
37122
|
+
def View(self):
|
|
37123
|
+
r"""Widget显示数据
|
|
37124
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37125
|
+
:rtype: str
|
|
37126
|
+
"""
|
|
37127
|
+
return self._View
|
|
37128
|
+
|
|
37129
|
+
@View.setter
|
|
37130
|
+
def View(self, View):
|
|
37131
|
+
self._View = View
|
|
37132
|
+
|
|
36930
37133
|
@property
|
|
36931
37134
|
def State(self):
|
|
36932
37135
|
r"""Widget状态数据
|
|
@@ -36979,6 +37182,7 @@ class Widget(AbstractModel):
|
|
|
36979
37182
|
def _deserialize(self, params):
|
|
36980
37183
|
self._WidgetId = params.get("WidgetId")
|
|
36981
37184
|
self._WidgetRunId = params.get("WidgetRunId")
|
|
37185
|
+
self._View = params.get("View")
|
|
36982
37186
|
self._State = params.get("State")
|
|
36983
37187
|
self._Position = params.get("Position")
|
|
36984
37188
|
self._EncodedWidget = params.get("EncodedWidget")
|
|
@@ -37848,6 +38052,9 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
37848
38052
|
:type CustomVariables: list of CustomVariable
|
|
37849
38053
|
:param _WorkflowGraph: 工作流的流程图
|
|
37850
38054
|
:type WorkflowGraph: str
|
|
38055
|
+
:param _LatestMessage: 当前的回复消息
|
|
38056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38057
|
+
:type LatestMessage: :class:`tencentcloud.lke.v20231130.models.AsyncWorkflowMessage`
|
|
37851
38058
|
"""
|
|
37852
38059
|
self._RunEnv = None
|
|
37853
38060
|
self._AppBizId = None
|
|
@@ -37866,6 +38073,7 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
37866
38073
|
self._MainModelName = None
|
|
37867
38074
|
self._CustomVariables = None
|
|
37868
38075
|
self._WorkflowGraph = None
|
|
38076
|
+
self._LatestMessage = None
|
|
37869
38077
|
|
|
37870
38078
|
@property
|
|
37871
38079
|
def RunEnv(self):
|
|
@@ -38058,6 +38266,18 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
38058
38266
|
def WorkflowGraph(self, WorkflowGraph):
|
|
38059
38267
|
self._WorkflowGraph = WorkflowGraph
|
|
38060
38268
|
|
|
38269
|
+
@property
|
|
38270
|
+
def LatestMessage(self):
|
|
38271
|
+
r"""当前的回复消息
|
|
38272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38273
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.AsyncWorkflowMessage`
|
|
38274
|
+
"""
|
|
38275
|
+
return self._LatestMessage
|
|
38276
|
+
|
|
38277
|
+
@LatestMessage.setter
|
|
38278
|
+
def LatestMessage(self, LatestMessage):
|
|
38279
|
+
self._LatestMessage = LatestMessage
|
|
38280
|
+
|
|
38061
38281
|
|
|
38062
38282
|
def _deserialize(self, params):
|
|
38063
38283
|
self._RunEnv = params.get("RunEnv")
|
|
@@ -38082,6 +38302,9 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
38082
38302
|
obj._deserialize(item)
|
|
38083
38303
|
self._CustomVariables.append(obj)
|
|
38084
38304
|
self._WorkflowGraph = params.get("WorkflowGraph")
|
|
38305
|
+
if params.get("LatestMessage") is not None:
|
|
38306
|
+
self._LatestMessage = AsyncWorkflowMessage()
|
|
38307
|
+
self._LatestMessage._deserialize(params.get("LatestMessage"))
|
|
38085
38308
|
memeber_set = set(params.keys())
|
|
38086
38309
|
for name, value in vars(self).items():
|
|
38087
38310
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-lke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.60
|
|
4
4
|
Summary: Tencent Cloud Lke SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.60
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.60
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.42
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|