alibabacloud-aimiaobi20230801 1.37.2__tar.gz → 1.38.0__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.
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/ChangeLog.md +12 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.38.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801/client.py +550 -6
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801/models.py +1594 -17
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/setup.py +1 -1
- alibabacloud_aimiaobi20230801-1.37.2/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.37.2 → alibabacloud_aimiaobi20230801-1.38.0}/setup.cfg +0 -0
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
2025-12-16 Version: 1.37.3
|
|
2
|
+
- Update API AddDatasetDocument: add request parameters Document.Metadata.
|
|
3
|
+
- Update API GetDatasetDocument: add request parameters IncludeFields.
|
|
4
|
+
- Update API GetDatasetDocument: add response parameters Body.Data.DocType.
|
|
5
|
+
- Update API GetDatasetDocument: add response parameters Body.Data.Metadata.
|
|
6
|
+
- Update API GetDatasetDocument: add response parameters Body.Data.Status.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
2025-12-11 Version: 1.37.2
|
|
10
|
+
- Update API ListDocumentRetrieve: add request parameters SubjectClassify.
|
|
11
|
+
|
|
12
|
+
|
|
1
13
|
2025-12-10 Version: 1.37.1
|
|
2
14
|
- Update API AsyncCreateClipsTask: add request parameters CloseMusic.
|
|
3
15
|
- Update API AsyncCreateClipsTask: add request parameters CloseSubtitle.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.38.0'
|
|
@@ -1037,6 +1037,110 @@ class Client(OpenApiClient):
|
|
|
1037
1037
|
runtime = util_models.RuntimeOptions()
|
|
1038
1038
|
return await self.async_writing_bidding_doc_with_options_async(request, runtime)
|
|
1039
1039
|
|
|
1040
|
+
def bind_ppt_artifact_with_options(
|
|
1041
|
+
self,
|
|
1042
|
+
request: ai_miao_bi_20230801_models.BindPptArtifactRequest,
|
|
1043
|
+
runtime: util_models.RuntimeOptions,
|
|
1044
|
+
) -> ai_miao_bi_20230801_models.BindPptArtifactResponse:
|
|
1045
|
+
"""
|
|
1046
|
+
@summary 绑定PPT作品信息
|
|
1047
|
+
|
|
1048
|
+
@param request: BindPptArtifactRequest
|
|
1049
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1050
|
+
@return: BindPptArtifactResponse
|
|
1051
|
+
"""
|
|
1052
|
+
UtilClient.validate_model(request)
|
|
1053
|
+
body = {}
|
|
1054
|
+
if not UtilClient.is_unset(request.artifact_id):
|
|
1055
|
+
body['ArtifactId'] = request.artifact_id
|
|
1056
|
+
if not UtilClient.is_unset(request.task_id):
|
|
1057
|
+
body['TaskId'] = request.task_id
|
|
1058
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
1059
|
+
body['WorkspaceId'] = request.workspace_id
|
|
1060
|
+
req = open_api_models.OpenApiRequest(
|
|
1061
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
1062
|
+
)
|
|
1063
|
+
params = open_api_models.Params(
|
|
1064
|
+
action='BindPptArtifact',
|
|
1065
|
+
version='2023-08-01',
|
|
1066
|
+
protocol='HTTPS',
|
|
1067
|
+
pathname='/',
|
|
1068
|
+
method='POST',
|
|
1069
|
+
auth_type='AK',
|
|
1070
|
+
style='RPC',
|
|
1071
|
+
req_body_type='formData',
|
|
1072
|
+
body_type='json'
|
|
1073
|
+
)
|
|
1074
|
+
return TeaCore.from_map(
|
|
1075
|
+
ai_miao_bi_20230801_models.BindPptArtifactResponse(),
|
|
1076
|
+
self.call_api(params, req, runtime)
|
|
1077
|
+
)
|
|
1078
|
+
|
|
1079
|
+
async def bind_ppt_artifact_with_options_async(
|
|
1080
|
+
self,
|
|
1081
|
+
request: ai_miao_bi_20230801_models.BindPptArtifactRequest,
|
|
1082
|
+
runtime: util_models.RuntimeOptions,
|
|
1083
|
+
) -> ai_miao_bi_20230801_models.BindPptArtifactResponse:
|
|
1084
|
+
"""
|
|
1085
|
+
@summary 绑定PPT作品信息
|
|
1086
|
+
|
|
1087
|
+
@param request: BindPptArtifactRequest
|
|
1088
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1089
|
+
@return: BindPptArtifactResponse
|
|
1090
|
+
"""
|
|
1091
|
+
UtilClient.validate_model(request)
|
|
1092
|
+
body = {}
|
|
1093
|
+
if not UtilClient.is_unset(request.artifact_id):
|
|
1094
|
+
body['ArtifactId'] = request.artifact_id
|
|
1095
|
+
if not UtilClient.is_unset(request.task_id):
|
|
1096
|
+
body['TaskId'] = request.task_id
|
|
1097
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
1098
|
+
body['WorkspaceId'] = request.workspace_id
|
|
1099
|
+
req = open_api_models.OpenApiRequest(
|
|
1100
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
1101
|
+
)
|
|
1102
|
+
params = open_api_models.Params(
|
|
1103
|
+
action='BindPptArtifact',
|
|
1104
|
+
version='2023-08-01',
|
|
1105
|
+
protocol='HTTPS',
|
|
1106
|
+
pathname='/',
|
|
1107
|
+
method='POST',
|
|
1108
|
+
auth_type='AK',
|
|
1109
|
+
style='RPC',
|
|
1110
|
+
req_body_type='formData',
|
|
1111
|
+
body_type='json'
|
|
1112
|
+
)
|
|
1113
|
+
return TeaCore.from_map(
|
|
1114
|
+
ai_miao_bi_20230801_models.BindPptArtifactResponse(),
|
|
1115
|
+
await self.call_api_async(params, req, runtime)
|
|
1116
|
+
)
|
|
1117
|
+
|
|
1118
|
+
def bind_ppt_artifact(
|
|
1119
|
+
self,
|
|
1120
|
+
request: ai_miao_bi_20230801_models.BindPptArtifactRequest,
|
|
1121
|
+
) -> ai_miao_bi_20230801_models.BindPptArtifactResponse:
|
|
1122
|
+
"""
|
|
1123
|
+
@summary 绑定PPT作品信息
|
|
1124
|
+
|
|
1125
|
+
@param request: BindPptArtifactRequest
|
|
1126
|
+
@return: BindPptArtifactResponse
|
|
1127
|
+
"""
|
|
1128
|
+
runtime = util_models.RuntimeOptions()
|
|
1129
|
+
return self.bind_ppt_artifact_with_options(request, runtime)
|
|
1130
|
+
|
|
1131
|
+
async def bind_ppt_artifact_async(
|
|
1132
|
+
self,
|
|
1133
|
+
request: ai_miao_bi_20230801_models.BindPptArtifactRequest,
|
|
1134
|
+
) -> ai_miao_bi_20230801_models.BindPptArtifactResponse:
|
|
1135
|
+
"""
|
|
1136
|
+
@summary 绑定PPT作品信息
|
|
1137
|
+
|
|
1138
|
+
@param request: BindPptArtifactRequest
|
|
1139
|
+
@return: BindPptArtifactResponse
|
|
1140
|
+
"""
|
|
1141
|
+
runtime = util_models.RuntimeOptions()
|
|
1142
|
+
return await self.bind_ppt_artifact_with_options_async(request, runtime)
|
|
1143
|
+
|
|
1040
1144
|
def cancel_async_task_with_options(
|
|
1041
1145
|
self,
|
|
1042
1146
|
request: ai_miao_bi_20230801_models.CancelAsyncTaskRequest,
|
|
@@ -7119,17 +7223,21 @@ class Client(OpenApiClient):
|
|
|
7119
7223
|
|
|
7120
7224
|
def get_dataset_document_with_options(
|
|
7121
7225
|
self,
|
|
7122
|
-
|
|
7226
|
+
tmp_req: ai_miao_bi_20230801_models.GetDatasetDocumentRequest,
|
|
7123
7227
|
runtime: util_models.RuntimeOptions,
|
|
7124
7228
|
) -> ai_miao_bi_20230801_models.GetDatasetDocumentResponse:
|
|
7125
7229
|
"""
|
|
7126
7230
|
@summary 获取数据集文档
|
|
7127
7231
|
|
|
7128
|
-
@param
|
|
7232
|
+
@param tmp_req: GetDatasetDocumentRequest
|
|
7129
7233
|
@param runtime: runtime options for this request RuntimeOptions
|
|
7130
7234
|
@return: GetDatasetDocumentResponse
|
|
7131
7235
|
"""
|
|
7132
|
-
UtilClient.validate_model(
|
|
7236
|
+
UtilClient.validate_model(tmp_req)
|
|
7237
|
+
request = ai_miao_bi_20230801_models.GetDatasetDocumentShrinkRequest()
|
|
7238
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
7239
|
+
if not UtilClient.is_unset(tmp_req.include_fields):
|
|
7240
|
+
request.include_fields_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.include_fields, 'IncludeFields', 'json')
|
|
7133
7241
|
body = {}
|
|
7134
7242
|
if not UtilClient.is_unset(request.dataset_id):
|
|
7135
7243
|
body['DatasetId'] = request.dataset_id
|
|
@@ -7139,6 +7247,8 @@ class Client(OpenApiClient):
|
|
|
7139
7247
|
body['DocId'] = request.doc_id
|
|
7140
7248
|
if not UtilClient.is_unset(request.doc_uuid):
|
|
7141
7249
|
body['DocUuid'] = request.doc_uuid
|
|
7250
|
+
if not UtilClient.is_unset(request.include_fields_shrink):
|
|
7251
|
+
body['IncludeFields'] = request.include_fields_shrink
|
|
7142
7252
|
if not UtilClient.is_unset(request.workspace_id):
|
|
7143
7253
|
body['WorkspaceId'] = request.workspace_id
|
|
7144
7254
|
req = open_api_models.OpenApiRequest(
|
|
@@ -7162,17 +7272,21 @@ class Client(OpenApiClient):
|
|
|
7162
7272
|
|
|
7163
7273
|
async def get_dataset_document_with_options_async(
|
|
7164
7274
|
self,
|
|
7165
|
-
|
|
7275
|
+
tmp_req: ai_miao_bi_20230801_models.GetDatasetDocumentRequest,
|
|
7166
7276
|
runtime: util_models.RuntimeOptions,
|
|
7167
7277
|
) -> ai_miao_bi_20230801_models.GetDatasetDocumentResponse:
|
|
7168
7278
|
"""
|
|
7169
7279
|
@summary 获取数据集文档
|
|
7170
7280
|
|
|
7171
|
-
@param
|
|
7281
|
+
@param tmp_req: GetDatasetDocumentRequest
|
|
7172
7282
|
@param runtime: runtime options for this request RuntimeOptions
|
|
7173
7283
|
@return: GetDatasetDocumentResponse
|
|
7174
7284
|
"""
|
|
7175
|
-
UtilClient.validate_model(
|
|
7285
|
+
UtilClient.validate_model(tmp_req)
|
|
7286
|
+
request = ai_miao_bi_20230801_models.GetDatasetDocumentShrinkRequest()
|
|
7287
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
7288
|
+
if not UtilClient.is_unset(tmp_req.include_fields):
|
|
7289
|
+
request.include_fields_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.include_fields, 'IncludeFields', 'json')
|
|
7176
7290
|
body = {}
|
|
7177
7291
|
if not UtilClient.is_unset(request.dataset_id):
|
|
7178
7292
|
body['DatasetId'] = request.dataset_id
|
|
@@ -7182,6 +7296,8 @@ class Client(OpenApiClient):
|
|
|
7182
7296
|
body['DocId'] = request.doc_id
|
|
7183
7297
|
if not UtilClient.is_unset(request.doc_uuid):
|
|
7184
7298
|
body['DocUuid'] = request.doc_uuid
|
|
7299
|
+
if not UtilClient.is_unset(request.include_fields_shrink):
|
|
7300
|
+
body['IncludeFields'] = request.include_fields_shrink
|
|
7185
7301
|
if not UtilClient.is_unset(request.workspace_id):
|
|
7186
7302
|
body['WorkspaceId'] = request.workspace_id
|
|
7187
7303
|
req = open_api_models.OpenApiRequest(
|
|
@@ -8805,6 +8921,102 @@ class Client(OpenApiClient):
|
|
|
8805
8921
|
runtime = util_models.RuntimeOptions()
|
|
8806
8922
|
return await self.get_material_by_id_with_options_async(request, runtime)
|
|
8807
8923
|
|
|
8924
|
+
def get_ppt_config_with_options(
|
|
8925
|
+
self,
|
|
8926
|
+
request: ai_miao_bi_20230801_models.GetPptConfigRequest,
|
|
8927
|
+
runtime: util_models.RuntimeOptions,
|
|
8928
|
+
) -> ai_miao_bi_20230801_models.GetPptConfigResponse:
|
|
8929
|
+
"""
|
|
8930
|
+
@summary 获取PPT组件的配置
|
|
8931
|
+
|
|
8932
|
+
@param request: GetPptConfigRequest
|
|
8933
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
8934
|
+
@return: GetPptConfigResponse
|
|
8935
|
+
"""
|
|
8936
|
+
UtilClient.validate_model(request)
|
|
8937
|
+
body = {}
|
|
8938
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
8939
|
+
body['WorkspaceId'] = request.workspace_id
|
|
8940
|
+
req = open_api_models.OpenApiRequest(
|
|
8941
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
8942
|
+
)
|
|
8943
|
+
params = open_api_models.Params(
|
|
8944
|
+
action='GetPptConfig',
|
|
8945
|
+
version='2023-08-01',
|
|
8946
|
+
protocol='HTTPS',
|
|
8947
|
+
pathname='/',
|
|
8948
|
+
method='POST',
|
|
8949
|
+
auth_type='AK',
|
|
8950
|
+
style='RPC',
|
|
8951
|
+
req_body_type='formData',
|
|
8952
|
+
body_type='json'
|
|
8953
|
+
)
|
|
8954
|
+
return TeaCore.from_map(
|
|
8955
|
+
ai_miao_bi_20230801_models.GetPptConfigResponse(),
|
|
8956
|
+
self.call_api(params, req, runtime)
|
|
8957
|
+
)
|
|
8958
|
+
|
|
8959
|
+
async def get_ppt_config_with_options_async(
|
|
8960
|
+
self,
|
|
8961
|
+
request: ai_miao_bi_20230801_models.GetPptConfigRequest,
|
|
8962
|
+
runtime: util_models.RuntimeOptions,
|
|
8963
|
+
) -> ai_miao_bi_20230801_models.GetPptConfigResponse:
|
|
8964
|
+
"""
|
|
8965
|
+
@summary 获取PPT组件的配置
|
|
8966
|
+
|
|
8967
|
+
@param request: GetPptConfigRequest
|
|
8968
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
8969
|
+
@return: GetPptConfigResponse
|
|
8970
|
+
"""
|
|
8971
|
+
UtilClient.validate_model(request)
|
|
8972
|
+
body = {}
|
|
8973
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
8974
|
+
body['WorkspaceId'] = request.workspace_id
|
|
8975
|
+
req = open_api_models.OpenApiRequest(
|
|
8976
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
8977
|
+
)
|
|
8978
|
+
params = open_api_models.Params(
|
|
8979
|
+
action='GetPptConfig',
|
|
8980
|
+
version='2023-08-01',
|
|
8981
|
+
protocol='HTTPS',
|
|
8982
|
+
pathname='/',
|
|
8983
|
+
method='POST',
|
|
8984
|
+
auth_type='AK',
|
|
8985
|
+
style='RPC',
|
|
8986
|
+
req_body_type='formData',
|
|
8987
|
+
body_type='json'
|
|
8988
|
+
)
|
|
8989
|
+
return TeaCore.from_map(
|
|
8990
|
+
ai_miao_bi_20230801_models.GetPptConfigResponse(),
|
|
8991
|
+
await self.call_api_async(params, req, runtime)
|
|
8992
|
+
)
|
|
8993
|
+
|
|
8994
|
+
def get_ppt_config(
|
|
8995
|
+
self,
|
|
8996
|
+
request: ai_miao_bi_20230801_models.GetPptConfigRequest,
|
|
8997
|
+
) -> ai_miao_bi_20230801_models.GetPptConfigResponse:
|
|
8998
|
+
"""
|
|
8999
|
+
@summary 获取PPT组件的配置
|
|
9000
|
+
|
|
9001
|
+
@param request: GetPptConfigRequest
|
|
9002
|
+
@return: GetPptConfigResponse
|
|
9003
|
+
"""
|
|
9004
|
+
runtime = util_models.RuntimeOptions()
|
|
9005
|
+
return self.get_ppt_config_with_options(request, runtime)
|
|
9006
|
+
|
|
9007
|
+
async def get_ppt_config_async(
|
|
9008
|
+
self,
|
|
9009
|
+
request: ai_miao_bi_20230801_models.GetPptConfigRequest,
|
|
9010
|
+
) -> ai_miao_bi_20230801_models.GetPptConfigResponse:
|
|
9011
|
+
"""
|
|
9012
|
+
@summary 获取PPT组件的配置
|
|
9013
|
+
|
|
9014
|
+
@param request: GetPptConfigRequest
|
|
9015
|
+
@return: GetPptConfigResponse
|
|
9016
|
+
"""
|
|
9017
|
+
runtime = util_models.RuntimeOptions()
|
|
9018
|
+
return await self.get_ppt_config_with_options_async(request, runtime)
|
|
9019
|
+
|
|
8808
9020
|
def get_properties_with_options(
|
|
8809
9021
|
self,
|
|
8810
9022
|
request: ai_miao_bi_20230801_models.GetPropertiesRequest,
|
|
@@ -9637,6 +9849,110 @@ class Client(OpenApiClient):
|
|
|
9637
9849
|
runtime = util_models.RuntimeOptions()
|
|
9638
9850
|
return await self.import_intervene_file_async_with_options_async(request, runtime)
|
|
9639
9851
|
|
|
9852
|
+
def initiate_ppt_creation_with_options(
|
|
9853
|
+
self,
|
|
9854
|
+
request: ai_miao_bi_20230801_models.InitiatePptCreationRequest,
|
|
9855
|
+
runtime: util_models.RuntimeOptions,
|
|
9856
|
+
) -> ai_miao_bi_20230801_models.InitiatePptCreationResponse:
|
|
9857
|
+
"""
|
|
9858
|
+
@summary 初始化PPT创建操作
|
|
9859
|
+
|
|
9860
|
+
@param request: InitiatePptCreationRequest
|
|
9861
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
9862
|
+
@return: InitiatePptCreationResponse
|
|
9863
|
+
"""
|
|
9864
|
+
UtilClient.validate_model(request)
|
|
9865
|
+
body = {}
|
|
9866
|
+
if not UtilClient.is_unset(request.outline):
|
|
9867
|
+
body['Outline'] = request.outline
|
|
9868
|
+
if not UtilClient.is_unset(request.task_id):
|
|
9869
|
+
body['TaskId'] = request.task_id
|
|
9870
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
9871
|
+
body['WorkspaceId'] = request.workspace_id
|
|
9872
|
+
req = open_api_models.OpenApiRequest(
|
|
9873
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
9874
|
+
)
|
|
9875
|
+
params = open_api_models.Params(
|
|
9876
|
+
action='InitiatePptCreation',
|
|
9877
|
+
version='2023-08-01',
|
|
9878
|
+
protocol='HTTPS',
|
|
9879
|
+
pathname='/',
|
|
9880
|
+
method='POST',
|
|
9881
|
+
auth_type='AK',
|
|
9882
|
+
style='RPC',
|
|
9883
|
+
req_body_type='formData',
|
|
9884
|
+
body_type='json'
|
|
9885
|
+
)
|
|
9886
|
+
return TeaCore.from_map(
|
|
9887
|
+
ai_miao_bi_20230801_models.InitiatePptCreationResponse(),
|
|
9888
|
+
self.call_api(params, req, runtime)
|
|
9889
|
+
)
|
|
9890
|
+
|
|
9891
|
+
async def initiate_ppt_creation_with_options_async(
|
|
9892
|
+
self,
|
|
9893
|
+
request: ai_miao_bi_20230801_models.InitiatePptCreationRequest,
|
|
9894
|
+
runtime: util_models.RuntimeOptions,
|
|
9895
|
+
) -> ai_miao_bi_20230801_models.InitiatePptCreationResponse:
|
|
9896
|
+
"""
|
|
9897
|
+
@summary 初始化PPT创建操作
|
|
9898
|
+
|
|
9899
|
+
@param request: InitiatePptCreationRequest
|
|
9900
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
9901
|
+
@return: InitiatePptCreationResponse
|
|
9902
|
+
"""
|
|
9903
|
+
UtilClient.validate_model(request)
|
|
9904
|
+
body = {}
|
|
9905
|
+
if not UtilClient.is_unset(request.outline):
|
|
9906
|
+
body['Outline'] = request.outline
|
|
9907
|
+
if not UtilClient.is_unset(request.task_id):
|
|
9908
|
+
body['TaskId'] = request.task_id
|
|
9909
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
9910
|
+
body['WorkspaceId'] = request.workspace_id
|
|
9911
|
+
req = open_api_models.OpenApiRequest(
|
|
9912
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
9913
|
+
)
|
|
9914
|
+
params = open_api_models.Params(
|
|
9915
|
+
action='InitiatePptCreation',
|
|
9916
|
+
version='2023-08-01',
|
|
9917
|
+
protocol='HTTPS',
|
|
9918
|
+
pathname='/',
|
|
9919
|
+
method='POST',
|
|
9920
|
+
auth_type='AK',
|
|
9921
|
+
style='RPC',
|
|
9922
|
+
req_body_type='formData',
|
|
9923
|
+
body_type='json'
|
|
9924
|
+
)
|
|
9925
|
+
return TeaCore.from_map(
|
|
9926
|
+
ai_miao_bi_20230801_models.InitiatePptCreationResponse(),
|
|
9927
|
+
await self.call_api_async(params, req, runtime)
|
|
9928
|
+
)
|
|
9929
|
+
|
|
9930
|
+
def initiate_ppt_creation(
|
|
9931
|
+
self,
|
|
9932
|
+
request: ai_miao_bi_20230801_models.InitiatePptCreationRequest,
|
|
9933
|
+
) -> ai_miao_bi_20230801_models.InitiatePptCreationResponse:
|
|
9934
|
+
"""
|
|
9935
|
+
@summary 初始化PPT创建操作
|
|
9936
|
+
|
|
9937
|
+
@param request: InitiatePptCreationRequest
|
|
9938
|
+
@return: InitiatePptCreationResponse
|
|
9939
|
+
"""
|
|
9940
|
+
runtime = util_models.RuntimeOptions()
|
|
9941
|
+
return self.initiate_ppt_creation_with_options(request, runtime)
|
|
9942
|
+
|
|
9943
|
+
async def initiate_ppt_creation_async(
|
|
9944
|
+
self,
|
|
9945
|
+
request: ai_miao_bi_20230801_models.InitiatePptCreationRequest,
|
|
9946
|
+
) -> ai_miao_bi_20230801_models.InitiatePptCreationResponse:
|
|
9947
|
+
"""
|
|
9948
|
+
@summary 初始化PPT创建操作
|
|
9949
|
+
|
|
9950
|
+
@param request: InitiatePptCreationRequest
|
|
9951
|
+
@return: InitiatePptCreationResponse
|
|
9952
|
+
"""
|
|
9953
|
+
runtime = util_models.RuntimeOptions()
|
|
9954
|
+
return await self.initiate_ppt_creation_with_options_async(request, runtime)
|
|
9955
|
+
|
|
9640
9956
|
def insert_intervene_global_reply_with_options(
|
|
9641
9957
|
self,
|
|
9642
9958
|
tmp_req: ai_miao_bi_20230801_models.InsertInterveneGlobalReplyRequest,
|
|
@@ -14577,6 +14893,134 @@ class Client(OpenApiClient):
|
|
|
14577
14893
|
runtime = util_models.RuntimeOptions()
|
|
14578
14894
|
return await self.run_abbreviation_content_with_options_async(request, runtime)
|
|
14579
14895
|
|
|
14896
|
+
def run_ai_helper_writing_with_options(
|
|
14897
|
+
self,
|
|
14898
|
+
tmp_req: ai_miao_bi_20230801_models.RunAiHelperWritingRequest,
|
|
14899
|
+
runtime: util_models.RuntimeOptions,
|
|
14900
|
+
) -> ai_miao_bi_20230801_models.RunAiHelperWritingResponse:
|
|
14901
|
+
"""
|
|
14902
|
+
@summary 妙笔:AI助手写作
|
|
14903
|
+
|
|
14904
|
+
@param tmp_req: RunAiHelperWritingRequest
|
|
14905
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14906
|
+
@return: RunAiHelperWritingResponse
|
|
14907
|
+
"""
|
|
14908
|
+
UtilClient.validate_model(tmp_req)
|
|
14909
|
+
request = ai_miao_bi_20230801_models.RunAiHelperWritingShrinkRequest()
|
|
14910
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
14911
|
+
if not UtilClient.is_unset(tmp_req.writing_params):
|
|
14912
|
+
request.writing_params_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.writing_params, 'WritingParams', 'json')
|
|
14913
|
+
body = {}
|
|
14914
|
+
if not UtilClient.is_unset(request.distribute_writing):
|
|
14915
|
+
body['DistributeWriting'] = request.distribute_writing
|
|
14916
|
+
if not UtilClient.is_unset(request.prompt):
|
|
14917
|
+
body['Prompt'] = request.prompt
|
|
14918
|
+
if not UtilClient.is_unset(request.prompt_mode):
|
|
14919
|
+
body['PromptMode'] = request.prompt_mode
|
|
14920
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
14921
|
+
body['WorkspaceId'] = request.workspace_id
|
|
14922
|
+
if not UtilClient.is_unset(request.writing_params_shrink):
|
|
14923
|
+
body['WritingParams'] = request.writing_params_shrink
|
|
14924
|
+
if not UtilClient.is_unset(request.writing_scene):
|
|
14925
|
+
body['WritingScene'] = request.writing_scene
|
|
14926
|
+
if not UtilClient.is_unset(request.writing_style):
|
|
14927
|
+
body['WritingStyle'] = request.writing_style
|
|
14928
|
+
req = open_api_models.OpenApiRequest(
|
|
14929
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14930
|
+
)
|
|
14931
|
+
params = open_api_models.Params(
|
|
14932
|
+
action='RunAiHelperWriting',
|
|
14933
|
+
version='2023-08-01',
|
|
14934
|
+
protocol='HTTPS',
|
|
14935
|
+
pathname='/',
|
|
14936
|
+
method='POST',
|
|
14937
|
+
auth_type='AK',
|
|
14938
|
+
style='RPC',
|
|
14939
|
+
req_body_type='formData',
|
|
14940
|
+
body_type='json'
|
|
14941
|
+
)
|
|
14942
|
+
return TeaCore.from_map(
|
|
14943
|
+
ai_miao_bi_20230801_models.RunAiHelperWritingResponse(),
|
|
14944
|
+
self.call_api(params, req, runtime)
|
|
14945
|
+
)
|
|
14946
|
+
|
|
14947
|
+
async def run_ai_helper_writing_with_options_async(
|
|
14948
|
+
self,
|
|
14949
|
+
tmp_req: ai_miao_bi_20230801_models.RunAiHelperWritingRequest,
|
|
14950
|
+
runtime: util_models.RuntimeOptions,
|
|
14951
|
+
) -> ai_miao_bi_20230801_models.RunAiHelperWritingResponse:
|
|
14952
|
+
"""
|
|
14953
|
+
@summary 妙笔:AI助手写作
|
|
14954
|
+
|
|
14955
|
+
@param tmp_req: RunAiHelperWritingRequest
|
|
14956
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14957
|
+
@return: RunAiHelperWritingResponse
|
|
14958
|
+
"""
|
|
14959
|
+
UtilClient.validate_model(tmp_req)
|
|
14960
|
+
request = ai_miao_bi_20230801_models.RunAiHelperWritingShrinkRequest()
|
|
14961
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
14962
|
+
if not UtilClient.is_unset(tmp_req.writing_params):
|
|
14963
|
+
request.writing_params_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.writing_params, 'WritingParams', 'json')
|
|
14964
|
+
body = {}
|
|
14965
|
+
if not UtilClient.is_unset(request.distribute_writing):
|
|
14966
|
+
body['DistributeWriting'] = request.distribute_writing
|
|
14967
|
+
if not UtilClient.is_unset(request.prompt):
|
|
14968
|
+
body['Prompt'] = request.prompt
|
|
14969
|
+
if not UtilClient.is_unset(request.prompt_mode):
|
|
14970
|
+
body['PromptMode'] = request.prompt_mode
|
|
14971
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
14972
|
+
body['WorkspaceId'] = request.workspace_id
|
|
14973
|
+
if not UtilClient.is_unset(request.writing_params_shrink):
|
|
14974
|
+
body['WritingParams'] = request.writing_params_shrink
|
|
14975
|
+
if not UtilClient.is_unset(request.writing_scene):
|
|
14976
|
+
body['WritingScene'] = request.writing_scene
|
|
14977
|
+
if not UtilClient.is_unset(request.writing_style):
|
|
14978
|
+
body['WritingStyle'] = request.writing_style
|
|
14979
|
+
req = open_api_models.OpenApiRequest(
|
|
14980
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14981
|
+
)
|
|
14982
|
+
params = open_api_models.Params(
|
|
14983
|
+
action='RunAiHelperWriting',
|
|
14984
|
+
version='2023-08-01',
|
|
14985
|
+
protocol='HTTPS',
|
|
14986
|
+
pathname='/',
|
|
14987
|
+
method='POST',
|
|
14988
|
+
auth_type='AK',
|
|
14989
|
+
style='RPC',
|
|
14990
|
+
req_body_type='formData',
|
|
14991
|
+
body_type='json'
|
|
14992
|
+
)
|
|
14993
|
+
return TeaCore.from_map(
|
|
14994
|
+
ai_miao_bi_20230801_models.RunAiHelperWritingResponse(),
|
|
14995
|
+
await self.call_api_async(params, req, runtime)
|
|
14996
|
+
)
|
|
14997
|
+
|
|
14998
|
+
def run_ai_helper_writing(
|
|
14999
|
+
self,
|
|
15000
|
+
request: ai_miao_bi_20230801_models.RunAiHelperWritingRequest,
|
|
15001
|
+
) -> ai_miao_bi_20230801_models.RunAiHelperWritingResponse:
|
|
15002
|
+
"""
|
|
15003
|
+
@summary 妙笔:AI助手写作
|
|
15004
|
+
|
|
15005
|
+
@param request: RunAiHelperWritingRequest
|
|
15006
|
+
@return: RunAiHelperWritingResponse
|
|
15007
|
+
"""
|
|
15008
|
+
runtime = util_models.RuntimeOptions()
|
|
15009
|
+
return self.run_ai_helper_writing_with_options(request, runtime)
|
|
15010
|
+
|
|
15011
|
+
async def run_ai_helper_writing_async(
|
|
15012
|
+
self,
|
|
15013
|
+
request: ai_miao_bi_20230801_models.RunAiHelperWritingRequest,
|
|
15014
|
+
) -> ai_miao_bi_20230801_models.RunAiHelperWritingResponse:
|
|
15015
|
+
"""
|
|
15016
|
+
@summary 妙笔:AI助手写作
|
|
15017
|
+
|
|
15018
|
+
@param request: RunAiHelperWritingRequest
|
|
15019
|
+
@return: RunAiHelperWritingResponse
|
|
15020
|
+
"""
|
|
15021
|
+
runtime = util_models.RuntimeOptions()
|
|
15022
|
+
return await self.run_ai_helper_writing_with_options_async(request, runtime)
|
|
15023
|
+
|
|
14580
15024
|
def run_book_brainmap_with_options(
|
|
14581
15025
|
self,
|
|
14582
15026
|
request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
|
|
@@ -16977,6 +17421,106 @@ class Client(OpenApiClient):
|
|
|
16977
17421
|
runtime = util_models.RuntimeOptions()
|
|
16978
17422
|
return await self.run_multi_doc_introduction_with_options_async(request, runtime)
|
|
16979
17423
|
|
|
17424
|
+
def run_ppt_outline_generation_with_options(
|
|
17425
|
+
self,
|
|
17426
|
+
request: ai_miao_bi_20230801_models.RunPptOutlineGenerationRequest,
|
|
17427
|
+
runtime: util_models.RuntimeOptions,
|
|
17428
|
+
) -> ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse:
|
|
17429
|
+
"""
|
|
17430
|
+
@summary 流式输出PPT大纲
|
|
17431
|
+
|
|
17432
|
+
@param request: RunPptOutlineGenerationRequest
|
|
17433
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
17434
|
+
@return: RunPptOutlineGenerationResponse
|
|
17435
|
+
"""
|
|
17436
|
+
UtilClient.validate_model(request)
|
|
17437
|
+
body = {}
|
|
17438
|
+
if not UtilClient.is_unset(request.prompt):
|
|
17439
|
+
body['Prompt'] = request.prompt
|
|
17440
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
17441
|
+
body['WorkspaceId'] = request.workspace_id
|
|
17442
|
+
req = open_api_models.OpenApiRequest(
|
|
17443
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
17444
|
+
)
|
|
17445
|
+
params = open_api_models.Params(
|
|
17446
|
+
action='RunPptOutlineGeneration',
|
|
17447
|
+
version='2023-08-01',
|
|
17448
|
+
protocol='HTTPS',
|
|
17449
|
+
pathname='/',
|
|
17450
|
+
method='POST',
|
|
17451
|
+
auth_type='AK',
|
|
17452
|
+
style='RPC',
|
|
17453
|
+
req_body_type='formData',
|
|
17454
|
+
body_type='json'
|
|
17455
|
+
)
|
|
17456
|
+
return TeaCore.from_map(
|
|
17457
|
+
ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse(),
|
|
17458
|
+
self.call_api(params, req, runtime)
|
|
17459
|
+
)
|
|
17460
|
+
|
|
17461
|
+
async def run_ppt_outline_generation_with_options_async(
|
|
17462
|
+
self,
|
|
17463
|
+
request: ai_miao_bi_20230801_models.RunPptOutlineGenerationRequest,
|
|
17464
|
+
runtime: util_models.RuntimeOptions,
|
|
17465
|
+
) -> ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse:
|
|
17466
|
+
"""
|
|
17467
|
+
@summary 流式输出PPT大纲
|
|
17468
|
+
|
|
17469
|
+
@param request: RunPptOutlineGenerationRequest
|
|
17470
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
17471
|
+
@return: RunPptOutlineGenerationResponse
|
|
17472
|
+
"""
|
|
17473
|
+
UtilClient.validate_model(request)
|
|
17474
|
+
body = {}
|
|
17475
|
+
if not UtilClient.is_unset(request.prompt):
|
|
17476
|
+
body['Prompt'] = request.prompt
|
|
17477
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
17478
|
+
body['WorkspaceId'] = request.workspace_id
|
|
17479
|
+
req = open_api_models.OpenApiRequest(
|
|
17480
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
17481
|
+
)
|
|
17482
|
+
params = open_api_models.Params(
|
|
17483
|
+
action='RunPptOutlineGeneration',
|
|
17484
|
+
version='2023-08-01',
|
|
17485
|
+
protocol='HTTPS',
|
|
17486
|
+
pathname='/',
|
|
17487
|
+
method='POST',
|
|
17488
|
+
auth_type='AK',
|
|
17489
|
+
style='RPC',
|
|
17490
|
+
req_body_type='formData',
|
|
17491
|
+
body_type='json'
|
|
17492
|
+
)
|
|
17493
|
+
return TeaCore.from_map(
|
|
17494
|
+
ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse(),
|
|
17495
|
+
await self.call_api_async(params, req, runtime)
|
|
17496
|
+
)
|
|
17497
|
+
|
|
17498
|
+
def run_ppt_outline_generation(
|
|
17499
|
+
self,
|
|
17500
|
+
request: ai_miao_bi_20230801_models.RunPptOutlineGenerationRequest,
|
|
17501
|
+
) -> ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse:
|
|
17502
|
+
"""
|
|
17503
|
+
@summary 流式输出PPT大纲
|
|
17504
|
+
|
|
17505
|
+
@param request: RunPptOutlineGenerationRequest
|
|
17506
|
+
@return: RunPptOutlineGenerationResponse
|
|
17507
|
+
"""
|
|
17508
|
+
runtime = util_models.RuntimeOptions()
|
|
17509
|
+
return self.run_ppt_outline_generation_with_options(request, runtime)
|
|
17510
|
+
|
|
17511
|
+
async def run_ppt_outline_generation_async(
|
|
17512
|
+
self,
|
|
17513
|
+
request: ai_miao_bi_20230801_models.RunPptOutlineGenerationRequest,
|
|
17514
|
+
) -> ai_miao_bi_20230801_models.RunPptOutlineGenerationResponse:
|
|
17515
|
+
"""
|
|
17516
|
+
@summary 流式输出PPT大纲
|
|
17517
|
+
|
|
17518
|
+
@param request: RunPptOutlineGenerationRequest
|
|
17519
|
+
@return: RunPptOutlineGenerationResponse
|
|
17520
|
+
"""
|
|
17521
|
+
runtime = util_models.RuntimeOptions()
|
|
17522
|
+
return await self.run_ppt_outline_generation_with_options_async(request, runtime)
|
|
17523
|
+
|
|
16980
17524
|
def run_quick_writing_with_options(
|
|
16981
17525
|
self,
|
|
16982
17526
|
tmp_req: ai_miao_bi_20230801_models.RunQuickWritingRequest,
|