tencentcloud-sdk-python-lke 3.1.42__tar.gz → 3.1.47__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.47}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/setup.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/v20231130/models.py +221 -8
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud_sdk_python_lke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_lke-3.1.47/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.47}/README.rst +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/setup.cfg +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/v20231130/__init__.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/v20231130/errorcodes.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/v20231130/lke_client.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud/lke/v20231130/lke_client_async.py +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud_sdk_python_lke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/tencentcloud_sdk_python_lke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_lke-3.1.42 → tencentcloud_sdk_python_lke-3.1.47}/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.47
|
|
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.47
|
|
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.47,<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
|
|
|
@@ -8948,9 +9023,9 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8948
9023
|
|
|
8949
9024
|
def __init__(self):
|
|
8950
9025
|
r"""
|
|
8951
|
-
:param _AppBizId: 应用ID
|
|
9026
|
+
:param _AppBizId: 应用ID,获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
8952
9027
|
:type AppBizId: str
|
|
8953
|
-
:param _AppType:
|
|
9028
|
+
:param _AppType: 应用类型;`"knowledge_qa"` 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
8954
9029
|
:type AppType: str
|
|
8955
9030
|
"""
|
|
8956
9031
|
self._AppBizId = None
|
|
@@ -8958,7 +9033,7 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8958
9033
|
|
|
8959
9034
|
@property
|
|
8960
9035
|
def AppBizId(self):
|
|
8961
|
-
r"""应用ID
|
|
9036
|
+
r"""应用ID,获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
8962
9037
|
:rtype: str
|
|
8963
9038
|
"""
|
|
8964
9039
|
return self._AppBizId
|
|
@@ -8969,7 +9044,7 @@ class DeleteAppRequest(AbstractModel):
|
|
|
8969
9044
|
|
|
8970
9045
|
@property
|
|
8971
9046
|
def AppType(self):
|
|
8972
|
-
r"""
|
|
9047
|
+
r"""应用类型;`"knowledge_qa"` 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
8973
9048
|
:rtype: str
|
|
8974
9049
|
"""
|
|
8975
9050
|
return self._AppType
|
|
@@ -9752,12 +9827,15 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9752
9827
|
:type Agents: list of Agent
|
|
9753
9828
|
:param _HandoffAdvancedSetting: Agent转交高级设置
|
|
9754
9829
|
:type HandoffAdvancedSetting: :class:`tencentcloud.lke.v20231130.models.AgentHandoffAdvancedSetting`
|
|
9830
|
+
:param _MaxAgentCount: Agent数量上限
|
|
9831
|
+
:type MaxAgentCount: int
|
|
9755
9832
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9756
9833
|
:type RequestId: str
|
|
9757
9834
|
"""
|
|
9758
9835
|
self._StaringAgentId = None
|
|
9759
9836
|
self._Agents = None
|
|
9760
9837
|
self._HandoffAdvancedSetting = None
|
|
9838
|
+
self._MaxAgentCount = None
|
|
9761
9839
|
self._RequestId = None
|
|
9762
9840
|
|
|
9763
9841
|
@property
|
|
@@ -9793,6 +9871,17 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9793
9871
|
def HandoffAdvancedSetting(self, HandoffAdvancedSetting):
|
|
9794
9872
|
self._HandoffAdvancedSetting = HandoffAdvancedSetting
|
|
9795
9873
|
|
|
9874
|
+
@property
|
|
9875
|
+
def MaxAgentCount(self):
|
|
9876
|
+
r"""Agent数量上限
|
|
9877
|
+
:rtype: int
|
|
9878
|
+
"""
|
|
9879
|
+
return self._MaxAgentCount
|
|
9880
|
+
|
|
9881
|
+
@MaxAgentCount.setter
|
|
9882
|
+
def MaxAgentCount(self, MaxAgentCount):
|
|
9883
|
+
self._MaxAgentCount = MaxAgentCount
|
|
9884
|
+
|
|
9796
9885
|
@property
|
|
9797
9886
|
def RequestId(self):
|
|
9798
9887
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9816,6 +9905,7 @@ class DescribeAppAgentListResponse(AbstractModel):
|
|
|
9816
9905
|
if params.get("HandoffAdvancedSetting") is not None:
|
|
9817
9906
|
self._HandoffAdvancedSetting = AgentHandoffAdvancedSetting()
|
|
9818
9907
|
self._HandoffAdvancedSetting._deserialize(params.get("HandoffAdvancedSetting"))
|
|
9908
|
+
self._MaxAgentCount = params.get("MaxAgentCount")
|
|
9819
9909
|
self._RequestId = params.get("RequestId")
|
|
9820
9910
|
|
|
9821
9911
|
|
|
@@ -13521,7 +13611,8 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
|
13521
13611
|
r"""
|
|
13522
13612
|
:param _BotBizId: 应用ID,参数非必填不代表不需要填写,下面不同的参数组合会获取到不同的权限,具体请参考 https://cloud.tencent.com/document/product/1759/116238
|
|
13523
13613
|
:type BotBizId: str
|
|
13524
|
-
:param _FileType:
|
|
13614
|
+
: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
|
|
13615
|
+
|
|
13525
13616
|
:type FileType: str
|
|
13526
13617
|
:param _IsPublic: IsPublic用于上传文件或图片时选择场景,当上传对话端图片时IsPublic为true,上传文件(包括文档库文件/图片等和对话端文件)时IsPublic为false
|
|
13527
13618
|
|
|
@@ -13547,7 +13638,8 @@ class DescribeStorageCredentialRequest(AbstractModel):
|
|
|
13547
13638
|
|
|
13548
13639
|
@property
|
|
13549
13640
|
def FileType(self):
|
|
13550
|
-
r"""
|
|
13641
|
+
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
|
|
13642
|
+
|
|
13551
13643
|
:rtype: str
|
|
13552
13644
|
"""
|
|
13553
13645
|
return self._FileType
|
|
@@ -13616,12 +13708,16 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13616
13708
|
:type FilePath: str
|
|
13617
13709
|
:param _Type: 存储类型
|
|
13618
13710
|
:type Type: str
|
|
13619
|
-
:param _CorpUin:
|
|
13711
|
+
:param _CorpUin: 企业主账号
|
|
13620
13712
|
:type CorpUin: str
|
|
13621
13713
|
:param _ImagePath: 图片存储目录
|
|
13622
13714
|
:type ImagePath: str
|
|
13623
13715
|
:param _UploadPath: 上传存储路径,到具体文件
|
|
13624
13716
|
:type UploadPath: str
|
|
13717
|
+
:param _UploadUrl: 文件上传地址,使用put请求上传文件到该地址
|
|
13718
|
+
:type UploadUrl: str
|
|
13719
|
+
:param _FileUrl: 文件的预签名地址,支持下载
|
|
13720
|
+
:type FileUrl: str
|
|
13625
13721
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13626
13722
|
:type RequestId: str
|
|
13627
13723
|
"""
|
|
@@ -13635,6 +13731,8 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13635
13731
|
self._CorpUin = None
|
|
13636
13732
|
self._ImagePath = None
|
|
13637
13733
|
self._UploadPath = None
|
|
13734
|
+
self._UploadUrl = None
|
|
13735
|
+
self._FileUrl = None
|
|
13638
13736
|
self._RequestId = None
|
|
13639
13737
|
|
|
13640
13738
|
@property
|
|
@@ -13716,7 +13814,7 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13716
13814
|
|
|
13717
13815
|
@property
|
|
13718
13816
|
def CorpUin(self):
|
|
13719
|
-
r"""
|
|
13817
|
+
r"""企业主账号
|
|
13720
13818
|
:rtype: str
|
|
13721
13819
|
"""
|
|
13722
13820
|
return self._CorpUin
|
|
@@ -13747,6 +13845,28 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13747
13845
|
def UploadPath(self, UploadPath):
|
|
13748
13846
|
self._UploadPath = UploadPath
|
|
13749
13847
|
|
|
13848
|
+
@property
|
|
13849
|
+
def UploadUrl(self):
|
|
13850
|
+
r"""文件上传地址,使用put请求上传文件到该地址
|
|
13851
|
+
:rtype: str
|
|
13852
|
+
"""
|
|
13853
|
+
return self._UploadUrl
|
|
13854
|
+
|
|
13855
|
+
@UploadUrl.setter
|
|
13856
|
+
def UploadUrl(self, UploadUrl):
|
|
13857
|
+
self._UploadUrl = UploadUrl
|
|
13858
|
+
|
|
13859
|
+
@property
|
|
13860
|
+
def FileUrl(self):
|
|
13861
|
+
r"""文件的预签名地址,支持下载
|
|
13862
|
+
:rtype: str
|
|
13863
|
+
"""
|
|
13864
|
+
return self._FileUrl
|
|
13865
|
+
|
|
13866
|
+
@FileUrl.setter
|
|
13867
|
+
def FileUrl(self, FileUrl):
|
|
13868
|
+
self._FileUrl = FileUrl
|
|
13869
|
+
|
|
13750
13870
|
@property
|
|
13751
13871
|
def RequestId(self):
|
|
13752
13872
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -13772,6 +13892,8 @@ class DescribeStorageCredentialResponse(AbstractModel):
|
|
|
13772
13892
|
self._CorpUin = params.get("CorpUin")
|
|
13773
13893
|
self._ImagePath = params.get("ImagePath")
|
|
13774
13894
|
self._UploadPath = params.get("UploadPath")
|
|
13895
|
+
self._UploadUrl = params.get("UploadUrl")
|
|
13896
|
+
self._FileUrl = params.get("FileUrl")
|
|
13775
13897
|
self._RequestId = params.get("RequestId")
|
|
13776
13898
|
|
|
13777
13899
|
|
|
@@ -15897,6 +16019,7 @@ class FileInfoContent(AbstractModel):
|
|
|
15897
16019
|
def __init__(self):
|
|
15898
16020
|
r"""
|
|
15899
16021
|
:param _DocBizId: 实时文档解析接口返回的 DocBizId
|
|
16022
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15900
16023
|
:type DocBizId: int
|
|
15901
16024
|
:param _FileName: 文件名称
|
|
15902
16025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -15910,22 +16033,35 @@ class FileInfoContent(AbstractModel):
|
|
|
15910
16033
|
:param _FileUrl: 文件 URL
|
|
15911
16034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15912
16035
|
:type FileUrl: str
|
|
16036
|
+
:param _DocId: 实时文档解析接口返回的 doc_id。
|
|
16037
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16038
|
+
:type DocId: int
|
|
16039
|
+
:param _CreateTime: 文件创建时间
|
|
16040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16041
|
+
:type CreateTime: int
|
|
15913
16042
|
"""
|
|
15914
16043
|
self._DocBizId = None
|
|
15915
16044
|
self._FileName = None
|
|
15916
16045
|
self._FileType = None
|
|
15917
16046
|
self._FileSize = None
|
|
15918
16047
|
self._FileUrl = None
|
|
16048
|
+
self._DocId = None
|
|
16049
|
+
self._CreateTime = None
|
|
15919
16050
|
|
|
15920
16051
|
@property
|
|
15921
16052
|
def DocBizId(self):
|
|
16053
|
+
warnings.warn("parameter `DocBizId` is deprecated", DeprecationWarning)
|
|
16054
|
+
|
|
15922
16055
|
r"""实时文档解析接口返回的 DocBizId
|
|
16056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15923
16057
|
:rtype: int
|
|
15924
16058
|
"""
|
|
15925
16059
|
return self._DocBizId
|
|
15926
16060
|
|
|
15927
16061
|
@DocBizId.setter
|
|
15928
16062
|
def DocBizId(self, DocBizId):
|
|
16063
|
+
warnings.warn("parameter `DocBizId` is deprecated", DeprecationWarning)
|
|
16064
|
+
|
|
15929
16065
|
self._DocBizId = DocBizId
|
|
15930
16066
|
|
|
15931
16067
|
@property
|
|
@@ -15976,6 +16112,30 @@ class FileInfoContent(AbstractModel):
|
|
|
15976
16112
|
def FileUrl(self, FileUrl):
|
|
15977
16113
|
self._FileUrl = FileUrl
|
|
15978
16114
|
|
|
16115
|
+
@property
|
|
16116
|
+
def DocId(self):
|
|
16117
|
+
r"""实时文档解析接口返回的 doc_id。
|
|
16118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16119
|
+
:rtype: int
|
|
16120
|
+
"""
|
|
16121
|
+
return self._DocId
|
|
16122
|
+
|
|
16123
|
+
@DocId.setter
|
|
16124
|
+
def DocId(self, DocId):
|
|
16125
|
+
self._DocId = DocId
|
|
16126
|
+
|
|
16127
|
+
@property
|
|
16128
|
+
def CreateTime(self):
|
|
16129
|
+
r"""文件创建时间
|
|
16130
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16131
|
+
:rtype: int
|
|
16132
|
+
"""
|
|
16133
|
+
return self._CreateTime
|
|
16134
|
+
|
|
16135
|
+
@CreateTime.setter
|
|
16136
|
+
def CreateTime(self, CreateTime):
|
|
16137
|
+
self._CreateTime = CreateTime
|
|
16138
|
+
|
|
15979
16139
|
|
|
15980
16140
|
def _deserialize(self, params):
|
|
15981
16141
|
self._DocBizId = params.get("DocBizId")
|
|
@@ -15983,6 +16143,8 @@ class FileInfoContent(AbstractModel):
|
|
|
15983
16143
|
self._FileType = params.get("FileType")
|
|
15984
16144
|
self._FileSize = params.get("FileSize")
|
|
15985
16145
|
self._FileUrl = params.get("FileUrl")
|
|
16146
|
+
self._DocId = params.get("DocId")
|
|
16147
|
+
self._CreateTime = params.get("CreateTime")
|
|
15986
16148
|
memeber_set = set(params.keys())
|
|
15987
16149
|
for name, value in vars(self).items():
|
|
15988
16150
|
property_name = name[1:]
|
|
@@ -33999,6 +34161,8 @@ class SearchStrategy(AbstractModel):
|
|
|
33999
34161
|
:param _NatureLanguageToSqlModelConfig: NL2SQL模型配置
|
|
34000
34162
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
34001
34163
|
:type NatureLanguageToSqlModelConfig: :class:`tencentcloud.lke.v20231130.models.NL2SQLModelConfig`
|
|
34164
|
+
:param _GraphRetrieval: 是否开启图谱检索
|
|
34165
|
+
:type GraphRetrieval: bool
|
|
34002
34166
|
"""
|
|
34003
34167
|
self._StrategyType = None
|
|
34004
34168
|
self._TableEnhancement = None
|
|
@@ -34006,6 +34170,7 @@ class SearchStrategy(AbstractModel):
|
|
|
34006
34170
|
self._RerankModelSwitch = None
|
|
34007
34171
|
self._RerankModel = None
|
|
34008
34172
|
self._NatureLanguageToSqlModelConfig = None
|
|
34173
|
+
self._GraphRetrieval = None
|
|
34009
34174
|
|
|
34010
34175
|
@property
|
|
34011
34176
|
def StrategyType(self):
|
|
@@ -34079,6 +34244,17 @@ class SearchStrategy(AbstractModel):
|
|
|
34079
34244
|
def NatureLanguageToSqlModelConfig(self, NatureLanguageToSqlModelConfig):
|
|
34080
34245
|
self._NatureLanguageToSqlModelConfig = NatureLanguageToSqlModelConfig
|
|
34081
34246
|
|
|
34247
|
+
@property
|
|
34248
|
+
def GraphRetrieval(self):
|
|
34249
|
+
r"""是否开启图谱检索
|
|
34250
|
+
:rtype: bool
|
|
34251
|
+
"""
|
|
34252
|
+
return self._GraphRetrieval
|
|
34253
|
+
|
|
34254
|
+
@GraphRetrieval.setter
|
|
34255
|
+
def GraphRetrieval(self, GraphRetrieval):
|
|
34256
|
+
self._GraphRetrieval = GraphRetrieval
|
|
34257
|
+
|
|
34082
34258
|
|
|
34083
34259
|
def _deserialize(self, params):
|
|
34084
34260
|
self._StrategyType = params.get("StrategyType")
|
|
@@ -34089,6 +34265,7 @@ class SearchStrategy(AbstractModel):
|
|
|
34089
34265
|
if params.get("NatureLanguageToSqlModelConfig") is not None:
|
|
34090
34266
|
self._NatureLanguageToSqlModelConfig = NL2SQLModelConfig()
|
|
34091
34267
|
self._NatureLanguageToSqlModelConfig._deserialize(params.get("NatureLanguageToSqlModelConfig"))
|
|
34268
|
+
self._GraphRetrieval = params.get("GraphRetrieval")
|
|
34092
34269
|
memeber_set = set(params.keys())
|
|
34093
34270
|
for name, value in vars(self).items():
|
|
34094
34271
|
property_name = name[1:]
|
|
@@ -36884,6 +37061,9 @@ class Widget(AbstractModel):
|
|
|
36884
37061
|
:type WidgetId: str
|
|
36885
37062
|
:param _WidgetRunId: Widget实例ID
|
|
36886
37063
|
:type WidgetRunId: str
|
|
37064
|
+
:param _View: Widget显示数据
|
|
37065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37066
|
+
:type View: str
|
|
36887
37067
|
:param _State: Widget状态数据
|
|
36888
37068
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36889
37069
|
:type State: str
|
|
@@ -36899,6 +37079,7 @@ class Widget(AbstractModel):
|
|
|
36899
37079
|
"""
|
|
36900
37080
|
self._WidgetId = None
|
|
36901
37081
|
self._WidgetRunId = None
|
|
37082
|
+
self._View = None
|
|
36902
37083
|
self._State = None
|
|
36903
37084
|
self._Position = None
|
|
36904
37085
|
self._EncodedWidget = None
|
|
@@ -36927,6 +37108,18 @@ class Widget(AbstractModel):
|
|
|
36927
37108
|
def WidgetRunId(self, WidgetRunId):
|
|
36928
37109
|
self._WidgetRunId = WidgetRunId
|
|
36929
37110
|
|
|
37111
|
+
@property
|
|
37112
|
+
def View(self):
|
|
37113
|
+
r"""Widget显示数据
|
|
37114
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37115
|
+
:rtype: str
|
|
37116
|
+
"""
|
|
37117
|
+
return self._View
|
|
37118
|
+
|
|
37119
|
+
@View.setter
|
|
37120
|
+
def View(self, View):
|
|
37121
|
+
self._View = View
|
|
37122
|
+
|
|
36930
37123
|
@property
|
|
36931
37124
|
def State(self):
|
|
36932
37125
|
r"""Widget状态数据
|
|
@@ -36979,6 +37172,7 @@ class Widget(AbstractModel):
|
|
|
36979
37172
|
def _deserialize(self, params):
|
|
36980
37173
|
self._WidgetId = params.get("WidgetId")
|
|
36981
37174
|
self._WidgetRunId = params.get("WidgetRunId")
|
|
37175
|
+
self._View = params.get("View")
|
|
36982
37176
|
self._State = params.get("State")
|
|
36983
37177
|
self._Position = params.get("Position")
|
|
36984
37178
|
self._EncodedWidget = params.get("EncodedWidget")
|
|
@@ -37848,6 +38042,9 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
37848
38042
|
:type CustomVariables: list of CustomVariable
|
|
37849
38043
|
:param _WorkflowGraph: 工作流的流程图
|
|
37850
38044
|
:type WorkflowGraph: str
|
|
38045
|
+
:param _LatestMessage: 当前的回复消息
|
|
38046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38047
|
+
:type LatestMessage: :class:`tencentcloud.lke.v20231130.models.AsyncWorkflowMessage`
|
|
37851
38048
|
"""
|
|
37852
38049
|
self._RunEnv = None
|
|
37853
38050
|
self._AppBizId = None
|
|
@@ -37866,6 +38063,7 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
37866
38063
|
self._MainModelName = None
|
|
37867
38064
|
self._CustomVariables = None
|
|
37868
38065
|
self._WorkflowGraph = None
|
|
38066
|
+
self._LatestMessage = None
|
|
37869
38067
|
|
|
37870
38068
|
@property
|
|
37871
38069
|
def RunEnv(self):
|
|
@@ -38058,6 +38256,18 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
38058
38256
|
def WorkflowGraph(self, WorkflowGraph):
|
|
38059
38257
|
self._WorkflowGraph = WorkflowGraph
|
|
38060
38258
|
|
|
38259
|
+
@property
|
|
38260
|
+
def LatestMessage(self):
|
|
38261
|
+
r"""当前的回复消息
|
|
38262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38263
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.AsyncWorkflowMessage`
|
|
38264
|
+
"""
|
|
38265
|
+
return self._LatestMessage
|
|
38266
|
+
|
|
38267
|
+
@LatestMessage.setter
|
|
38268
|
+
def LatestMessage(self, LatestMessage):
|
|
38269
|
+
self._LatestMessage = LatestMessage
|
|
38270
|
+
|
|
38061
38271
|
|
|
38062
38272
|
def _deserialize(self, params):
|
|
38063
38273
|
self._RunEnv = params.get("RunEnv")
|
|
@@ -38082,6 +38292,9 @@ class WorkflowRunDetail(AbstractModel):
|
|
|
38082
38292
|
obj._deserialize(item)
|
|
38083
38293
|
self._CustomVariables.append(obj)
|
|
38084
38294
|
self._WorkflowGraph = params.get("WorkflowGraph")
|
|
38295
|
+
if params.get("LatestMessage") is not None:
|
|
38296
|
+
self._LatestMessage = AsyncWorkflowMessage()
|
|
38297
|
+
self._LatestMessage._deserialize(params.get("LatestMessage"))
|
|
38085
38298
|
memeber_set = set(params.keys())
|
|
38086
38299
|
for name, value in vars(self).items():
|
|
38087
38300
|
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.47
|
|
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.47
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.47
|
|
@@ -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
|