tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -49,6 +49,29 @@ class DataagentClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def AddScene(self, request):
|
|
53
|
+
r"""新增场景
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for AddScene.
|
|
56
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.AddSceneRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.AddSceneResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("AddScene", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.AddSceneResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def ChatAI(self, request):
|
|
53
76
|
r"""提供DataAgent 产品服务API
|
|
54
77
|
|
|
@@ -136,6 +159,52 @@ class DataagentClient(AbstractClient):
|
|
|
136
159
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
137
160
|
|
|
138
161
|
|
|
162
|
+
def DeleteScene(self, request):
|
|
163
|
+
r"""删除场景
|
|
164
|
+
|
|
165
|
+
:param request: Request instance for DeleteScene.
|
|
166
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.DeleteSceneRequest`
|
|
167
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.DeleteSceneResponse`
|
|
168
|
+
|
|
169
|
+
"""
|
|
170
|
+
try:
|
|
171
|
+
params = request._serialize()
|
|
172
|
+
headers = request.headers
|
|
173
|
+
body = self.call("DeleteScene", params, headers=headers)
|
|
174
|
+
response = json.loads(body)
|
|
175
|
+
model = models.DeleteSceneResponse()
|
|
176
|
+
model._deserialize(response["Response"])
|
|
177
|
+
return model
|
|
178
|
+
except Exception as e:
|
|
179
|
+
if isinstance(e, TencentCloudSDKException):
|
|
180
|
+
raise
|
|
181
|
+
else:
|
|
182
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def GetJobsByKnowledgeBaseId(self, request):
|
|
186
|
+
r"""根据知识库id查询jobs 列表
|
|
187
|
+
|
|
188
|
+
:param request: Request instance for GetJobsByKnowledgeBaseId.
|
|
189
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.GetJobsByKnowledgeBaseIdRequest`
|
|
190
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.GetJobsByKnowledgeBaseIdResponse`
|
|
191
|
+
|
|
192
|
+
"""
|
|
193
|
+
try:
|
|
194
|
+
params = request._serialize()
|
|
195
|
+
headers = request.headers
|
|
196
|
+
body = self.call("GetJobsByKnowledgeBaseId", params, headers=headers)
|
|
197
|
+
response = json.loads(body)
|
|
198
|
+
model = models.GetJobsByKnowledgeBaseIdResponse()
|
|
199
|
+
model._deserialize(response["Response"])
|
|
200
|
+
return model
|
|
201
|
+
except Exception as e:
|
|
202
|
+
if isinstance(e, TencentCloudSDKException):
|
|
203
|
+
raise
|
|
204
|
+
else:
|
|
205
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
206
|
+
|
|
207
|
+
|
|
139
208
|
def GetKnowledgeBaseFileList(self, request):
|
|
140
209
|
r"""获取知识库文件信息列表
|
|
141
210
|
|
|
@@ -274,6 +343,29 @@ class DataagentClient(AbstractClient):
|
|
|
274
343
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
275
344
|
|
|
276
345
|
|
|
346
|
+
def ModifyUserAuthority(self, request):
|
|
347
|
+
r"""修改对象权限
|
|
348
|
+
|
|
349
|
+
:param request: Request instance for ModifyUserAuthority.
|
|
350
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.ModifyUserAuthorityRequest`
|
|
351
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.ModifyUserAuthorityResponse`
|
|
352
|
+
|
|
353
|
+
"""
|
|
354
|
+
try:
|
|
355
|
+
params = request._serialize()
|
|
356
|
+
headers = request.headers
|
|
357
|
+
body = self.call("ModifyUserAuthority", params, headers=headers)
|
|
358
|
+
response = json.loads(body)
|
|
359
|
+
model = models.ModifyUserAuthorityResponse()
|
|
360
|
+
model._deserialize(response["Response"])
|
|
361
|
+
return model
|
|
362
|
+
except Exception as e:
|
|
363
|
+
if isinstance(e, TencentCloudSDKException):
|
|
364
|
+
raise
|
|
365
|
+
else:
|
|
366
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
367
|
+
|
|
368
|
+
|
|
277
369
|
def QueryChunkList(self, request):
|
|
278
370
|
r"""文档切片查询
|
|
279
371
|
|
|
@@ -297,6 +389,52 @@ class DataagentClient(AbstractClient):
|
|
|
297
389
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
298
390
|
|
|
299
391
|
|
|
392
|
+
def QuerySceneList(self, request):
|
|
393
|
+
r"""查询场景列表
|
|
394
|
+
|
|
395
|
+
:param request: Request instance for QuerySceneList.
|
|
396
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.QuerySceneListRequest`
|
|
397
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.QuerySceneListResponse`
|
|
398
|
+
|
|
399
|
+
"""
|
|
400
|
+
try:
|
|
401
|
+
params = request._serialize()
|
|
402
|
+
headers = request.headers
|
|
403
|
+
body = self.call("QuerySceneList", params, headers=headers)
|
|
404
|
+
response = json.loads(body)
|
|
405
|
+
model = models.QuerySceneListResponse()
|
|
406
|
+
model._deserialize(response["Response"])
|
|
407
|
+
return model
|
|
408
|
+
except Exception as e:
|
|
409
|
+
if isinstance(e, TencentCloudSDKException):
|
|
410
|
+
raise
|
|
411
|
+
else:
|
|
412
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
def QueryUserAuthority(self, request):
|
|
416
|
+
r"""查询对象权限
|
|
417
|
+
|
|
418
|
+
:param request: Request instance for QueryUserAuthority.
|
|
419
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.QueryUserAuthorityRequest`
|
|
420
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.QueryUserAuthorityResponse`
|
|
421
|
+
|
|
422
|
+
"""
|
|
423
|
+
try:
|
|
424
|
+
params = request._serialize()
|
|
425
|
+
headers = request.headers
|
|
426
|
+
body = self.call("QueryUserAuthority", params, headers=headers)
|
|
427
|
+
response = json.loads(body)
|
|
428
|
+
model = models.QueryUserAuthorityResponse()
|
|
429
|
+
model._deserialize(response["Response"])
|
|
430
|
+
return model
|
|
431
|
+
except Exception as e:
|
|
432
|
+
if isinstance(e, TencentCloudSDKException):
|
|
433
|
+
raise
|
|
434
|
+
else:
|
|
435
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
436
|
+
|
|
437
|
+
|
|
300
438
|
def StopChatAI(self, request):
|
|
301
439
|
r"""中断DataAgent的回答输出
|
|
302
440
|
|
|
@@ -320,6 +458,29 @@ class DataagentClient(AbstractClient):
|
|
|
320
458
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
321
459
|
|
|
322
460
|
|
|
461
|
+
def UpdateScene(self, request):
|
|
462
|
+
r"""更新场景
|
|
463
|
+
|
|
464
|
+
:param request: Request instance for UpdateScene.
|
|
465
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.UpdateSceneRequest`
|
|
466
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.UpdateSceneResponse`
|
|
467
|
+
|
|
468
|
+
"""
|
|
469
|
+
try:
|
|
470
|
+
params = request._serialize()
|
|
471
|
+
headers = request.headers
|
|
472
|
+
body = self.call("UpdateScene", params, headers=headers)
|
|
473
|
+
response = json.loads(body)
|
|
474
|
+
model = models.UpdateSceneResponse()
|
|
475
|
+
model._deserialize(response["Response"])
|
|
476
|
+
return model
|
|
477
|
+
except Exception as e:
|
|
478
|
+
if isinstance(e, TencentCloudSDKException):
|
|
479
|
+
raise
|
|
480
|
+
else:
|
|
481
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
482
|
+
|
|
483
|
+
|
|
323
484
|
def UploadAndCommitFile(self, request):
|
|
324
485
|
r"""上传提交文件
|
|
325
486
|
|
|
@@ -43,6 +43,24 @@ class DataagentClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def AddScene(
|
|
47
|
+
self,
|
|
48
|
+
request: models.AddSceneRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.AddSceneResponse:
|
|
51
|
+
"""
|
|
52
|
+
新增场景
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "AddScene"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.AddSceneResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def ChatAI(
|
|
47
65
|
self,
|
|
48
66
|
request: models.ChatAIRequest,
|
|
@@ -115,6 +133,42 @@ class DataagentClient(AbstractClient):
|
|
|
115
133
|
|
|
116
134
|
return await self.call_and_deserialize(**kwargs)
|
|
117
135
|
|
|
136
|
+
async def DeleteScene(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DeleteSceneRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DeleteSceneResponse:
|
|
141
|
+
"""
|
|
142
|
+
删除场景
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DeleteScene"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DeleteSceneResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def GetJobsByKnowledgeBaseId(
|
|
155
|
+
self,
|
|
156
|
+
request: models.GetJobsByKnowledgeBaseIdRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.GetJobsByKnowledgeBaseIdResponse:
|
|
159
|
+
"""
|
|
160
|
+
根据知识库id查询jobs 列表
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "GetJobsByKnowledgeBaseId"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.GetJobsByKnowledgeBaseIdResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
118
172
|
async def GetKnowledgeBaseFileList(
|
|
119
173
|
self,
|
|
120
174
|
request: models.GetKnowledgeBaseFileListRequest,
|
|
@@ -223,6 +277,24 @@ class DataagentClient(AbstractClient):
|
|
|
223
277
|
|
|
224
278
|
return await self.call_and_deserialize(**kwargs)
|
|
225
279
|
|
|
280
|
+
async def ModifyUserAuthority(
|
|
281
|
+
self,
|
|
282
|
+
request: models.ModifyUserAuthorityRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.ModifyUserAuthorityResponse:
|
|
285
|
+
"""
|
|
286
|
+
修改对象权限
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "ModifyUserAuthority"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.ModifyUserAuthorityResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
226
298
|
async def QueryChunkList(
|
|
227
299
|
self,
|
|
228
300
|
request: models.QueryChunkListRequest,
|
|
@@ -241,6 +313,42 @@ class DataagentClient(AbstractClient):
|
|
|
241
313
|
|
|
242
314
|
return await self.call_and_deserialize(**kwargs)
|
|
243
315
|
|
|
316
|
+
async def QuerySceneList(
|
|
317
|
+
self,
|
|
318
|
+
request: models.QuerySceneListRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.QuerySceneListResponse:
|
|
321
|
+
"""
|
|
322
|
+
查询场景列表
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "QuerySceneList"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.QuerySceneListResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def QueryUserAuthority(
|
|
335
|
+
self,
|
|
336
|
+
request: models.QueryUserAuthorityRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.QueryUserAuthorityResponse:
|
|
339
|
+
"""
|
|
340
|
+
查询对象权限
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "QueryUserAuthority"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.QueryUserAuthorityResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
244
352
|
async def StopChatAI(
|
|
245
353
|
self,
|
|
246
354
|
request: models.StopChatAIRequest,
|
|
@@ -259,6 +367,24 @@ class DataagentClient(AbstractClient):
|
|
|
259
367
|
|
|
260
368
|
return await self.call_and_deserialize(**kwargs)
|
|
261
369
|
|
|
370
|
+
async def UpdateScene(
|
|
371
|
+
self,
|
|
372
|
+
request: models.UpdateSceneRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.UpdateSceneResponse:
|
|
375
|
+
"""
|
|
376
|
+
更新场景
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "UpdateScene"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.UpdateSceneResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
262
388
|
async def UploadAndCommitFile(
|
|
263
389
|
self,
|
|
264
390
|
request: models.UploadAndCommitFileRequest,
|