alibabacloud-aimiaobi20230801 1.23.1__tar.gz → 1.25.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.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/ChangeLog.md +10 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.25.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801/client.py +548 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801/models.py +1701 -416
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/setup.py +1 -1
- alibabacloud_aimiaobi20230801-1.23.1/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.23.1 → alibabacloud_aimiaobi20230801-1.25.0}/setup.cfg +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2025-05-14 Version: 1.24.0
|
|
2
|
+
- Support API CancelAuditTask.
|
|
3
|
+
- Support API QueryAuditTask.
|
|
4
|
+
- Support API SubmitAuditTask.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
2025-05-13 Version: 1.23.1
|
|
8
|
+
- Update API RunCustomHotTopicViewPointAnalysis: add response parameters Body.Payload.Output.Articles.
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
2025-05-12 Version: 1.23.0
|
|
2
12
|
- Support API GetStyleLearningResult.
|
|
3
13
|
- Support API ListWritingStyles.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.25.0'
|
|
@@ -261,6 +261,110 @@ class Client(OpenApiClient):
|
|
|
261
261
|
runtime = util_models.RuntimeOptions()
|
|
262
262
|
return await self.cancel_async_task_with_options_async(request, runtime)
|
|
263
263
|
|
|
264
|
+
def cancel_audit_task_with_options(
|
|
265
|
+
self,
|
|
266
|
+
request: ai_miao_bi_20230801_models.CancelAuditTaskRequest,
|
|
267
|
+
runtime: util_models.RuntimeOptions,
|
|
268
|
+
) -> ai_miao_bi_20230801_models.CancelAuditTaskResponse:
|
|
269
|
+
"""
|
|
270
|
+
@summary 取消审核任务
|
|
271
|
+
|
|
272
|
+
@param request: CancelAuditTaskRequest
|
|
273
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
274
|
+
@return: CancelAuditTaskResponse
|
|
275
|
+
"""
|
|
276
|
+
UtilClient.validate_model(request)
|
|
277
|
+
body = {}
|
|
278
|
+
if not UtilClient.is_unset(request.article_id):
|
|
279
|
+
body['ArticleId'] = request.article_id
|
|
280
|
+
if not UtilClient.is_unset(request.content_audit_task_id):
|
|
281
|
+
body['ContentAuditTaskId'] = request.content_audit_task_id
|
|
282
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
283
|
+
body['WorkspaceId'] = request.workspace_id
|
|
284
|
+
req = open_api_models.OpenApiRequest(
|
|
285
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
286
|
+
)
|
|
287
|
+
params = open_api_models.Params(
|
|
288
|
+
action='CancelAuditTask',
|
|
289
|
+
version='2023-08-01',
|
|
290
|
+
protocol='HTTPS',
|
|
291
|
+
pathname='/',
|
|
292
|
+
method='POST',
|
|
293
|
+
auth_type='AK',
|
|
294
|
+
style='RPC',
|
|
295
|
+
req_body_type='formData',
|
|
296
|
+
body_type='json'
|
|
297
|
+
)
|
|
298
|
+
return TeaCore.from_map(
|
|
299
|
+
ai_miao_bi_20230801_models.CancelAuditTaskResponse(),
|
|
300
|
+
self.call_api(params, req, runtime)
|
|
301
|
+
)
|
|
302
|
+
|
|
303
|
+
async def cancel_audit_task_with_options_async(
|
|
304
|
+
self,
|
|
305
|
+
request: ai_miao_bi_20230801_models.CancelAuditTaskRequest,
|
|
306
|
+
runtime: util_models.RuntimeOptions,
|
|
307
|
+
) -> ai_miao_bi_20230801_models.CancelAuditTaskResponse:
|
|
308
|
+
"""
|
|
309
|
+
@summary 取消审核任务
|
|
310
|
+
|
|
311
|
+
@param request: CancelAuditTaskRequest
|
|
312
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
313
|
+
@return: CancelAuditTaskResponse
|
|
314
|
+
"""
|
|
315
|
+
UtilClient.validate_model(request)
|
|
316
|
+
body = {}
|
|
317
|
+
if not UtilClient.is_unset(request.article_id):
|
|
318
|
+
body['ArticleId'] = request.article_id
|
|
319
|
+
if not UtilClient.is_unset(request.content_audit_task_id):
|
|
320
|
+
body['ContentAuditTaskId'] = request.content_audit_task_id
|
|
321
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
322
|
+
body['WorkspaceId'] = request.workspace_id
|
|
323
|
+
req = open_api_models.OpenApiRequest(
|
|
324
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
325
|
+
)
|
|
326
|
+
params = open_api_models.Params(
|
|
327
|
+
action='CancelAuditTask',
|
|
328
|
+
version='2023-08-01',
|
|
329
|
+
protocol='HTTPS',
|
|
330
|
+
pathname='/',
|
|
331
|
+
method='POST',
|
|
332
|
+
auth_type='AK',
|
|
333
|
+
style='RPC',
|
|
334
|
+
req_body_type='formData',
|
|
335
|
+
body_type='json'
|
|
336
|
+
)
|
|
337
|
+
return TeaCore.from_map(
|
|
338
|
+
ai_miao_bi_20230801_models.CancelAuditTaskResponse(),
|
|
339
|
+
await self.call_api_async(params, req, runtime)
|
|
340
|
+
)
|
|
341
|
+
|
|
342
|
+
def cancel_audit_task(
|
|
343
|
+
self,
|
|
344
|
+
request: ai_miao_bi_20230801_models.CancelAuditTaskRequest,
|
|
345
|
+
) -> ai_miao_bi_20230801_models.CancelAuditTaskResponse:
|
|
346
|
+
"""
|
|
347
|
+
@summary 取消审核任务
|
|
348
|
+
|
|
349
|
+
@param request: CancelAuditTaskRequest
|
|
350
|
+
@return: CancelAuditTaskResponse
|
|
351
|
+
"""
|
|
352
|
+
runtime = util_models.RuntimeOptions()
|
|
353
|
+
return self.cancel_audit_task_with_options(request, runtime)
|
|
354
|
+
|
|
355
|
+
async def cancel_audit_task_async(
|
|
356
|
+
self,
|
|
357
|
+
request: ai_miao_bi_20230801_models.CancelAuditTaskRequest,
|
|
358
|
+
) -> ai_miao_bi_20230801_models.CancelAuditTaskResponse:
|
|
359
|
+
"""
|
|
360
|
+
@summary 取消审核任务
|
|
361
|
+
|
|
362
|
+
@param request: CancelAuditTaskRequest
|
|
363
|
+
@return: CancelAuditTaskResponse
|
|
364
|
+
"""
|
|
365
|
+
runtime = util_models.RuntimeOptions()
|
|
366
|
+
return await self.cancel_audit_task_with_options_async(request, runtime)
|
|
367
|
+
|
|
264
368
|
def clear_intervenes_with_options(
|
|
265
369
|
self,
|
|
266
370
|
request: ai_miao_bi_20230801_models.ClearIntervenesRequest,
|
|
@@ -3989,6 +4093,110 @@ class Client(OpenApiClient):
|
|
|
3989
4093
|
runtime = util_models.RuntimeOptions()
|
|
3990
4094
|
return await self.get_enterprise_voc_analysis_task_with_options_async(request, runtime)
|
|
3991
4095
|
|
|
4096
|
+
def get_file_content_length_with_options(
|
|
4097
|
+
self,
|
|
4098
|
+
request: ai_miao_bi_20230801_models.GetFileContentLengthRequest,
|
|
4099
|
+
runtime: util_models.RuntimeOptions,
|
|
4100
|
+
) -> ai_miao_bi_20230801_models.GetFileContentLengthResponse:
|
|
4101
|
+
"""
|
|
4102
|
+
@summary 妙读获得文档字数
|
|
4103
|
+
|
|
4104
|
+
@param request: GetFileContentLengthRequest
|
|
4105
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4106
|
+
@return: GetFileContentLengthResponse
|
|
4107
|
+
"""
|
|
4108
|
+
UtilClient.validate_model(request)
|
|
4109
|
+
body = {}
|
|
4110
|
+
if not UtilClient.is_unset(request.doc_name):
|
|
4111
|
+
body['DocName'] = request.doc_name
|
|
4112
|
+
if not UtilClient.is_unset(request.file_url):
|
|
4113
|
+
body['FileUrl'] = request.file_url
|
|
4114
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
4115
|
+
body['WorkspaceId'] = request.workspace_id
|
|
4116
|
+
req = open_api_models.OpenApiRequest(
|
|
4117
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4118
|
+
)
|
|
4119
|
+
params = open_api_models.Params(
|
|
4120
|
+
action='GetFileContentLength',
|
|
4121
|
+
version='2023-08-01',
|
|
4122
|
+
protocol='HTTPS',
|
|
4123
|
+
pathname='/',
|
|
4124
|
+
method='POST',
|
|
4125
|
+
auth_type='AK',
|
|
4126
|
+
style='RPC',
|
|
4127
|
+
req_body_type='formData',
|
|
4128
|
+
body_type='json'
|
|
4129
|
+
)
|
|
4130
|
+
return TeaCore.from_map(
|
|
4131
|
+
ai_miao_bi_20230801_models.GetFileContentLengthResponse(),
|
|
4132
|
+
self.call_api(params, req, runtime)
|
|
4133
|
+
)
|
|
4134
|
+
|
|
4135
|
+
async def get_file_content_length_with_options_async(
|
|
4136
|
+
self,
|
|
4137
|
+
request: ai_miao_bi_20230801_models.GetFileContentLengthRequest,
|
|
4138
|
+
runtime: util_models.RuntimeOptions,
|
|
4139
|
+
) -> ai_miao_bi_20230801_models.GetFileContentLengthResponse:
|
|
4140
|
+
"""
|
|
4141
|
+
@summary 妙读获得文档字数
|
|
4142
|
+
|
|
4143
|
+
@param request: GetFileContentLengthRequest
|
|
4144
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4145
|
+
@return: GetFileContentLengthResponse
|
|
4146
|
+
"""
|
|
4147
|
+
UtilClient.validate_model(request)
|
|
4148
|
+
body = {}
|
|
4149
|
+
if not UtilClient.is_unset(request.doc_name):
|
|
4150
|
+
body['DocName'] = request.doc_name
|
|
4151
|
+
if not UtilClient.is_unset(request.file_url):
|
|
4152
|
+
body['FileUrl'] = request.file_url
|
|
4153
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
4154
|
+
body['WorkspaceId'] = request.workspace_id
|
|
4155
|
+
req = open_api_models.OpenApiRequest(
|
|
4156
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4157
|
+
)
|
|
4158
|
+
params = open_api_models.Params(
|
|
4159
|
+
action='GetFileContentLength',
|
|
4160
|
+
version='2023-08-01',
|
|
4161
|
+
protocol='HTTPS',
|
|
4162
|
+
pathname='/',
|
|
4163
|
+
method='POST',
|
|
4164
|
+
auth_type='AK',
|
|
4165
|
+
style='RPC',
|
|
4166
|
+
req_body_type='formData',
|
|
4167
|
+
body_type='json'
|
|
4168
|
+
)
|
|
4169
|
+
return TeaCore.from_map(
|
|
4170
|
+
ai_miao_bi_20230801_models.GetFileContentLengthResponse(),
|
|
4171
|
+
await self.call_api_async(params, req, runtime)
|
|
4172
|
+
)
|
|
4173
|
+
|
|
4174
|
+
def get_file_content_length(
|
|
4175
|
+
self,
|
|
4176
|
+
request: ai_miao_bi_20230801_models.GetFileContentLengthRequest,
|
|
4177
|
+
) -> ai_miao_bi_20230801_models.GetFileContentLengthResponse:
|
|
4178
|
+
"""
|
|
4179
|
+
@summary 妙读获得文档字数
|
|
4180
|
+
|
|
4181
|
+
@param request: GetFileContentLengthRequest
|
|
4182
|
+
@return: GetFileContentLengthResponse
|
|
4183
|
+
"""
|
|
4184
|
+
runtime = util_models.RuntimeOptions()
|
|
4185
|
+
return self.get_file_content_length_with_options(request, runtime)
|
|
4186
|
+
|
|
4187
|
+
async def get_file_content_length_async(
|
|
4188
|
+
self,
|
|
4189
|
+
request: ai_miao_bi_20230801_models.GetFileContentLengthRequest,
|
|
4190
|
+
) -> ai_miao_bi_20230801_models.GetFileContentLengthResponse:
|
|
4191
|
+
"""
|
|
4192
|
+
@summary 妙读获得文档字数
|
|
4193
|
+
|
|
4194
|
+
@param request: GetFileContentLengthRequest
|
|
4195
|
+
@return: GetFileContentLengthResponse
|
|
4196
|
+
"""
|
|
4197
|
+
runtime = util_models.RuntimeOptions()
|
|
4198
|
+
return await self.get_file_content_length_with_options_async(request, runtime)
|
|
4199
|
+
|
|
3992
4200
|
def get_generated_content_with_options(
|
|
3993
4201
|
self,
|
|
3994
4202
|
request: ai_miao_bi_20230801_models.GetGeneratedContentRequest,
|
|
@@ -9625,6 +9833,110 @@ class Client(OpenApiClient):
|
|
|
9625
9833
|
runtime = util_models.RuntimeOptions()
|
|
9626
9834
|
return await self.query_async_task_with_options_async(request, runtime)
|
|
9627
9835
|
|
|
9836
|
+
def query_audit_task_with_options(
|
|
9837
|
+
self,
|
|
9838
|
+
request: ai_miao_bi_20230801_models.QueryAuditTaskRequest,
|
|
9839
|
+
runtime: util_models.RuntimeOptions,
|
|
9840
|
+
) -> ai_miao_bi_20230801_models.QueryAuditTaskResponse:
|
|
9841
|
+
"""
|
|
9842
|
+
@summary 查询审核结果
|
|
9843
|
+
|
|
9844
|
+
@param request: QueryAuditTaskRequest
|
|
9845
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
9846
|
+
@return: QueryAuditTaskResponse
|
|
9847
|
+
"""
|
|
9848
|
+
UtilClient.validate_model(request)
|
|
9849
|
+
body = {}
|
|
9850
|
+
if not UtilClient.is_unset(request.article_id):
|
|
9851
|
+
body['ArticleId'] = request.article_id
|
|
9852
|
+
if not UtilClient.is_unset(request.content_audit_task_id):
|
|
9853
|
+
body['ContentAuditTaskId'] = request.content_audit_task_id
|
|
9854
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
9855
|
+
body['WorkspaceId'] = request.workspace_id
|
|
9856
|
+
req = open_api_models.OpenApiRequest(
|
|
9857
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
9858
|
+
)
|
|
9859
|
+
params = open_api_models.Params(
|
|
9860
|
+
action='QueryAuditTask',
|
|
9861
|
+
version='2023-08-01',
|
|
9862
|
+
protocol='HTTPS',
|
|
9863
|
+
pathname='/',
|
|
9864
|
+
method='POST',
|
|
9865
|
+
auth_type='AK',
|
|
9866
|
+
style='RPC',
|
|
9867
|
+
req_body_type='formData',
|
|
9868
|
+
body_type='json'
|
|
9869
|
+
)
|
|
9870
|
+
return TeaCore.from_map(
|
|
9871
|
+
ai_miao_bi_20230801_models.QueryAuditTaskResponse(),
|
|
9872
|
+
self.call_api(params, req, runtime)
|
|
9873
|
+
)
|
|
9874
|
+
|
|
9875
|
+
async def query_audit_task_with_options_async(
|
|
9876
|
+
self,
|
|
9877
|
+
request: ai_miao_bi_20230801_models.QueryAuditTaskRequest,
|
|
9878
|
+
runtime: util_models.RuntimeOptions,
|
|
9879
|
+
) -> ai_miao_bi_20230801_models.QueryAuditTaskResponse:
|
|
9880
|
+
"""
|
|
9881
|
+
@summary 查询审核结果
|
|
9882
|
+
|
|
9883
|
+
@param request: QueryAuditTaskRequest
|
|
9884
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
9885
|
+
@return: QueryAuditTaskResponse
|
|
9886
|
+
"""
|
|
9887
|
+
UtilClient.validate_model(request)
|
|
9888
|
+
body = {}
|
|
9889
|
+
if not UtilClient.is_unset(request.article_id):
|
|
9890
|
+
body['ArticleId'] = request.article_id
|
|
9891
|
+
if not UtilClient.is_unset(request.content_audit_task_id):
|
|
9892
|
+
body['ContentAuditTaskId'] = request.content_audit_task_id
|
|
9893
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
9894
|
+
body['WorkspaceId'] = request.workspace_id
|
|
9895
|
+
req = open_api_models.OpenApiRequest(
|
|
9896
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
9897
|
+
)
|
|
9898
|
+
params = open_api_models.Params(
|
|
9899
|
+
action='QueryAuditTask',
|
|
9900
|
+
version='2023-08-01',
|
|
9901
|
+
protocol='HTTPS',
|
|
9902
|
+
pathname='/',
|
|
9903
|
+
method='POST',
|
|
9904
|
+
auth_type='AK',
|
|
9905
|
+
style='RPC',
|
|
9906
|
+
req_body_type='formData',
|
|
9907
|
+
body_type='json'
|
|
9908
|
+
)
|
|
9909
|
+
return TeaCore.from_map(
|
|
9910
|
+
ai_miao_bi_20230801_models.QueryAuditTaskResponse(),
|
|
9911
|
+
await self.call_api_async(params, req, runtime)
|
|
9912
|
+
)
|
|
9913
|
+
|
|
9914
|
+
def query_audit_task(
|
|
9915
|
+
self,
|
|
9916
|
+
request: ai_miao_bi_20230801_models.QueryAuditTaskRequest,
|
|
9917
|
+
) -> ai_miao_bi_20230801_models.QueryAuditTaskResponse:
|
|
9918
|
+
"""
|
|
9919
|
+
@summary 查询审核结果
|
|
9920
|
+
|
|
9921
|
+
@param request: QueryAuditTaskRequest
|
|
9922
|
+
@return: QueryAuditTaskResponse
|
|
9923
|
+
"""
|
|
9924
|
+
runtime = util_models.RuntimeOptions()
|
|
9925
|
+
return self.query_audit_task_with_options(request, runtime)
|
|
9926
|
+
|
|
9927
|
+
async def query_audit_task_async(
|
|
9928
|
+
self,
|
|
9929
|
+
request: ai_miao_bi_20230801_models.QueryAuditTaskRequest,
|
|
9930
|
+
) -> ai_miao_bi_20230801_models.QueryAuditTaskResponse:
|
|
9931
|
+
"""
|
|
9932
|
+
@summary 查询审核结果
|
|
9933
|
+
|
|
9934
|
+
@param request: QueryAuditTaskRequest
|
|
9935
|
+
@return: QueryAuditTaskResponse
|
|
9936
|
+
"""
|
|
9937
|
+
runtime = util_models.RuntimeOptions()
|
|
9938
|
+
return await self.query_audit_task_with_options_async(request, runtime)
|
|
9939
|
+
|
|
9628
9940
|
def run_abbreviation_content_with_options(
|
|
9629
9941
|
self,
|
|
9630
9942
|
request: ai_miao_bi_20230801_models.RunAbbreviationContentRequest,
|
|
@@ -9725,6 +10037,126 @@ class Client(OpenApiClient):
|
|
|
9725
10037
|
runtime = util_models.RuntimeOptions()
|
|
9726
10038
|
return await self.run_abbreviation_content_with_options_async(request, runtime)
|
|
9727
10039
|
|
|
10040
|
+
def run_book_brainmap_with_options(
|
|
10041
|
+
self,
|
|
10042
|
+
request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
|
|
10043
|
+
runtime: util_models.RuntimeOptions,
|
|
10044
|
+
) -> ai_miao_bi_20230801_models.RunBookBrainmapResponse:
|
|
10045
|
+
"""
|
|
10046
|
+
@summary 妙读生成书籍脑图
|
|
10047
|
+
|
|
10048
|
+
@param request: RunBookBrainmapRequest
|
|
10049
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10050
|
+
@return: RunBookBrainmapResponse
|
|
10051
|
+
"""
|
|
10052
|
+
UtilClient.validate_model(request)
|
|
10053
|
+
body = {}
|
|
10054
|
+
if not UtilClient.is_unset(request.clean_cache):
|
|
10055
|
+
body['CleanCache'] = request.clean_cache
|
|
10056
|
+
if not UtilClient.is_unset(request.doc_id):
|
|
10057
|
+
body['DocId'] = request.doc_id
|
|
10058
|
+
if not UtilClient.is_unset(request.node_number):
|
|
10059
|
+
body['NodeNumber'] = request.node_number
|
|
10060
|
+
if not UtilClient.is_unset(request.prompt):
|
|
10061
|
+
body['Prompt'] = request.prompt
|
|
10062
|
+
if not UtilClient.is_unset(request.session_id):
|
|
10063
|
+
body['SessionId'] = request.session_id
|
|
10064
|
+
if not UtilClient.is_unset(request.word_number):
|
|
10065
|
+
body['WordNumber'] = request.word_number
|
|
10066
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10067
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10068
|
+
req = open_api_models.OpenApiRequest(
|
|
10069
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10070
|
+
)
|
|
10071
|
+
params = open_api_models.Params(
|
|
10072
|
+
action='RunBookBrainmap',
|
|
10073
|
+
version='2023-08-01',
|
|
10074
|
+
protocol='HTTPS',
|
|
10075
|
+
pathname='/',
|
|
10076
|
+
method='POST',
|
|
10077
|
+
auth_type='AK',
|
|
10078
|
+
style='RPC',
|
|
10079
|
+
req_body_type='formData',
|
|
10080
|
+
body_type='json'
|
|
10081
|
+
)
|
|
10082
|
+
return TeaCore.from_map(
|
|
10083
|
+
ai_miao_bi_20230801_models.RunBookBrainmapResponse(),
|
|
10084
|
+
self.call_api(params, req, runtime)
|
|
10085
|
+
)
|
|
10086
|
+
|
|
10087
|
+
async def run_book_brainmap_with_options_async(
|
|
10088
|
+
self,
|
|
10089
|
+
request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
|
|
10090
|
+
runtime: util_models.RuntimeOptions,
|
|
10091
|
+
) -> ai_miao_bi_20230801_models.RunBookBrainmapResponse:
|
|
10092
|
+
"""
|
|
10093
|
+
@summary 妙读生成书籍脑图
|
|
10094
|
+
|
|
10095
|
+
@param request: RunBookBrainmapRequest
|
|
10096
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10097
|
+
@return: RunBookBrainmapResponse
|
|
10098
|
+
"""
|
|
10099
|
+
UtilClient.validate_model(request)
|
|
10100
|
+
body = {}
|
|
10101
|
+
if not UtilClient.is_unset(request.clean_cache):
|
|
10102
|
+
body['CleanCache'] = request.clean_cache
|
|
10103
|
+
if not UtilClient.is_unset(request.doc_id):
|
|
10104
|
+
body['DocId'] = request.doc_id
|
|
10105
|
+
if not UtilClient.is_unset(request.node_number):
|
|
10106
|
+
body['NodeNumber'] = request.node_number
|
|
10107
|
+
if not UtilClient.is_unset(request.prompt):
|
|
10108
|
+
body['Prompt'] = request.prompt
|
|
10109
|
+
if not UtilClient.is_unset(request.session_id):
|
|
10110
|
+
body['SessionId'] = request.session_id
|
|
10111
|
+
if not UtilClient.is_unset(request.word_number):
|
|
10112
|
+
body['WordNumber'] = request.word_number
|
|
10113
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10114
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10115
|
+
req = open_api_models.OpenApiRequest(
|
|
10116
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10117
|
+
)
|
|
10118
|
+
params = open_api_models.Params(
|
|
10119
|
+
action='RunBookBrainmap',
|
|
10120
|
+
version='2023-08-01',
|
|
10121
|
+
protocol='HTTPS',
|
|
10122
|
+
pathname='/',
|
|
10123
|
+
method='POST',
|
|
10124
|
+
auth_type='AK',
|
|
10125
|
+
style='RPC',
|
|
10126
|
+
req_body_type='formData',
|
|
10127
|
+
body_type='json'
|
|
10128
|
+
)
|
|
10129
|
+
return TeaCore.from_map(
|
|
10130
|
+
ai_miao_bi_20230801_models.RunBookBrainmapResponse(),
|
|
10131
|
+
await self.call_api_async(params, req, runtime)
|
|
10132
|
+
)
|
|
10133
|
+
|
|
10134
|
+
def run_book_brainmap(
|
|
10135
|
+
self,
|
|
10136
|
+
request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
|
|
10137
|
+
) -> ai_miao_bi_20230801_models.RunBookBrainmapResponse:
|
|
10138
|
+
"""
|
|
10139
|
+
@summary 妙读生成书籍脑图
|
|
10140
|
+
|
|
10141
|
+
@param request: RunBookBrainmapRequest
|
|
10142
|
+
@return: RunBookBrainmapResponse
|
|
10143
|
+
"""
|
|
10144
|
+
runtime = util_models.RuntimeOptions()
|
|
10145
|
+
return self.run_book_brainmap_with_options(request, runtime)
|
|
10146
|
+
|
|
10147
|
+
async def run_book_brainmap_async(
|
|
10148
|
+
self,
|
|
10149
|
+
request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
|
|
10150
|
+
) -> ai_miao_bi_20230801_models.RunBookBrainmapResponse:
|
|
10151
|
+
"""
|
|
10152
|
+
@summary 妙读生成书籍脑图
|
|
10153
|
+
|
|
10154
|
+
@param request: RunBookBrainmapRequest
|
|
10155
|
+
@return: RunBookBrainmapResponse
|
|
10156
|
+
"""
|
|
10157
|
+
runtime = util_models.RuntimeOptions()
|
|
10158
|
+
return await self.run_book_brainmap_with_options_async(request, runtime)
|
|
10159
|
+
|
|
9728
10160
|
def run_book_introduction_with_options(
|
|
9729
10161
|
self,
|
|
9730
10162
|
request: ai_miao_bi_20230801_models.RunBookIntroductionRequest,
|
|
@@ -10849,6 +11281,8 @@ class Client(OpenApiClient):
|
|
|
10849
11281
|
body = {}
|
|
10850
11282
|
if not UtilClient.is_unset(request.doc_id):
|
|
10851
11283
|
body['DocId'] = request.doc_id
|
|
11284
|
+
if not UtilClient.is_unset(request.prompt):
|
|
11285
|
+
body['Prompt'] = request.prompt
|
|
10852
11286
|
if not UtilClient.is_unset(request.session_id):
|
|
10853
11287
|
body['SessionId'] = request.session_id
|
|
10854
11288
|
if not UtilClient.is_unset(request.workspace_id):
|
|
@@ -10888,6 +11322,8 @@ class Client(OpenApiClient):
|
|
|
10888
11322
|
body = {}
|
|
10889
11323
|
if not UtilClient.is_unset(request.doc_id):
|
|
10890
11324
|
body['DocId'] = request.doc_id
|
|
11325
|
+
if not UtilClient.is_unset(request.prompt):
|
|
11326
|
+
body['Prompt'] = request.prompt
|
|
10891
11327
|
if not UtilClient.is_unset(request.session_id):
|
|
10892
11328
|
body['SessionId'] = request.session_id
|
|
10893
11329
|
if not UtilClient.is_unset(request.workspace_id):
|
|
@@ -14133,6 +14569,118 @@ class Client(OpenApiClient):
|
|
|
14133
14569
|
runtime = util_models.RuntimeOptions()
|
|
14134
14570
|
return await self.submit_async_task_with_options_async(request, runtime)
|
|
14135
14571
|
|
|
14572
|
+
def submit_audit_task_with_options(
|
|
14573
|
+
self,
|
|
14574
|
+
request: ai_miao_bi_20230801_models.SubmitAuditTaskRequest,
|
|
14575
|
+
runtime: util_models.RuntimeOptions,
|
|
14576
|
+
) -> ai_miao_bi_20230801_models.SubmitAuditTaskResponse:
|
|
14577
|
+
"""
|
|
14578
|
+
@summary 提交审核任务
|
|
14579
|
+
|
|
14580
|
+
@param request: SubmitAuditTaskRequest
|
|
14581
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14582
|
+
@return: SubmitAuditTaskResponse
|
|
14583
|
+
"""
|
|
14584
|
+
UtilClient.validate_model(request)
|
|
14585
|
+
body = {}
|
|
14586
|
+
if not UtilClient.is_unset(request.article_id):
|
|
14587
|
+
body['ArticleId'] = request.article_id
|
|
14588
|
+
if not UtilClient.is_unset(request.content):
|
|
14589
|
+
body['Content'] = request.content
|
|
14590
|
+
if not UtilClient.is_unset(request.html_content):
|
|
14591
|
+
body['HtmlContent'] = request.html_content
|
|
14592
|
+
if not UtilClient.is_unset(request.title):
|
|
14593
|
+
body['Title'] = request.title
|
|
14594
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
14595
|
+
body['WorkspaceId'] = request.workspace_id
|
|
14596
|
+
req = open_api_models.OpenApiRequest(
|
|
14597
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14598
|
+
)
|
|
14599
|
+
params = open_api_models.Params(
|
|
14600
|
+
action='SubmitAuditTask',
|
|
14601
|
+
version='2023-08-01',
|
|
14602
|
+
protocol='HTTPS',
|
|
14603
|
+
pathname='/',
|
|
14604
|
+
method='POST',
|
|
14605
|
+
auth_type='AK',
|
|
14606
|
+
style='RPC',
|
|
14607
|
+
req_body_type='formData',
|
|
14608
|
+
body_type='json'
|
|
14609
|
+
)
|
|
14610
|
+
return TeaCore.from_map(
|
|
14611
|
+
ai_miao_bi_20230801_models.SubmitAuditTaskResponse(),
|
|
14612
|
+
self.call_api(params, req, runtime)
|
|
14613
|
+
)
|
|
14614
|
+
|
|
14615
|
+
async def submit_audit_task_with_options_async(
|
|
14616
|
+
self,
|
|
14617
|
+
request: ai_miao_bi_20230801_models.SubmitAuditTaskRequest,
|
|
14618
|
+
runtime: util_models.RuntimeOptions,
|
|
14619
|
+
) -> ai_miao_bi_20230801_models.SubmitAuditTaskResponse:
|
|
14620
|
+
"""
|
|
14621
|
+
@summary 提交审核任务
|
|
14622
|
+
|
|
14623
|
+
@param request: SubmitAuditTaskRequest
|
|
14624
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
14625
|
+
@return: SubmitAuditTaskResponse
|
|
14626
|
+
"""
|
|
14627
|
+
UtilClient.validate_model(request)
|
|
14628
|
+
body = {}
|
|
14629
|
+
if not UtilClient.is_unset(request.article_id):
|
|
14630
|
+
body['ArticleId'] = request.article_id
|
|
14631
|
+
if not UtilClient.is_unset(request.content):
|
|
14632
|
+
body['Content'] = request.content
|
|
14633
|
+
if not UtilClient.is_unset(request.html_content):
|
|
14634
|
+
body['HtmlContent'] = request.html_content
|
|
14635
|
+
if not UtilClient.is_unset(request.title):
|
|
14636
|
+
body['Title'] = request.title
|
|
14637
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
14638
|
+
body['WorkspaceId'] = request.workspace_id
|
|
14639
|
+
req = open_api_models.OpenApiRequest(
|
|
14640
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
14641
|
+
)
|
|
14642
|
+
params = open_api_models.Params(
|
|
14643
|
+
action='SubmitAuditTask',
|
|
14644
|
+
version='2023-08-01',
|
|
14645
|
+
protocol='HTTPS',
|
|
14646
|
+
pathname='/',
|
|
14647
|
+
method='POST',
|
|
14648
|
+
auth_type='AK',
|
|
14649
|
+
style='RPC',
|
|
14650
|
+
req_body_type='formData',
|
|
14651
|
+
body_type='json'
|
|
14652
|
+
)
|
|
14653
|
+
return TeaCore.from_map(
|
|
14654
|
+
ai_miao_bi_20230801_models.SubmitAuditTaskResponse(),
|
|
14655
|
+
await self.call_api_async(params, req, runtime)
|
|
14656
|
+
)
|
|
14657
|
+
|
|
14658
|
+
def submit_audit_task(
|
|
14659
|
+
self,
|
|
14660
|
+
request: ai_miao_bi_20230801_models.SubmitAuditTaskRequest,
|
|
14661
|
+
) -> ai_miao_bi_20230801_models.SubmitAuditTaskResponse:
|
|
14662
|
+
"""
|
|
14663
|
+
@summary 提交审核任务
|
|
14664
|
+
|
|
14665
|
+
@param request: SubmitAuditTaskRequest
|
|
14666
|
+
@return: SubmitAuditTaskResponse
|
|
14667
|
+
"""
|
|
14668
|
+
runtime = util_models.RuntimeOptions()
|
|
14669
|
+
return self.submit_audit_task_with_options(request, runtime)
|
|
14670
|
+
|
|
14671
|
+
async def submit_audit_task_async(
|
|
14672
|
+
self,
|
|
14673
|
+
request: ai_miao_bi_20230801_models.SubmitAuditTaskRequest,
|
|
14674
|
+
) -> ai_miao_bi_20230801_models.SubmitAuditTaskResponse:
|
|
14675
|
+
"""
|
|
14676
|
+
@summary 提交审核任务
|
|
14677
|
+
|
|
14678
|
+
@param request: SubmitAuditTaskRequest
|
|
14679
|
+
@return: SubmitAuditTaskResponse
|
|
14680
|
+
"""
|
|
14681
|
+
runtime = util_models.RuntimeOptions()
|
|
14682
|
+
return await self.submit_audit_task_with_options_async(request, runtime)
|
|
14683
|
+
|
|
14136
14684
|
def submit_custom_hot_topic_broadcast_job_with_options(
|
|
14137
14685
|
self,
|
|
14138
14686
|
tmp_req: ai_miao_bi_20230801_models.SubmitCustomHotTopicBroadcastJobRequest,
|