alibabacloud-aimiaobi20230801 1.26.5__tar.gz → 1.28.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.
Files changed (17) hide show
  1. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/ChangeLog.md +16 -0
  2. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/PKG-INFO +1 -1
  3. alibabacloud_aimiaobi20230801-1.28.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
  4. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801/client.py +528 -0
  5. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801/models.py +1125 -58
  6. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +1 -1
  8. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/setup.py +2 -2
  9. alibabacloud_aimiaobi20230801-1.26.5/alibabacloud_aimiaobi20230801/__init__.py +0 -1
  10. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/LICENSE +0 -0
  11. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/MANIFEST.in +0 -0
  12. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/README-CN.md +0 -0
  13. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/README.md +0 -0
  14. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
  15. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
  16. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
  17. {alibabacloud_aimiaobi20230801-1.26.5 → alibabacloud_aimiaobi20230801-1.28.0}/setup.cfg +0 -0
@@ -1,3 +1,19 @@
1
+ 2025-06-12 Version: 1.27.0
2
+ - Support API ExportCustomSourceAnalysisTask.
3
+ - Support API GetCustomSourceTopicAnalysisTask.
4
+ - Support API SubmitCustomSourceTopicAnalysis.
5
+
6
+
7
+ 2025-06-09 Version: 1.26.5
8
+ - Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.PubTime.
9
+ - Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.Url.
10
+
11
+
12
+ 2025-06-09 Version: 1.26.5
13
+ - Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.PubTime.
14
+ - Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.Url.
15
+
16
+
1
17
  2025-06-05 Version: 1.26.4
2
18
  - Update API GetProperties: add response parameters Body.Data.MiaosouConfig.
3
19
  - Update API RunSearchGeneration: add request parameters ChatConfig.EnableThinking.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_aimiaobi20230801
