alibabacloud-aimiaobi20230801 1.37.3__py3-none-any.whl → 1.38.0__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.
@@ -1 +1 @@
1
- __version__ = '1.37.3'
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,
@@ -8817,6 +8921,102 @@ class Client(OpenApiClient):
8817
8921
  runtime = util_models.RuntimeOptions()
8818
8922
  return await self.get_material_by_id_with_options_async(request, runtime)
8819
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
+
8820
9020
  def get_properties_with_options(
8821
9021
  self,
8822
9022
  request: ai_miao_bi_20230801_models.GetPropertiesRequest,
@@ -9649,6 +9849,110 @@ class Client(OpenApiClient):
9649
9849
  runtime = util_models.RuntimeOptions()
9650
9850
  return await self.import_intervene_file_async_with_options_async(request, runtime)
9651
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
+
9652
9956
  def insert_intervene_global_reply_with_options(
9653
9957
  self,
9654
9958
  tmp_req: ai_miao_bi_20230801_models.InsertInterveneGlobalReplyRequest,
@@ -14589,6 +14893,134 @@ class Client(OpenApiClient):
14589
14893
  runtime = util_models.RuntimeOptions()
14590
14894
  return await self.run_abbreviation_content_with_options_async(request, runtime)
14591
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
+
14592
15024
  def run_book_brainmap_with_options(
14593
15025
  self,
14594
15026
  request: ai_miao_bi_20230801_models.RunBookBrainmapRequest,
@@ -16989,6 +17421,106 @@ class Client(OpenApiClient):
16989
17421
  runtime = util_models.RuntimeOptions()
16990
17422
  return await self.run_multi_doc_introduction_with_options_async(request, runtime)
16991
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
+
16992
17524
  def run_quick_writing_with_options(
16993
17525
  self,
16994
17526
  tmp_req: ai_miao_bi_20230801_models.RunQuickWritingRequest,