tencentcloud-sdk-python-adp 3.1.177__tar.gz → 3.1.189__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_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/v20260520/adp_client.py +231 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/v20260520/adp_client_async.py +181 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/v20260520/errorcodes.py +3 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/v20260520/models.py +4462 -199
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.189/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.177/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.177 → tencentcloud_sdk_python_adp-3.1.189}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Adp 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.189
|
|
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-adp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -532,6 +532,30 @@ class AdpClient(AbstractClient):
|
|
|
532
532
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
533
533
|
|
|
534
534
|
|
|
535
|
+
def CreateWorkflowRun(self, request):
|
|
536
|
+
r"""本接口用来创建工作流的异步运行实例,创建成功后工作流会在后台异步运行,接口返回工作流运行实例ID(WorkflowRunId)等信息。后面可通过调用DescribeWorkflowRun接口查工作流运行的详情。
|
|
537
|
+
注意:工作流的异步运行是基于应用的,需要先把对应的应用配置成“单工作流模式”,才能创建成功。
|
|
538
|
+
|
|
539
|
+
:param request: Request instance for CreateWorkflowRun.
|
|
540
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.CreateWorkflowRunRequest`
|
|
541
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.CreateWorkflowRunResponse`
|
|
542
|
+
|
|
543
|
+
"""
|
|
544
|
+
try:
|
|
545
|
+
params = request._serialize()
|
|
546
|
+
headers = request.headers
|
|
547
|
+
body = self.call("CreateWorkflowRun", params, headers=headers)
|
|
548
|
+
response = json.loads(body)
|
|
549
|
+
model = models.CreateWorkflowRunResponse()
|
|
550
|
+
model._deserialize(response["Response"])
|
|
551
|
+
return model
|
|
552
|
+
except Exception as e:
|
|
553
|
+
if isinstance(e, TencentCloudSDKException):
|
|
554
|
+
raise
|
|
555
|
+
else:
|
|
556
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
557
|
+
|
|
558
|
+
|
|
535
559
|
def CreateWorkspaceCredential(self, request):
|
|
536
560
|
r"""创建工作空间凭证
|
|
537
561
|
|
|
@@ -1038,6 +1062,29 @@ class AdpClient(AbstractClient):
|
|
|
1038
1062
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1039
1063
|
|
|
1040
1064
|
|
|
1065
|
+
def DescribeAppStatisticsOverview(self, request):
|
|
1066
|
+
r"""查询应用视图下的调用统计总览,包含总调用次数、调用成功率、总tokens平均耗时及首tokens平均耗时;RAG 应用额外返回各回复方式的调用次数及占比,用于绘制饼图
|
|
1067
|
+
|
|
1068
|
+
:param request: Request instance for DescribeAppStatisticsOverview.
|
|
1069
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeAppStatisticsOverviewRequest`
|
|
1070
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeAppStatisticsOverviewResponse`
|
|
1071
|
+
|
|
1072
|
+
"""
|
|
1073
|
+
try:
|
|
1074
|
+
params = request._serialize()
|
|
1075
|
+
headers = request.headers
|
|
1076
|
+
body = self.call("DescribeAppStatisticsOverview", params, headers=headers)
|
|
1077
|
+
response = json.loads(body)
|
|
1078
|
+
model = models.DescribeAppStatisticsOverviewResponse()
|
|
1079
|
+
model._deserialize(response["Response"])
|
|
1080
|
+
return model
|
|
1081
|
+
except Exception as e:
|
|
1082
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1083
|
+
raise
|
|
1084
|
+
else:
|
|
1085
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1086
|
+
|
|
1087
|
+
|
|
1041
1088
|
def DescribeAppSummaryList(self, request):
|
|
1042
1089
|
r"""获取应用摘要列表
|
|
1043
1090
|
|
|
@@ -1682,6 +1729,52 @@ class AdpClient(AbstractClient):
|
|
|
1682
1729
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1683
1730
|
|
|
1684
1731
|
|
|
1732
|
+
def DescribeNodeBatchRun(self, request):
|
|
1733
|
+
r"""DescribeNodeBatchRun
|
|
1734
|
+
|
|
1735
|
+
:param request: Request instance for DescribeNodeBatchRun.
|
|
1736
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeNodeBatchRunRequest`
|
|
1737
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeNodeBatchRunResponse`
|
|
1738
|
+
|
|
1739
|
+
"""
|
|
1740
|
+
try:
|
|
1741
|
+
params = request._serialize()
|
|
1742
|
+
headers = request.headers
|
|
1743
|
+
body = self.call("DescribeNodeBatchRun", params, headers=headers)
|
|
1744
|
+
response = json.loads(body)
|
|
1745
|
+
model = models.DescribeNodeBatchRunResponse()
|
|
1746
|
+
model._deserialize(response["Response"])
|
|
1747
|
+
return model
|
|
1748
|
+
except Exception as e:
|
|
1749
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1750
|
+
raise
|
|
1751
|
+
else:
|
|
1752
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
def DescribeNodeRunDetail(self, request):
|
|
1756
|
+
r"""查看工作流节点运行详情
|
|
1757
|
+
|
|
1758
|
+
:param request: Request instance for DescribeNodeRunDetail.
|
|
1759
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeNodeRunDetailRequest`
|
|
1760
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeNodeRunDetailResponse`
|
|
1761
|
+
|
|
1762
|
+
"""
|
|
1763
|
+
try:
|
|
1764
|
+
params = request._serialize()
|
|
1765
|
+
headers = request.headers
|
|
1766
|
+
body = self.call("DescribeNodeRunDetail", params, headers=headers)
|
|
1767
|
+
response = json.loads(body)
|
|
1768
|
+
model = models.DescribeNodeRunDetailResponse()
|
|
1769
|
+
model._deserialize(response["Response"])
|
|
1770
|
+
return model
|
|
1771
|
+
except Exception as e:
|
|
1772
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1773
|
+
raise
|
|
1774
|
+
else:
|
|
1775
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1776
|
+
|
|
1777
|
+
|
|
1685
1778
|
def DescribePlugin(self, request):
|
|
1686
1779
|
r"""获取插件详情
|
|
1687
1780
|
|
|
@@ -2073,6 +2166,52 @@ class AdpClient(AbstractClient):
|
|
|
2073
2166
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2074
2167
|
|
|
2075
2168
|
|
|
2169
|
+
def DescribeWorkflowRun(self, request):
|
|
2170
|
+
r"""查询工作流运行详情
|
|
2171
|
+
|
|
2172
|
+
:param request: Request instance for DescribeWorkflowRun.
|
|
2173
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeWorkflowRunRequest`
|
|
2174
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeWorkflowRunResponse`
|
|
2175
|
+
|
|
2176
|
+
"""
|
|
2177
|
+
try:
|
|
2178
|
+
params = request._serialize()
|
|
2179
|
+
headers = request.headers
|
|
2180
|
+
body = self.call("DescribeWorkflowRun", params, headers=headers)
|
|
2181
|
+
response = json.loads(body)
|
|
2182
|
+
model = models.DescribeWorkflowRunResponse()
|
|
2183
|
+
model._deserialize(response["Response"])
|
|
2184
|
+
return model
|
|
2185
|
+
except Exception as e:
|
|
2186
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2187
|
+
raise
|
|
2188
|
+
else:
|
|
2189
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
def DescribeWorkflowRunSummaryList(self, request):
|
|
2193
|
+
r"""查询工作流运行实例列表
|
|
2194
|
+
|
|
2195
|
+
:param request: Request instance for DescribeWorkflowRunSummaryList.
|
|
2196
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeWorkflowRunSummaryListRequest`
|
|
2197
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeWorkflowRunSummaryListResponse`
|
|
2198
|
+
|
|
2199
|
+
"""
|
|
2200
|
+
try:
|
|
2201
|
+
params = request._serialize()
|
|
2202
|
+
headers = request.headers
|
|
2203
|
+
body = self.call("DescribeWorkflowRunSummaryList", params, headers=headers)
|
|
2204
|
+
response = json.loads(body)
|
|
2205
|
+
model = models.DescribeWorkflowRunSummaryListResponse()
|
|
2206
|
+
model._deserialize(response["Response"])
|
|
2207
|
+
return model
|
|
2208
|
+
except Exception as e:
|
|
2209
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2210
|
+
raise
|
|
2211
|
+
else:
|
|
2212
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2213
|
+
|
|
2214
|
+
|
|
2076
2215
|
def ExportQA(self, request):
|
|
2077
2216
|
r"""异步导出 QA
|
|
2078
2217
|
|
|
@@ -2672,6 +2811,29 @@ class AdpClient(AbstractClient):
|
|
|
2672
2811
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2673
2812
|
|
|
2674
2813
|
|
|
2814
|
+
def ResumeWorkflowRun(self, request):
|
|
2815
|
+
r"""继续运行等待输入的工作流异步运行实例
|
|
2816
|
+
|
|
2817
|
+
:param request: Request instance for ResumeWorkflowRun.
|
|
2818
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.ResumeWorkflowRunRequest`
|
|
2819
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.ResumeWorkflowRunResponse`
|
|
2820
|
+
|
|
2821
|
+
"""
|
|
2822
|
+
try:
|
|
2823
|
+
params = request._serialize()
|
|
2824
|
+
headers = request.headers
|
|
2825
|
+
body = self.call("ResumeWorkflowRun", params, headers=headers)
|
|
2826
|
+
response = json.loads(body)
|
|
2827
|
+
model = models.ResumeWorkflowRunResponse()
|
|
2828
|
+
model._deserialize(response["Response"])
|
|
2829
|
+
return model
|
|
2830
|
+
except Exception as e:
|
|
2831
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2832
|
+
raise
|
|
2833
|
+
else:
|
|
2834
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2835
|
+
|
|
2836
|
+
|
|
2675
2837
|
def RetryRelease(self, request):
|
|
2676
2838
|
r"""重试发布(发布暂停之后再次重新发布)
|
|
2677
2839
|
|
|
@@ -2741,6 +2903,52 @@ class AdpClient(AbstractClient):
|
|
|
2741
2903
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2742
2904
|
|
|
2743
2905
|
|
|
2906
|
+
def SaveWorkflowDebugContext(self, request):
|
|
2907
|
+
r"""SaveWorkflowDebugContext
|
|
2908
|
+
|
|
2909
|
+
:param request: Request instance for SaveWorkflowDebugContext.
|
|
2910
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.SaveWorkflowDebugContextRequest`
|
|
2911
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.SaveWorkflowDebugContextResponse`
|
|
2912
|
+
|
|
2913
|
+
"""
|
|
2914
|
+
try:
|
|
2915
|
+
params = request._serialize()
|
|
2916
|
+
headers = request.headers
|
|
2917
|
+
body = self.call("SaveWorkflowDebugContext", params, headers=headers)
|
|
2918
|
+
response = json.loads(body)
|
|
2919
|
+
model = models.SaveWorkflowDebugContextResponse()
|
|
2920
|
+
model._deserialize(response["Response"])
|
|
2921
|
+
return model
|
|
2922
|
+
except Exception as e:
|
|
2923
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2924
|
+
raise
|
|
2925
|
+
else:
|
|
2926
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2927
|
+
|
|
2928
|
+
|
|
2929
|
+
def SaveWorkflowToolNodeOutput(self, request):
|
|
2930
|
+
r"""SaveWorkflowToolNodeOutput
|
|
2931
|
+
|
|
2932
|
+
:param request: Request instance for SaveWorkflowToolNodeOutput.
|
|
2933
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.SaveWorkflowToolNodeOutputRequest`
|
|
2934
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.SaveWorkflowToolNodeOutputResponse`
|
|
2935
|
+
|
|
2936
|
+
"""
|
|
2937
|
+
try:
|
|
2938
|
+
params = request._serialize()
|
|
2939
|
+
headers = request.headers
|
|
2940
|
+
body = self.call("SaveWorkflowToolNodeOutput", params, headers=headers)
|
|
2941
|
+
response = json.loads(body)
|
|
2942
|
+
model = models.SaveWorkflowToolNodeOutputResponse()
|
|
2943
|
+
model._deserialize(response["Response"])
|
|
2944
|
+
return model
|
|
2945
|
+
except Exception as e:
|
|
2946
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2947
|
+
raise
|
|
2948
|
+
else:
|
|
2949
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2950
|
+
|
|
2951
|
+
|
|
2744
2952
|
def SearchKnowledge(self, request):
|
|
2745
2953
|
r"""知识检索
|
|
2746
2954
|
|
|
@@ -2764,6 +2972,29 @@ class AdpClient(AbstractClient):
|
|
|
2764
2972
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2765
2973
|
|
|
2766
2974
|
|
|
2975
|
+
def StopWorkflowRunList(self, request):
|
|
2976
|
+
r"""批量停止正在进行的工作流运行实例。
|
|
2977
|
+
|
|
2978
|
+
:param request: Request instance for StopWorkflowRunList.
|
|
2979
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.StopWorkflowRunListRequest`
|
|
2980
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.StopWorkflowRunListResponse`
|
|
2981
|
+
|
|
2982
|
+
"""
|
|
2983
|
+
try:
|
|
2984
|
+
params = request._serialize()
|
|
2985
|
+
headers = request.headers
|
|
2986
|
+
body = self.call("StopWorkflowRunList", params, headers=headers)
|
|
2987
|
+
response = json.loads(body)
|
|
2988
|
+
model = models.StopWorkflowRunListResponse()
|
|
2989
|
+
model._deserialize(response["Response"])
|
|
2990
|
+
return model
|
|
2991
|
+
except Exception as e:
|
|
2992
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2993
|
+
raise
|
|
2994
|
+
else:
|
|
2995
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2996
|
+
|
|
2997
|
+
|
|
2767
2998
|
def UnfavoritePlugin(self, request):
|
|
2768
2999
|
r"""取消收藏插件
|
|
2769
3000
|
|
|
@@ -421,6 +421,25 @@ class AdpClient(AbstractClient):
|
|
|
421
421
|
|
|
422
422
|
return await self.call_and_deserialize(**kwargs)
|
|
423
423
|
|
|
424
|
+
async def CreateWorkflowRun(
|
|
425
|
+
self,
|
|
426
|
+
request: models.CreateWorkflowRunRequest,
|
|
427
|
+
opts: Dict = None,
|
|
428
|
+
) -> models.CreateWorkflowRunResponse:
|
|
429
|
+
"""
|
|
430
|
+
本接口用来创建工作流的异步运行实例,创建成功后工作流会在后台异步运行,接口返回工作流运行实例ID(WorkflowRunId)等信息。后面可通过调用DescribeWorkflowRun接口查工作流运行的详情。
|
|
431
|
+
注意:工作流的异步运行是基于应用的,需要先把对应的应用配置成“单工作流模式”,才能创建成功。
|
|
432
|
+
"""
|
|
433
|
+
|
|
434
|
+
kwargs = {}
|
|
435
|
+
kwargs["action"] = "CreateWorkflowRun"
|
|
436
|
+
kwargs["params"] = request._serialize()
|
|
437
|
+
kwargs["resp_cls"] = models.CreateWorkflowRunResponse
|
|
438
|
+
kwargs["headers"] = request.headers
|
|
439
|
+
kwargs["opts"] = opts or {}
|
|
440
|
+
|
|
441
|
+
return await self.call_and_deserialize(**kwargs)
|
|
442
|
+
|
|
424
443
|
async def CreateWorkspaceCredential(
|
|
425
444
|
self,
|
|
426
445
|
request: models.CreateWorkspaceCredentialRequest,
|
|
@@ -817,6 +836,24 @@ class AdpClient(AbstractClient):
|
|
|
817
836
|
|
|
818
837
|
return await self.call_and_deserialize(**kwargs)
|
|
819
838
|
|
|
839
|
+
async def DescribeAppStatisticsOverview(
|
|
840
|
+
self,
|
|
841
|
+
request: models.DescribeAppStatisticsOverviewRequest,
|
|
842
|
+
opts: Dict = None,
|
|
843
|
+
) -> models.DescribeAppStatisticsOverviewResponse:
|
|
844
|
+
"""
|
|
845
|
+
查询应用视图下的调用统计总览,包含总调用次数、调用成功率、总tokens平均耗时及首tokens平均耗时;RAG 应用额外返回各回复方式的调用次数及占比,用于绘制饼图
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
kwargs = {}
|
|
849
|
+
kwargs["action"] = "DescribeAppStatisticsOverview"
|
|
850
|
+
kwargs["params"] = request._serialize()
|
|
851
|
+
kwargs["resp_cls"] = models.DescribeAppStatisticsOverviewResponse
|
|
852
|
+
kwargs["headers"] = request.headers
|
|
853
|
+
kwargs["opts"] = opts or {}
|
|
854
|
+
|
|
855
|
+
return await self.call_and_deserialize(**kwargs)
|
|
856
|
+
|
|
820
857
|
async def DescribeAppSummaryList(
|
|
821
858
|
self,
|
|
822
859
|
request: models.DescribeAppSummaryListRequest,
|
|
@@ -1321,6 +1358,42 @@ class AdpClient(AbstractClient):
|
|
|
1321
1358
|
|
|
1322
1359
|
return await self.call_and_deserialize(**kwargs)
|
|
1323
1360
|
|
|
1361
|
+
async def DescribeNodeBatchRun(
|
|
1362
|
+
self,
|
|
1363
|
+
request: models.DescribeNodeBatchRunRequest,
|
|
1364
|
+
opts: Dict = None,
|
|
1365
|
+
) -> models.DescribeNodeBatchRunResponse:
|
|
1366
|
+
"""
|
|
1367
|
+
DescribeNodeBatchRun
|
|
1368
|
+
"""
|
|
1369
|
+
|
|
1370
|
+
kwargs = {}
|
|
1371
|
+
kwargs["action"] = "DescribeNodeBatchRun"
|
|
1372
|
+
kwargs["params"] = request._serialize()
|
|
1373
|
+
kwargs["resp_cls"] = models.DescribeNodeBatchRunResponse
|
|
1374
|
+
kwargs["headers"] = request.headers
|
|
1375
|
+
kwargs["opts"] = opts or {}
|
|
1376
|
+
|
|
1377
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1378
|
+
|
|
1379
|
+
async def DescribeNodeRunDetail(
|
|
1380
|
+
self,
|
|
1381
|
+
request: models.DescribeNodeRunDetailRequest,
|
|
1382
|
+
opts: Dict = None,
|
|
1383
|
+
) -> models.DescribeNodeRunDetailResponse:
|
|
1384
|
+
"""
|
|
1385
|
+
查看工作流节点运行详情
|
|
1386
|
+
"""
|
|
1387
|
+
|
|
1388
|
+
kwargs = {}
|
|
1389
|
+
kwargs["action"] = "DescribeNodeRunDetail"
|
|
1390
|
+
kwargs["params"] = request._serialize()
|
|
1391
|
+
kwargs["resp_cls"] = models.DescribeNodeRunDetailResponse
|
|
1392
|
+
kwargs["headers"] = request.headers
|
|
1393
|
+
kwargs["opts"] = opts or {}
|
|
1394
|
+
|
|
1395
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1396
|
+
|
|
1324
1397
|
async def DescribePlugin(
|
|
1325
1398
|
self,
|
|
1326
1399
|
request: models.DescribePluginRequest,
|
|
@@ -1627,6 +1700,42 @@ class AdpClient(AbstractClient):
|
|
|
1627
1700
|
|
|
1628
1701
|
return await self.call_and_deserialize(**kwargs)
|
|
1629
1702
|
|
|
1703
|
+
async def DescribeWorkflowRun(
|
|
1704
|
+
self,
|
|
1705
|
+
request: models.DescribeWorkflowRunRequest,
|
|
1706
|
+
opts: Dict = None,
|
|
1707
|
+
) -> models.DescribeWorkflowRunResponse:
|
|
1708
|
+
"""
|
|
1709
|
+
查询工作流运行详情
|
|
1710
|
+
"""
|
|
1711
|
+
|
|
1712
|
+
kwargs = {}
|
|
1713
|
+
kwargs["action"] = "DescribeWorkflowRun"
|
|
1714
|
+
kwargs["params"] = request._serialize()
|
|
1715
|
+
kwargs["resp_cls"] = models.DescribeWorkflowRunResponse
|
|
1716
|
+
kwargs["headers"] = request.headers
|
|
1717
|
+
kwargs["opts"] = opts or {}
|
|
1718
|
+
|
|
1719
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1720
|
+
|
|
1721
|
+
async def DescribeWorkflowRunSummaryList(
|
|
1722
|
+
self,
|
|
1723
|
+
request: models.DescribeWorkflowRunSummaryListRequest,
|
|
1724
|
+
opts: Dict = None,
|
|
1725
|
+
) -> models.DescribeWorkflowRunSummaryListResponse:
|
|
1726
|
+
"""
|
|
1727
|
+
查询工作流运行实例列表
|
|
1728
|
+
"""
|
|
1729
|
+
|
|
1730
|
+
kwargs = {}
|
|
1731
|
+
kwargs["action"] = "DescribeWorkflowRunSummaryList"
|
|
1732
|
+
kwargs["params"] = request._serialize()
|
|
1733
|
+
kwargs["resp_cls"] = models.DescribeWorkflowRunSummaryListResponse
|
|
1734
|
+
kwargs["headers"] = request.headers
|
|
1735
|
+
kwargs["opts"] = opts or {}
|
|
1736
|
+
|
|
1737
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1738
|
+
|
|
1630
1739
|
async def ExportQA(
|
|
1631
1740
|
self,
|
|
1632
1741
|
request: models.ExportQARequest,
|
|
@@ -2096,6 +2205,24 @@ class AdpClient(AbstractClient):
|
|
|
2096
2205
|
|
|
2097
2206
|
return await self.call_and_deserialize(**kwargs)
|
|
2098
2207
|
|
|
2208
|
+
async def ResumeWorkflowRun(
|
|
2209
|
+
self,
|
|
2210
|
+
request: models.ResumeWorkflowRunRequest,
|
|
2211
|
+
opts: Dict = None,
|
|
2212
|
+
) -> models.ResumeWorkflowRunResponse:
|
|
2213
|
+
"""
|
|
2214
|
+
继续运行等待输入的工作流异步运行实例
|
|
2215
|
+
"""
|
|
2216
|
+
|
|
2217
|
+
kwargs = {}
|
|
2218
|
+
kwargs["action"] = "ResumeWorkflowRun"
|
|
2219
|
+
kwargs["params"] = request._serialize()
|
|
2220
|
+
kwargs["resp_cls"] = models.ResumeWorkflowRunResponse
|
|
2221
|
+
kwargs["headers"] = request.headers
|
|
2222
|
+
kwargs["opts"] = opts or {}
|
|
2223
|
+
|
|
2224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2225
|
+
|
|
2099
2226
|
async def RetryRelease(
|
|
2100
2227
|
self,
|
|
2101
2228
|
request: models.RetryReleaseRequest,
|
|
@@ -2150,6 +2277,42 @@ class AdpClient(AbstractClient):
|
|
|
2150
2277
|
|
|
2151
2278
|
return await self.call_and_deserialize(**kwargs)
|
|
2152
2279
|
|
|
2280
|
+
async def SaveWorkflowDebugContext(
|
|
2281
|
+
self,
|
|
2282
|
+
request: models.SaveWorkflowDebugContextRequest,
|
|
2283
|
+
opts: Dict = None,
|
|
2284
|
+
) -> models.SaveWorkflowDebugContextResponse:
|
|
2285
|
+
"""
|
|
2286
|
+
SaveWorkflowDebugContext
|
|
2287
|
+
"""
|
|
2288
|
+
|
|
2289
|
+
kwargs = {}
|
|
2290
|
+
kwargs["action"] = "SaveWorkflowDebugContext"
|
|
2291
|
+
kwargs["params"] = request._serialize()
|
|
2292
|
+
kwargs["resp_cls"] = models.SaveWorkflowDebugContextResponse
|
|
2293
|
+
kwargs["headers"] = request.headers
|
|
2294
|
+
kwargs["opts"] = opts or {}
|
|
2295
|
+
|
|
2296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2297
|
+
|
|
2298
|
+
async def SaveWorkflowToolNodeOutput(
|
|
2299
|
+
self,
|
|
2300
|
+
request: models.SaveWorkflowToolNodeOutputRequest,
|
|
2301
|
+
opts: Dict = None,
|
|
2302
|
+
) -> models.SaveWorkflowToolNodeOutputResponse:
|
|
2303
|
+
"""
|
|
2304
|
+
SaveWorkflowToolNodeOutput
|
|
2305
|
+
"""
|
|
2306
|
+
|
|
2307
|
+
kwargs = {}
|
|
2308
|
+
kwargs["action"] = "SaveWorkflowToolNodeOutput"
|
|
2309
|
+
kwargs["params"] = request._serialize()
|
|
2310
|
+
kwargs["resp_cls"] = models.SaveWorkflowToolNodeOutputResponse
|
|
2311
|
+
kwargs["headers"] = request.headers
|
|
2312
|
+
kwargs["opts"] = opts or {}
|
|
2313
|
+
|
|
2314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2315
|
+
|
|
2153
2316
|
async def SearchKnowledge(
|
|
2154
2317
|
self,
|
|
2155
2318
|
request: models.SearchKnowledgeRequest,
|
|
@@ -2168,6 +2331,24 @@ class AdpClient(AbstractClient):
|
|
|
2168
2331
|
|
|
2169
2332
|
return await self.call_and_deserialize(**kwargs)
|
|
2170
2333
|
|
|
2334
|
+
async def StopWorkflowRunList(
|
|
2335
|
+
self,
|
|
2336
|
+
request: models.StopWorkflowRunListRequest,
|
|
2337
|
+
opts: Dict = None,
|
|
2338
|
+
) -> models.StopWorkflowRunListResponse:
|
|
2339
|
+
"""
|
|
2340
|
+
批量停止正在进行的工作流运行实例。
|
|
2341
|
+
"""
|
|
2342
|
+
|
|
2343
|
+
kwargs = {}
|
|
2344
|
+
kwargs["action"] = "StopWorkflowRunList"
|
|
2345
|
+
kwargs["params"] = request._serialize()
|
|
2346
|
+
kwargs["resp_cls"] = models.StopWorkflowRunListResponse
|
|
2347
|
+
kwargs["headers"] = request.headers
|
|
2348
|
+
kwargs["opts"] = opts or {}
|
|
2349
|
+
|
|
2350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2351
|
+
|
|
2171
2352
|
async def UnfavoritePlugin(
|
|
2172
2353
|
self,
|
|
2173
2354
|
request: models.UnfavoritePluginRequest,
|