3
- Version: 1.26.5
3
+ Version: 1.28.0
4
4
  Summary: Alibaba Cloud AiMiaoBi (20230801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -2113,6 +2113,106 @@ class Client(OpenApiClient):
2113
2113
  runtime = util_models.RuntimeOptions()
2114
2114
  return await self.export_analysis_tag_detail_by_task_id_with_options_async(request, runtime)
2115
2115
 
2116
+ def export_custom_source_analysis_task_with_options(
2117
+ self,
2118
+ request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
2119
+ runtime: util_models.RuntimeOptions,
2120
+ ) -> ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse:
2121
+ """
2122
+ @summary 导出-自定义数据源-选题视角分析任务结果
2123
+
2124
+ @param request: ExportCustomSourceAnalysisTaskRequest
2125
+ @param runtime: runtime options for this request RuntimeOptions
2126
+ @return: ExportCustomSourceAnalysisTaskResponse
2127
+ """
2128
+ UtilClient.validate_model(request)
2129
+ body = {}
2130
+ if not UtilClient.is_unset(request.task_id):
2131
+ body['TaskId'] = request.task_id
2132
+ if not UtilClient.is_unset(request.workspace_id):
2133
+ body['WorkspaceId'] = request.workspace_id
2134
+ req = open_api_models.OpenApiRequest(
2135
+ body=OpenApiUtilClient.parse_to_map(body)
2136
+ )
2137
+ params = open_api_models.Params(
2138
+ action='ExportCustomSourceAnalysisTask',
2139
+ version='2023-08-01',
2140
+ protocol='HTTPS',
2141
+ pathname='/',
2142
+ method='POST',
2143
+ auth_type='AK',
2144
+ style='RPC',
2145
+ req_body_type='formData',
2146
+ body_type='json'
2147
+ )
2148
+ return TeaCore.from_map(
2149
+ ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse(),
2150
+ self.call_api(params, req, runtime)
2151
+ )
2152
+
2153
+ async def export_custom_source_analysis_task_with_options_async(
2154
+ self,
2155
+ request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
2156
+ runtime: util_models.RuntimeOptions,
2157
+ ) -> ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse:
2158
+ """
2159
+ @summary 导出-自定义数据源-选题视角分析任务结果
2160
+
2161
+ @param request: ExportCustomSourceAnalysisTaskRequest
2162
+ @param runtime: runtime options for this request RuntimeOptions
2163
+ @return: ExportCustomSourceAnalysisTaskResponse
2164
+ """
2165
+ UtilClient.validate_model(request)
2166
+ body = {}
2167
+ if not UtilClient.is_unset(request.task_id):
2168
+ body['TaskId'] = request.task_id
2169
+ if not UtilClient.is_unset(request.workspace_id):
2170
+ body['WorkspaceId'] = request.workspace_id
2171
+ req = open_api_models.OpenApiRequest(
2172
+ body=OpenApiUtilClient.parse_to_map(body)
2173
+ )
2174
+ params = open_api_models.Params(
2175
+ action='ExportCustomSourceAnalysisTask',
2176
+ version='2023-08-01',
2177
+ protocol='HTTPS',
2178
+ pathname='/',
2179
+ method='POST',
2180
+ auth_type='AK',
2181
+ style='RPC',
2182
+ req_body_type='formData',
2183
+ body_type='json'
2184
+ )
2185
+ return TeaCore.from_map(
2186
+ ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse(),
2187
+ await self.call_api_async(params, req, runtime)
2188
+ )
2189
+
2190
+ def export_custom_source_analysis_task(
2191
+ self,
2192
+ request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
2193
+ ) -> ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse:
2194
+ """
2195
+ @summary 导出-自定义数据源-选题视角分析任务结果
2196
+
2197
+ @param request: ExportCustomSourceAnalysisTaskRequest
2198
+ @return: ExportCustomSourceAnalysisTaskResponse
2199
+ """
2200
+ runtime = util_models.RuntimeOptions()
2201
+ return self.export_custom_source_analysis_task_with_options(request, runtime)
2202
+
2203
+ async def export_custom_source_analysis_task_async(
2204
+ self,
2205
+ request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
2206
+ ) -> ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskResponse:
2207
+ """
2208
+ @summary 导出-自定义数据源-选题视角分析任务结果
2209
+
2210
+ @param request: ExportCustomSourceAnalysisTaskRequest
2211
+ @return: ExportCustomSourceAnalysisTaskResponse
2212
+ """
2213
+ runtime = util_models.RuntimeOptions()
2214
+ return await self.export_custom_source_analysis_task_with_options_async(request, runtime)
2215
+
2116
2216
  def export_generated_content_with_options(
2117
2217
  self,
2118
2218
  request: ai_miao_bi_20230801_models.ExportGeneratedContentRequest,
@@ -2585,6 +2685,110 @@ class Client(OpenApiClient):
2585
2685
  runtime = util_models.RuntimeOptions()
2586
2686
  return await self.feedback_dialogue_with_options_async(request, runtime)
2587
2687
 
2688
+ def fetch_export_word_task_with_options(
2689
+ self,
2690
+ request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
2691
+ runtime: util_models.RuntimeOptions,
2692
+ ) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
2693
+ """
2694
+ @summary 获取异步导出文档任务结果
2695
+
2696
+ @param request: FetchExportWordTaskRequest
2697
+ @param runtime: runtime options for this request RuntimeOptions
2698
+ @return: FetchExportWordTaskResponse
2699
+ """
2700
+ UtilClient.validate_model(request)
2701
+ query = {}
2702
+ if not UtilClient.is_unset(request.agent_key):
2703
+ query['AgentKey'] = request.agent_key
2704
+ body = {}
2705
+ if not UtilClient.is_unset(request.task_id):
2706
+ body['TaskId'] = request.task_id
2707
+ req = open_api_models.OpenApiRequest(
2708
+ query=OpenApiUtilClient.query(query),
2709
+ body=OpenApiUtilClient.parse_to_map(body)
2710
+ )
2711
+ params = open_api_models.Params(
2712
+ action='FetchExportWordTask',
2713
+ version='2023-08-01',
2714
+ protocol='HTTPS',
2715
+ pathname='/',
2716
+ method='POST',
2717
+ auth_type='AK',
2718
+ style='RPC',
2719
+ req_body_type='formData',
2720
+ body_type='json'
2721
+ )
2722
+ return TeaCore.from_map(
2723
+ ai_miao_bi_20230801_models.FetchExportWordTaskResponse(),
2724
+ self.call_api(params, req, runtime)
2725
+ )
2726
+
2727
+ async def fetch_export_word_task_with_options_async(
2728
+ self,
2729
+ request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
2730
+ runtime: util_models.RuntimeOptions,
2731
+ ) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
2732
+ """
2733
+ @summary 获取异步导出文档任务结果
2734
+
2735
+ @param request: FetchExportWordTaskRequest
2736
+ @param runtime: runtime options for this request RuntimeOptions
2737
+ @return: FetchExportWordTaskResponse
2738
+ """
2739
+ UtilClient.validate_model(request)
2740
+ query = {}
2741
+ if not UtilClient.is_unset(request.agent_key):
2742
+ query['AgentKey'] = request.agent_key
2743
+ body = {}
2744
+ if not UtilClient.is_unset(request.task_id):
2745
+ body['TaskId'] = request.task_id
2746
+ req = open_api_models.OpenApiRequest(
2747
+ query=OpenApiUtilClient.query(query),
2748
+ body=OpenApiUtilClient.parse_to_map(body)
2749
+ )
2750
+ params = open_api_models.Params(
2751
+ action='FetchExportWordTask',
2752
+ version='2023-08-01',
2753
+ protocol='HTTPS',
2754
+ pathname='/',
2755
+ method='POST',
2756
+ auth_type='AK',
2757
+ style='RPC',
2758
+ req_body_type='formData',
2759
+ body_type='json'
2760
+ )
2761
+ return TeaCore.from_map(
2762
+ ai_miao_bi_20230801_models.FetchExportWordTaskResponse(),
2763
+ await self.call_api_async(params, req, runtime)
2764
+ )
2765
+
2766
+ def fetch_export_word_task(
2767
+ self,
2768
+ request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
2769
+ ) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
2770
+ """
2771
+ @summary 获取异步导出文档任务结果
2772
+
2773
+ @param request: FetchExportWordTaskRequest
2774
+ @return: FetchExportWordTaskResponse
2775
+ """
2776
+ runtime = util_models.RuntimeOptions()
2777
+ return self.fetch_export_word_task_with_options(request, runtime)
2778
+
2779
+ async def fetch_export_word_task_async(
2780
+ self,
2781
+ request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
2782
+ ) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
2783
+ """
2784
+ @summary 获取异步导出文档任务结果
2785
+
2786
+ @param request: FetchExportWordTaskRequest
2787
+ @return: FetchExportWordTaskResponse
2788
+ """
2789
+ runtime = util_models.RuntimeOptions()
2790
+ return await self.fetch_export_word_task_with_options_async(request, runtime)
2791
+
2588
2792
  def fetch_image_task_with_options(
2589
2793
  self,
2590
2794
  tmp_req: ai_miao_bi_20230801_models.FetchImageTaskRequest,
@@ -2701,6 +2905,110 @@ class Client(OpenApiClient):
2701
2905
  runtime = util_models.RuntimeOptions()
2702
2906
  return await self.fetch_image_task_with_options_async(request, runtime)
2703
2907
 
2908
+ def generate_export_word_task_with_options(
2909
+ self,
2910
+ request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
2911
+ runtime: util_models.RuntimeOptions,
2912
+ ) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
2913
+ """
2914
+ @summary 生成内容导出文档任务
2915
+
2916
+ @param request: GenerateExportWordTaskRequest
2917
+ @param runtime: runtime options for this request RuntimeOptions
2918
+ @return: GenerateExportWordTaskResponse
2919
+ """
2920
+ UtilClient.validate_model(request)
2921
+ query = {}
2922
+ if not UtilClient.is_unset(request.agent_key):
2923
+ query['AgentKey'] = request.agent_key
2924
+ body = {}
2925
+ if not UtilClient.is_unset(request.generated_content_id):
2926
+ body['GeneratedContentId'] = request.generated_content_id
2927
+ req = open_api_models.OpenApiRequest(
2928
+ query=OpenApiUtilClient.query(query),
2929
+ body=OpenApiUtilClient.parse_to_map(body)
2930
+ )
2931
+ params = open_api_models.Params(
2932
+ action='GenerateExportWordTask',
2933
+ version='2023-08-01',
2934
+ protocol='HTTPS',
2935
+ pathname='/',
2936
+ method='POST',
2937
+ auth_type='AK',
2938
+ style='RPC',
2939
+ req_body_type='formData',
2940
+ body_type='json'
2941
+ )
2942
+ return TeaCore.from_map(
2943
+ ai_miao_bi_20230801_models.GenerateExportWordTaskResponse(),
2944
+ self.call_api(params, req, runtime)
2945
+ )
2946
+
2947
+ async def generate_export_word_task_with_options_async(
2948
+ self,
2949
+ request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
2950
+ runtime: util_models.RuntimeOptions,
2951
+ ) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
2952
+ """
2953
+ @summary 生成内容导出文档任务
2954
+
2955
+ @param request: GenerateExportWordTaskRequest
2956
+ @param runtime: runtime options for this request RuntimeOptions
2957
+ @return: GenerateExportWordTaskResponse
2958
+ """
2959
+ UtilClient.validate_model(request)
2960
+ query = {}
2961
+ if not UtilClient.is_unset(request.agent_key):
2962
+ query['AgentKey'] = request.agent_key
2963
+ body = {}
2964
+ if not UtilClient.is_unset(request.generated_content_id):
2965
+ body['GeneratedContentId'] = request.generated_content_id
2966
+ req = open_api_models.OpenApiRequest(
2967
+ query=OpenApiUtilClient.query(query),
2968
+ body=OpenApiUtilClient.parse_to_map(body)
2969
+ )
2970
+ params = open_api_models.Params(
2971
+ action='GenerateExportWordTask',
2972
+ version='2023-08-01',
2973
+ protocol='HTTPS',
2974
+ pathname='/',
2975
+ method='POST',
2976
+ auth_type='AK',
2977
+ style='RPC',
2978
+ req_body_type='formData',
2979
+ body_type='json'
2980
+ )
2981
+ return TeaCore.from_map(
2982
+ ai_miao_bi_20230801_models.GenerateExportWordTaskResponse(),
2983
+ await self.call_api_async(params, req, runtime)
2984
+ )
2985
+
2986
+ def generate_export_word_task(
2987
+ self,
2988
+ request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
2989
+ ) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
2990
+ """
2991
+ @summary 生成内容导出文档任务
2992
+
2993
+ @param request: GenerateExportWordTaskRequest
2994
+ @return: GenerateExportWordTaskResponse
2995
+ """
2996
+ runtime = util_models.RuntimeOptions()
2997
+ return self.generate_export_word_task_with_options(request, runtime)
2998
+
2999
+ async def generate_export_word_task_async(
3000
+ self,
3001
+ request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
3002
+ ) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
3003
+ """
3004
+ @summary 生成内容导出文档任务
3005
+
3006
+ @param request: GenerateExportWordTaskRequest
3007
+ @return: GenerateExportWordTaskResponse
3008
+ """
3009
+ runtime = util_models.RuntimeOptions()
3010
+ return await self.generate_export_word_task_with_options_async(request, runtime)
3011
+
2704
3012
  def generate_file_url_by_key_with_options(
2705
3013
  self,
2706
3014
  request: ai_miao_bi_20230801_models.GenerateFileUrlByKeyRequest,
@@ -3353,6 +3661,106 @@ class Client(OpenApiClient):
3353
3661
  runtime = util_models.RuntimeOptions()
3354
3662
  return await self.get_custom_hot_topic_broadcast_job_with_options_async(request, runtime)
3355
3663
 
3664
+ def get_custom_source_topic_analysis_task_with_options(
3665
+ self,
3666
+ request: ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskRequest,
3667
+ runtime: util_models.RuntimeOptions,
3668
+ ) -> ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse:
3669
+ """
3670
+ @summary 获取自定义数据源-选题视角分析任务结果
3671
+
3672
+ @param request: GetCustomSourceTopicAnalysisTaskRequest
3673
+ @param runtime: runtime options for this request RuntimeOptions
3674
+ @return: GetCustomSourceTopicAnalysisTaskResponse
3675
+ """
3676
+ UtilClient.validate_model(request)
3677
+ body = {}
3678
+ if not UtilClient.is_unset(request.task_id):
3679
+ body['TaskId'] = request.task_id
3680
+ if not UtilClient.is_unset(request.workspace_id):
3681
+ body['WorkspaceId'] = request.workspace_id
3682
+ req = open_api_models.OpenApiRequest(
3683
+ body=OpenApiUtilClient.parse_to_map(body)
3684
+ )
3685
+ params = open_api_models.Params(
3686
+ action='GetCustomSourceTopicAnalysisTask',
3687
+ version='2023-08-01',
3688
+ protocol='HTTPS',
3689
+ pathname='/',
3690
+ method='POST',
3691
+ auth_type='AK',
3692
+ style='RPC',
3693
+ req_body_type='formData',
3694
+ body_type='json'
3695
+ )
3696
+ return TeaCore.from_map(
3697
+ ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse(),
3698
+ self.call_api(params, req, runtime)
3699
+ )
3700
+
3701
+ async def get_custom_source_topic_analysis_task_with_options_async(
3702
+ self,
3703
+ request: ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskRequest,
3704
+ runtime: util_models.RuntimeOptions,
3705
+ ) -> ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse:
3706
+ """
3707
+ @summary 获取自定义数据源-选题视角分析任务结果
3708
+
3709
+ @param request: GetCustomSourceTopicAnalysisTaskRequest
3710
+ @param runtime: runtime options for this request RuntimeOptions
3711
+ @return: GetCustomSourceTopicAnalysisTaskResponse
3712
+ """
3713
+ UtilClient.validate_model(request)
3714
+ body = {}
3715
+ if not UtilClient.is_unset(request.task_id):
3716
+ body['TaskId'] = request.task_id
3717
+ if not UtilClient.is_unset(request.workspace_id):
3718
+ body['WorkspaceId'] = request.workspace_id
3719
+ req = open_api_models.OpenApiRequest(
3720
+ body=OpenApiUtilClient.parse_to_map(body)
3721
+ )
3722
+ params = open_api_models.Params(
3723
+ action='GetCustomSourceTopicAnalysisTask',
3724
+ version='2023-08-01',
3725
+ protocol='HTTPS',
3726
+ pathname='/',
3727
+ method='POST',
3728
+ auth_type='AK',
3729
+ style='RPC',
3730
+ req_body_type='formData',
3731
+ body_type='json'
3732
+ )
3733
+ return TeaCore.from_map(
3734
+ ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse(),
3735
+ await self.call_api_async(params, req, runtime)
3736
+ )
3737
+
3738
+ def get_custom_source_topic_analysis_task(
3739
+ self,
3740
+ request: ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskRequest,
3741
+ ) -> ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse:
3742
+ """
3743
+ @summary 获取自定义数据源-选题视角分析任务结果
3744
+
3745
+ @param request: GetCustomSourceTopicAnalysisTaskRequest
3746
+ @return: GetCustomSourceTopicAnalysisTaskResponse
3747
+ """
3748
+ runtime = util_models.RuntimeOptions()
3749
+ return self.get_custom_source_topic_analysis_task_with_options(request, runtime)
3750
+
3751
+ async def get_custom_source_topic_analysis_task_async(
3752
+ self,
3753
+ request: ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskRequest,
3754
+ ) -> ai_miao_bi_20230801_models.GetCustomSourceTopicAnalysisTaskResponse:
3755
+ """
3756
+ @summary 获取自定义数据源-选题视角分析任务结果
3757
+
3758
+ @param request: GetCustomSourceTopicAnalysisTaskRequest
3759
+ @return: GetCustomSourceTopicAnalysisTaskResponse
3760
+ """
3761
+ runtime = util_models.RuntimeOptions()
3762
+ return await self.get_custom_source_topic_analysis_task_with_options_async(request, runtime)
3763
+
3356
3764
  def get_custom_text_with_options(
3357
3765
  self,
3358
3766
  request: ai_miao_bi_20230801_models.GetCustomTextRequest,
@@ -14909,6 +15317,126 @@ class Client(OpenApiClient):
14909
15317
  runtime = util_models.RuntimeOptions()
14910
15318
  return await self.submit_custom_hot_topic_broadcast_job_with_options_async(request, runtime)
14911
15319
 
15320
+ def submit_custom_source_topic_analysis_with_options(
15321
+ self,
15322
+ tmp_req: ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisRequest,
15323
+ runtime: util_models.RuntimeOptions,
15324
+ ) -> ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse:
15325
+ """
15326
+ @summary 从自定义数据源提交选题热点分析
15327
+
15328
+ @param tmp_req: SubmitCustomSourceTopicAnalysisRequest
15329
+ @param runtime: runtime options for this request RuntimeOptions
15330
+ @return: SubmitCustomSourceTopicAnalysisResponse
15331
+ """
15332
+ UtilClient.validate_model(tmp_req)
15333
+ request = ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisShrinkRequest()
15334
+ OpenApiUtilClient.convert(tmp_req, request)
15335
+ if not UtilClient.is_unset(tmp_req.news):
15336
+ request.news_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.news, 'News', 'json')
15337
+ body = {}
15338
+ if not UtilClient.is_unset(request.file_type):
15339
+ body['FileType'] = request.file_type
15340
+ if not UtilClient.is_unset(request.file_url):
15341
+ body['FileUrl'] = request.file_url
15342
+ if not UtilClient.is_unset(request.max_topic_size):
15343
+ body['MaxTopicSize'] = request.max_topic_size
15344
+ if not UtilClient.is_unset(request.news_shrink):
15345
+ body['News'] = request.news_shrink
15346
+ if not UtilClient.is_unset(request.workspace_id):
15347
+ body['WorkspaceId'] = request.workspace_id
15348
+ req = open_api_models.OpenApiRequest(
15349
+ body=OpenApiUtilClient.parse_to_map(body)
15350
+ )
15351
+ params = open_api_models.Params(
15352
+ action='SubmitCustomSourceTopicAnalysis',
15353
+ version='2023-08-01',
15354
+ protocol='HTTPS',
15355
+ pathname='/',
15356
+ method='POST',
15357
+ auth_type='AK',
15358
+ style='RPC',
15359
+ req_body_type='formData',
15360
+ body_type='json'
15361
+ )
15362
+ return TeaCore.from_map(
15363
+ ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse(),
15364
+ self.call_api(params, req, runtime)
15365
+ )
15366
+
15367
+ async def submit_custom_source_topic_analysis_with_options_async(
15368
+ self,
15369
+ tmp_req: ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisRequest,
15370
+ runtime: util_models.RuntimeOptions,
15371
+ ) -> ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse:
15372
+ """
15373
+ @summary 从自定义数据源提交选题热点分析
15374
+
15375
+ @param tmp_req: SubmitCustomSourceTopicAnalysisRequest
15376
+ @param runtime: runtime options for this request RuntimeOptions
15377
+ @return: SubmitCustomSourceTopicAnalysisResponse
15378
+ """
15379
+ UtilClient.validate_model(tmp_req)
15380
+ request = ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisShrinkRequest()
15381
+ OpenApiUtilClient.convert(tmp_req, request)
15382
+ if not UtilClient.is_unset(tmp_req.news):
15383
+ request.news_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.news, 'News', 'json')
15384
+ body = {}
15385
+ if not UtilClient.is_unset(request.file_type):
15386
+ body['FileType'] = request.file_type
15387
+ if not UtilClient.is_unset(request.file_url):
15388
+ body['FileUrl'] = request.file_url
15389
+ if not UtilClient.is_unset(request.max_topic_size):
15390
+ body['MaxTopicSize'] = request.max_topic_size
15391
+ if not UtilClient.is_unset(request.news_shrink):
15392
+ body['News'] = request.news_shrink
15393
+ if not UtilClient.is_unset(request.workspace_id):
15394
+ body['WorkspaceId'] = request.workspace_id
15395
+ req = open_api_models.OpenApiRequest(
15396
+ body=OpenApiUtilClient.parse_to_map(body)
15397
+ )
15398
+ params = open_api_models.Params(
15399
+ action='SubmitCustomSourceTopicAnalysis',
15400
+ version='2023-08-01',
15401
+ protocol='HTTPS',
15402
+ pathname='/',
15403
+ method='POST',
15404
+ auth_type='AK',
15405
+ style='RPC',
15406
+ req_body_type='formData',
15407
+ body_type='json'
15408
+ )
15409
+ return TeaCore.from_map(
15410
+ ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse(),
15411
+ await self.call_api_async(params, req, runtime)
15412
+ )
15413
+
15414
+ def submit_custom_source_topic_analysis(
15415
+ self,
15416
+ request: ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisRequest,
15417
+ ) -> ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse:
15418
+ """
15419
+ @summary 从自定义数据源提交选题热点分析
15420
+
15421
+ @param request: SubmitCustomSourceTopicAnalysisRequest
15422
+ @return: SubmitCustomSourceTopicAnalysisResponse
15423
+ """
15424
+ runtime = util_models.RuntimeOptions()
15425
+ return self.submit_custom_source_topic_analysis_with_options(request, runtime)
15426
+
15427
+ async def submit_custom_source_topic_analysis_async(
15428
+ self,
15429
+ request: ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisRequest,
15430
+ ) -> ai_miao_bi_20230801_models.SubmitCustomSourceTopicAnalysisResponse:
15431
+ """
15432
+ @summary 从自定义数据源提交选题热点分析
15433
+
15434
+ @param request: SubmitCustomSourceTopicAnalysisRequest
15435
+ @return: SubmitCustomSourceTopicAnalysisResponse
15436
+ """
15437
+ runtime = util_models.RuntimeOptions()
15438
+ return await self.submit_custom_source_topic_analysis_with_options_async(request, runtime)
15439
+
14912
15440
  def submit_custom_topic_selection_perspective_analysis_task_with_options(
14913
15441
  self,
14914
15442
  tmp_req: ai_miao_bi_20230801_models.SubmitCustomTopicSelectionPerspectiveAnalysisTaskRequest,