alibabacloud-aimiaobi20230801 1.27.0__tar.gz → 1.29.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.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/ChangeLog.md +11 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.29.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801/client.py +624 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801/models.py +1334 -155
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +1 -1
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/setup.py +2 -2
- alibabacloud_aimiaobi20230801-1.27.0/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.27.0 → alibabacloud_aimiaobi20230801-1.29.0}/setup.cfg +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2025-06-13 Version: 1.28.0
|
|
2
|
+
- Support API FetchExportWordTask.
|
|
3
|
+
- Support API GenerateExportWordTask.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
2025-06-12 Version: 1.27.0
|
|
7
|
+
- Support API ExportCustomSourceAnalysisTask.
|
|
8
|
+
- Support API GetCustomSourceTopicAnalysisTask.
|
|
9
|
+
- Support API SubmitCustomSourceTopicAnalysis.
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
2025-06-09 Version: 1.26.5
|
|
2
13
|
- Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.PubTime.
|
|
3
14
|
- Update API GetHotTopicBroadcast: add response parameters Body.Data.Data.$.Url.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.29.0'
|
|
@@ -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_audit_content_result_with_options(
|
|
2117
|
+
self,
|
|
2118
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2119
|
+
runtime: util_models.RuntimeOptions,
|
|
2120
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2121
|
+
"""
|
|
2122
|
+
@summary 导出智能审核报告
|
|
2123
|
+
|
|
2124
|
+
@param request: ExportAuditContentResultRequest
|
|
2125
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2126
|
+
@return: ExportAuditContentResultResponse
|
|
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='ExportAuditContentResult',
|
|
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.ExportAuditContentResultResponse(),
|
|
2150
|
+
self.call_api(params, req, runtime)
|
|
2151
|
+
)
|
|
2152
|
+
|
|
2153
|
+
async def export_audit_content_result_with_options_async(
|
|
2154
|
+
self,
|
|
2155
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2156
|
+
runtime: util_models.RuntimeOptions,
|
|
2157
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2158
|
+
"""
|
|
2159
|
+
@summary 导出智能审核报告
|
|
2160
|
+
|
|
2161
|
+
@param request: ExportAuditContentResultRequest
|
|
2162
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2163
|
+
@return: ExportAuditContentResultResponse
|
|
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='ExportAuditContentResult',
|
|
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.ExportAuditContentResultResponse(),
|
|
2187
|
+
await self.call_api_async(params, req, runtime)
|
|
2188
|
+
)
|
|
2189
|
+
|
|
2190
|
+
def export_audit_content_result(
|
|
2191
|
+
self,
|
|
2192
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2193
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2194
|
+
"""
|
|
2195
|
+
@summary 导出智能审核报告
|
|
2196
|
+
|
|
2197
|
+
@param request: ExportAuditContentResultRequest
|
|
2198
|
+
@return: ExportAuditContentResultResponse
|
|
2199
|
+
"""
|
|
2200
|
+
runtime = util_models.RuntimeOptions()
|
|
2201
|
+
return self.export_audit_content_result_with_options(request, runtime)
|
|
2202
|
+
|
|
2203
|
+
async def export_audit_content_result_async(
|
|
2204
|
+
self,
|
|
2205
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2206
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2207
|
+
"""
|
|
2208
|
+
@summary 导出智能审核报告
|
|
2209
|
+
|
|
2210
|
+
@param request: ExportAuditContentResultRequest
|
|
2211
|
+
@return: ExportAuditContentResultResponse
|
|
2212
|
+
"""
|
|
2213
|
+
runtime = util_models.RuntimeOptions()
|
|
2214
|
+
return await self.export_audit_content_result_with_options_async(request, runtime)
|
|
2215
|
+
|
|
2116
2216
|
def export_custom_source_analysis_task_with_options(
|
|
2117
2217
|
self,
|
|
2118
2218
|
request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
|
|
@@ -2685,6 +2785,110 @@ class Client(OpenApiClient):
|
|
|
2685
2785
|
runtime = util_models.RuntimeOptions()
|
|
2686
2786
|
return await self.feedback_dialogue_with_options_async(request, runtime)
|
|
2687
2787
|
|
|
2788
|
+
def fetch_export_word_task_with_options(
|
|
2789
|
+
self,
|
|
2790
|
+
request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
|
|
2791
|
+
runtime: util_models.RuntimeOptions,
|
|
2792
|
+
) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
|
|
2793
|
+
"""
|
|
2794
|
+
@summary 获取异步导出文档任务结果
|
|
2795
|
+
|
|
2796
|
+
@param request: FetchExportWordTaskRequest
|
|
2797
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2798
|
+
@return: FetchExportWordTaskResponse
|
|
2799
|
+
"""
|
|
2800
|
+
UtilClient.validate_model(request)
|
|
2801
|
+
query = {}
|
|
2802
|
+
if not UtilClient.is_unset(request.agent_key):
|
|
2803
|
+
query['AgentKey'] = request.agent_key
|
|
2804
|
+
body = {}
|
|
2805
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2806
|
+
body['TaskId'] = request.task_id
|
|
2807
|
+
req = open_api_models.OpenApiRequest(
|
|
2808
|
+
query=OpenApiUtilClient.query(query),
|
|
2809
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2810
|
+
)
|
|
2811
|
+
params = open_api_models.Params(
|
|
2812
|
+
action='FetchExportWordTask',
|
|
2813
|
+
version='2023-08-01',
|
|
2814
|
+
protocol='HTTPS',
|
|
2815
|
+
pathname='/',
|
|
2816
|
+
method='POST',
|
|
2817
|
+
auth_type='AK',
|
|
2818
|
+
style='RPC',
|
|
2819
|
+
req_body_type='formData',
|
|
2820
|
+
body_type='json'
|
|
2821
|
+
)
|
|
2822
|
+
return TeaCore.from_map(
|
|
2823
|
+
ai_miao_bi_20230801_models.FetchExportWordTaskResponse(),
|
|
2824
|
+
self.call_api(params, req, runtime)
|
|
2825
|
+
)
|
|
2826
|
+
|
|
2827
|
+
async def fetch_export_word_task_with_options_async(
|
|
2828
|
+
self,
|
|
2829
|
+
request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
|
|
2830
|
+
runtime: util_models.RuntimeOptions,
|
|
2831
|
+
) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
|
|
2832
|
+
"""
|
|
2833
|
+
@summary 获取异步导出文档任务结果
|
|
2834
|
+
|
|
2835
|
+
@param request: FetchExportWordTaskRequest
|
|
2836
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2837
|
+
@return: FetchExportWordTaskResponse
|
|
2838
|
+
"""
|
|
2839
|
+
UtilClient.validate_model(request)
|
|
2840
|
+
query = {}
|
|
2841
|
+
if not UtilClient.is_unset(request.agent_key):
|
|
2842
|
+
query['AgentKey'] = request.agent_key
|
|
2843
|
+
body = {}
|
|
2844
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2845
|
+
body['TaskId'] = request.task_id
|
|
2846
|
+
req = open_api_models.OpenApiRequest(
|
|
2847
|
+
query=OpenApiUtilClient.query(query),
|
|
2848
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2849
|
+
)
|
|
2850
|
+
params = open_api_models.Params(
|
|
2851
|
+
action='FetchExportWordTask',
|
|
2852
|
+
version='2023-08-01',
|
|
2853
|
+
protocol='HTTPS',
|
|
2854
|
+
pathname='/',
|
|
2855
|
+
method='POST',
|
|
2856
|
+
auth_type='AK',
|
|
2857
|
+
style='RPC',
|
|
2858
|
+
req_body_type='formData',
|
|
2859
|
+
body_type='json'
|
|
2860
|
+
)
|
|
2861
|
+
return TeaCore.from_map(
|
|
2862
|
+
ai_miao_bi_20230801_models.FetchExportWordTaskResponse(),
|
|
2863
|
+
await self.call_api_async(params, req, runtime)
|
|
2864
|
+
)
|
|
2865
|
+
|
|
2866
|
+
def fetch_export_word_task(
|
|
2867
|
+
self,
|
|
2868
|
+
request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
|
|
2869
|
+
) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
|
|
2870
|
+
"""
|
|
2871
|
+
@summary 获取异步导出文档任务结果
|
|
2872
|
+
|
|
2873
|
+
@param request: FetchExportWordTaskRequest
|
|
2874
|
+
@return: FetchExportWordTaskResponse
|
|
2875
|
+
"""
|
|
2876
|
+
runtime = util_models.RuntimeOptions()
|
|
2877
|
+
return self.fetch_export_word_task_with_options(request, runtime)
|
|
2878
|
+
|
|
2879
|
+
async def fetch_export_word_task_async(
|
|
2880
|
+
self,
|
|
2881
|
+
request: ai_miao_bi_20230801_models.FetchExportWordTaskRequest,
|
|
2882
|
+
) -> ai_miao_bi_20230801_models.FetchExportWordTaskResponse:
|
|
2883
|
+
"""
|
|
2884
|
+
@summary 获取异步导出文档任务结果
|
|
2885
|
+
|
|
2886
|
+
@param request: FetchExportWordTaskRequest
|
|
2887
|
+
@return: FetchExportWordTaskResponse
|
|
2888
|
+
"""
|
|
2889
|
+
runtime = util_models.RuntimeOptions()
|
|
2890
|
+
return await self.fetch_export_word_task_with_options_async(request, runtime)
|
|
2891
|
+
|
|
2688
2892
|
def fetch_image_task_with_options(
|
|
2689
2893
|
self,
|
|
2690
2894
|
tmp_req: ai_miao_bi_20230801_models.FetchImageTaskRequest,
|
|
@@ -2801,6 +3005,110 @@ class Client(OpenApiClient):
|
|
|
2801
3005
|
runtime = util_models.RuntimeOptions()
|
|
2802
3006
|
return await self.fetch_image_task_with_options_async(request, runtime)
|
|
2803
3007
|
|
|
3008
|
+
def generate_export_word_task_with_options(
|
|
3009
|
+
self,
|
|
3010
|
+
request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
|
|
3011
|
+
runtime: util_models.RuntimeOptions,
|
|
3012
|
+
) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
|
|
3013
|
+
"""
|
|
3014
|
+
@summary 生成内容导出文档任务
|
|
3015
|
+
|
|
3016
|
+
@param request: GenerateExportWordTaskRequest
|
|
3017
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
3018
|
+
@return: GenerateExportWordTaskResponse
|
|
3019
|
+
"""
|
|
3020
|
+
UtilClient.validate_model(request)
|
|
3021
|
+
query = {}
|
|
3022
|
+
if not UtilClient.is_unset(request.agent_key):
|
|
3023
|
+
query['AgentKey'] = request.agent_key
|
|
3024
|
+
body = {}
|
|
3025
|
+
if not UtilClient.is_unset(request.generated_content_id):
|
|
3026
|
+
body['GeneratedContentId'] = request.generated_content_id
|
|
3027
|
+
req = open_api_models.OpenApiRequest(
|
|
3028
|
+
query=OpenApiUtilClient.query(query),
|
|
3029
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
3030
|
+
)
|
|
3031
|
+
params = open_api_models.Params(
|
|
3032
|
+
action='GenerateExportWordTask',
|
|
3033
|
+
version='2023-08-01',
|
|
3034
|
+
protocol='HTTPS',
|
|
3035
|
+
pathname='/',
|
|
3036
|
+
method='POST',
|
|
3037
|
+
auth_type='AK',
|
|
3038
|
+
style='RPC',
|
|
3039
|
+
req_body_type='formData',
|
|
3040
|
+
body_type='json'
|
|
3041
|
+
)
|
|
3042
|
+
return TeaCore.from_map(
|
|
3043
|
+
ai_miao_bi_20230801_models.GenerateExportWordTaskResponse(),
|
|
3044
|
+
self.call_api(params, req, runtime)
|
|
3045
|
+
)
|
|
3046
|
+
|
|
3047
|
+
async def generate_export_word_task_with_options_async(
|
|
3048
|
+
self,
|
|
3049
|
+
request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
|
|
3050
|
+
runtime: util_models.RuntimeOptions,
|
|
3051
|
+
) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
|
|
3052
|
+
"""
|
|
3053
|
+
@summary 生成内容导出文档任务
|
|
3054
|
+
|
|
3055
|
+
@param request: GenerateExportWordTaskRequest
|
|
3056
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
3057
|
+
@return: GenerateExportWordTaskResponse
|
|
3058
|
+
"""
|
|
3059
|
+
UtilClient.validate_model(request)
|
|
3060
|
+
query = {}
|
|
3061
|
+
if not UtilClient.is_unset(request.agent_key):
|
|
3062
|
+
query['AgentKey'] = request.agent_key
|
|
3063
|
+
body = {}
|
|
3064
|
+
if not UtilClient.is_unset(request.generated_content_id):
|
|
3065
|
+
body['GeneratedContentId'] = request.generated_content_id
|
|
3066
|
+
req = open_api_models.OpenApiRequest(
|
|
3067
|
+
query=OpenApiUtilClient.query(query),
|
|
3068
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
3069
|
+
)
|
|
3070
|
+
params = open_api_models.Params(
|
|
3071
|
+
action='GenerateExportWordTask',
|
|
3072
|
+
version='2023-08-01',
|
|
3073
|
+
protocol='HTTPS',
|
|
3074
|
+
pathname='/',
|
|
3075
|
+
method='POST',
|
|
3076
|
+
auth_type='AK',
|
|
3077
|
+
style='RPC',
|
|
3078
|
+
req_body_type='formData',
|
|
3079
|
+
body_type='json'
|
|
3080
|
+
)
|
|
3081
|
+
return TeaCore.from_map(
|
|
3082
|
+
ai_miao_bi_20230801_models.GenerateExportWordTaskResponse(),
|
|
3083
|
+
await self.call_api_async(params, req, runtime)
|
|
3084
|
+
)
|
|
3085
|
+
|
|
3086
|
+
def generate_export_word_task(
|
|
3087
|
+
self,
|
|
3088
|
+
request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
|
|
3089
|
+
) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
|
|
3090
|
+
"""
|
|
3091
|
+
@summary 生成内容导出文档任务
|
|
3092
|
+
|
|
3093
|
+
@param request: GenerateExportWordTaskRequest
|
|
3094
|
+
@return: GenerateExportWordTaskResponse
|
|
3095
|
+
"""
|
|
3096
|
+
runtime = util_models.RuntimeOptions()
|
|
3097
|
+
return self.generate_export_word_task_with_options(request, runtime)
|
|
3098
|
+
|
|
3099
|
+
async def generate_export_word_task_async(
|
|
3100
|
+
self,
|
|
3101
|
+
request: ai_miao_bi_20230801_models.GenerateExportWordTaskRequest,
|
|
3102
|
+
) -> ai_miao_bi_20230801_models.GenerateExportWordTaskResponse:
|
|
3103
|
+
"""
|
|
3104
|
+
@summary 生成内容导出文档任务
|
|
3105
|
+
|
|
3106
|
+
@param request: GenerateExportWordTaskRequest
|
|
3107
|
+
@return: GenerateExportWordTaskResponse
|
|
3108
|
+
"""
|
|
3109
|
+
runtime = util_models.RuntimeOptions()
|
|
3110
|
+
return await self.generate_export_word_task_with_options_async(request, runtime)
|
|
3111
|
+
|
|
2804
3112
|
def generate_file_url_by_key_with_options(
|
|
2805
3113
|
self,
|
|
2806
3114
|
request: ai_miao_bi_20230801_models.GenerateFileUrlByKeyRequest,
|
|
@@ -5365,6 +5673,106 @@ class Client(OpenApiClient):
|
|
|
5365
5673
|
runtime = util_models.RuntimeOptions()
|
|
5366
5674
|
return await self.get_properties_with_options_async(request, runtime)
|
|
5367
5675
|
|
|
5676
|
+
def get_smart_audit_result_with_options(
|
|
5677
|
+
self,
|
|
5678
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5679
|
+
runtime: util_models.RuntimeOptions,
|
|
5680
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5681
|
+
"""
|
|
5682
|
+
@summary 查询智能审核结果
|
|
5683
|
+
|
|
5684
|
+
@param request: GetSmartAuditResultRequest
|
|
5685
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5686
|
+
@return: GetSmartAuditResultResponse
|
|
5687
|
+
"""
|
|
5688
|
+
UtilClient.validate_model(request)
|
|
5689
|
+
body = {}
|
|
5690
|
+
if not UtilClient.is_unset(request.task_id):
|
|
5691
|
+
body['TaskId'] = request.task_id
|
|
5692
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
5693
|
+
body['WorkspaceId'] = request.workspace_id
|
|
5694
|
+
req = open_api_models.OpenApiRequest(
|
|
5695
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
5696
|
+
)
|
|
5697
|
+
params = open_api_models.Params(
|
|
5698
|
+
action='GetSmartAuditResult',
|
|
5699
|
+
version='2023-08-01',
|
|
5700
|
+
protocol='HTTPS',
|
|
5701
|
+
pathname='/',
|
|
5702
|
+
method='POST',
|
|
5703
|
+
auth_type='AK',
|
|
5704
|
+
style='RPC',
|
|
5705
|
+
req_body_type='formData',
|
|
5706
|
+
body_type='json'
|
|
5707
|
+
)
|
|
5708
|
+
return TeaCore.from_map(
|
|
5709
|
+
ai_miao_bi_20230801_models.GetSmartAuditResultResponse(),
|
|
5710
|
+
self.call_api(params, req, runtime)
|
|
5711
|
+
)
|
|
5712
|
+
|
|
5713
|
+
async def get_smart_audit_result_with_options_async(
|
|
5714
|
+
self,
|
|
5715
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5716
|
+
runtime: util_models.RuntimeOptions,
|
|
5717
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5718
|
+
"""
|
|
5719
|
+
@summary 查询智能审核结果
|
|
5720
|
+
|
|
5721
|
+
@param request: GetSmartAuditResultRequest
|
|
5722
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5723
|
+
@return: GetSmartAuditResultResponse
|
|
5724
|
+
"""
|
|
5725
|
+
UtilClient.validate_model(request)
|
|
5726
|
+
body = {}
|
|
5727
|
+
if not UtilClient.is_unset(request.task_id):
|
|
5728
|
+
body['TaskId'] = request.task_id
|
|
5729
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
5730
|
+
body['WorkspaceId'] = request.workspace_id
|
|
5731
|
+
req = open_api_models.OpenApiRequest(
|
|
5732
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
5733
|
+
)
|
|
5734
|
+
params = open_api_models.Params(
|
|
5735
|
+
action='GetSmartAuditResult',
|
|
5736
|
+
version='2023-08-01',
|
|
5737
|
+
protocol='HTTPS',
|
|
5738
|
+
pathname='/',
|
|
5739
|
+
method='POST',
|
|
5740
|
+
auth_type='AK',
|
|
5741
|
+
style='RPC',
|
|
5742
|
+
req_body_type='formData',
|
|
5743
|
+
body_type='json'
|
|
5744
|
+
)
|
|
5745
|
+
return TeaCore.from_map(
|
|
5746
|
+
ai_miao_bi_20230801_models.GetSmartAuditResultResponse(),
|
|
5747
|
+
await self.call_api_async(params, req, runtime)
|
|
5748
|
+
)
|
|
5749
|
+
|
|
5750
|
+
def get_smart_audit_result(
|
|
5751
|
+
self,
|
|
5752
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5753
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5754
|
+
"""
|
|
5755
|
+
@summary 查询智能审核结果
|
|
5756
|
+
|
|
5757
|
+
@param request: GetSmartAuditResultRequest
|
|
5758
|
+
@return: GetSmartAuditResultResponse
|
|
5759
|
+
"""
|
|
5760
|
+
runtime = util_models.RuntimeOptions()
|
|
5761
|
+
return self.get_smart_audit_result_with_options(request, runtime)
|
|
5762
|
+
|
|
5763
|
+
async def get_smart_audit_result_async(
|
|
5764
|
+
self,
|
|
5765
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5766
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5767
|
+
"""
|
|
5768
|
+
@summary 查询智能审核结果
|
|
5769
|
+
|
|
5770
|
+
@param request: GetSmartAuditResultRequest
|
|
5771
|
+
@return: GetSmartAuditResultResponse
|
|
5772
|
+
"""
|
|
5773
|
+
runtime = util_models.RuntimeOptions()
|
|
5774
|
+
return await self.get_smart_audit_result_with_options_async(request, runtime)
|
|
5775
|
+
|
|
5368
5776
|
def get_smart_clip_task_with_options(
|
|
5369
5777
|
self,
|
|
5370
5778
|
request: ai_miao_bi_20230801_models.GetSmartClipTaskRequest,
|
|
@@ -6505,6 +6913,110 @@ class Client(OpenApiClient):
|
|
|
6505
6913
|
runtime = util_models.RuntimeOptions()
|
|
6506
6914
|
return await self.list_async_tasks_with_options_async(request, runtime)
|
|
6507
6915
|
|
|
6916
|
+
def list_audit_content_error_types_with_options(
|
|
6917
|
+
self,
|
|
6918
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6919
|
+
runtime: util_models.RuntimeOptions,
|
|
6920
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6921
|
+
"""
|
|
6922
|
+
@summary 获取审核维度列表
|
|
6923
|
+
|
|
6924
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
6925
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6926
|
+
@return: ListAuditContentErrorTypesResponse
|
|
6927
|
+
"""
|
|
6928
|
+
UtilClient.validate_model(request)
|
|
6929
|
+
body = {}
|
|
6930
|
+
if not UtilClient.is_unset(request.max_results):
|
|
6931
|
+
body['MaxResults'] = request.max_results
|
|
6932
|
+
if not UtilClient.is_unset(request.next_token):
|
|
6933
|
+
body['NextToken'] = request.next_token
|
|
6934
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
6935
|
+
body['WorkspaceId'] = request.workspace_id
|
|
6936
|
+
req = open_api_models.OpenApiRequest(
|
|
6937
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
6938
|
+
)
|
|
6939
|
+
params = open_api_models.Params(
|
|
6940
|
+
action='ListAuditContentErrorTypes',
|
|
6941
|
+
version='2023-08-01',
|
|
6942
|
+
protocol='HTTPS',
|
|
6943
|
+
pathname='/',
|
|
6944
|
+
method='POST',
|
|
6945
|
+
auth_type='AK',
|
|
6946
|
+
style='RPC',
|
|
6947
|
+
req_body_type='formData',
|
|
6948
|
+
body_type='json'
|
|
6949
|
+
)
|
|
6950
|
+
return TeaCore.from_map(
|
|
6951
|
+
ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse(),
|
|
6952
|
+
self.call_api(params, req, runtime)
|
|
6953
|
+
)
|
|
6954
|
+
|
|
6955
|
+
async def list_audit_content_error_types_with_options_async(
|
|
6956
|
+
self,
|
|
6957
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6958
|
+
runtime: util_models.RuntimeOptions,
|
|
6959
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6960
|
+
"""
|
|
6961
|
+
@summary 获取审核维度列表
|
|
6962
|
+
|
|
6963
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
6964
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6965
|
+
@return: ListAuditContentErrorTypesResponse
|
|
6966
|
+
"""
|
|
6967
|
+
UtilClient.validate_model(request)
|
|
6968
|
+
body = {}
|
|
6969
|
+
if not UtilClient.is_unset(request.max_results):
|
|
6970
|
+
body['MaxResults'] = request.max_results
|
|
6971
|
+
if not UtilClient.is_unset(request.next_token):
|
|
6972
|
+
body['NextToken'] = request.next_token
|
|
6973
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
6974
|
+
body['WorkspaceId'] = request.workspace_id
|
|
6975
|
+
req = open_api_models.OpenApiRequest(
|
|
6976
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
6977
|
+
)
|
|
6978
|
+
params = open_api_models.Params(
|
|
6979
|
+
action='ListAuditContentErrorTypes',
|
|
6980
|
+
version='2023-08-01',
|
|
6981
|
+
protocol='HTTPS',
|
|
6982
|
+
pathname='/',
|
|
6983
|
+
method='POST',
|
|
6984
|
+
auth_type='AK',
|
|
6985
|
+
style='RPC',
|
|
6986
|
+
req_body_type='formData',
|
|
6987
|
+
body_type='json'
|
|
6988
|
+
)
|
|
6989
|
+
return TeaCore.from_map(
|
|
6990
|
+
ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse(),
|
|
6991
|
+
await self.call_api_async(params, req, runtime)
|
|
6992
|
+
)
|
|
6993
|
+
|
|
6994
|
+
def list_audit_content_error_types(
|
|
6995
|
+
self,
|
|
6996
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6997
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6998
|
+
"""
|
|
6999
|
+
@summary 获取审核维度列表
|
|
7000
|
+
|
|
7001
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
7002
|
+
@return: ListAuditContentErrorTypesResponse
|
|
7003
|
+
"""
|
|
7004
|
+
runtime = util_models.RuntimeOptions()
|
|
7005
|
+
return self.list_audit_content_error_types_with_options(request, runtime)
|
|
7006
|
+
|
|
7007
|
+
async def list_audit_content_error_types_async(
|
|
7008
|
+
self,
|
|
7009
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
7010
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
7011
|
+
"""
|
|
7012
|
+
@summary 获取审核维度列表
|
|
7013
|
+
|
|
7014
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
7015
|
+
@return: ListAuditContentErrorTypesResponse
|
|
7016
|
+
"""
|
|
7017
|
+
runtime = util_models.RuntimeOptions()
|
|
7018
|
+
return await self.list_audit_content_error_types_with_options_async(request, runtime)
|
|
7019
|
+
|
|
6508
7020
|
def list_build_configs_with_options(
|
|
6509
7021
|
self,
|
|
6510
7022
|
request: ai_miao_bi_20230801_models.ListBuildConfigsRequest,
|
|
@@ -15625,6 +16137,118 @@ class Client(OpenApiClient):
|
|
|
15625
16137
|
runtime = util_models.RuntimeOptions()
|
|
15626
16138
|
return await self.submit_enterprise_voc_analysis_task_with_options_async(request, runtime)
|
|
15627
16139
|
|
|
16140
|
+
def submit_smart_audit_with_options(
|
|
16141
|
+
self,
|
|
16142
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16143
|
+
runtime: util_models.RuntimeOptions,
|
|
16144
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16145
|
+
"""
|
|
16146
|
+
@summary 提交智能审核
|
|
16147
|
+
|
|
16148
|
+
@param tmp_req: SubmitSmartAuditRequest
|
|
16149
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16150
|
+
@return: SubmitSmartAuditResponse
|
|
16151
|
+
"""
|
|
16152
|
+
UtilClient.validate_model(tmp_req)
|
|
16153
|
+
request = ai_miao_bi_20230801_models.SubmitSmartAuditShrinkRequest()
|
|
16154
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
16155
|
+
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
16156
|
+
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
16157
|
+
body = {}
|
|
16158
|
+
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
16159
|
+
body['SubCodes'] = request.sub_codes_shrink
|
|
16160
|
+
if not UtilClient.is_unset(request.text):
|
|
16161
|
+
body['Text'] = request.text
|
|
16162
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
16163
|
+
body['WorkspaceId'] = request.workspace_id
|
|
16164
|
+
req = open_api_models.OpenApiRequest(
|
|
16165
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
16166
|
+
)
|
|
16167
|
+
params = open_api_models.Params(
|
|
16168
|
+
action='SubmitSmartAudit',
|
|
16169
|
+
version='2023-08-01',
|
|
16170
|
+
protocol='HTTPS',
|
|
16171
|
+
pathname='/',
|
|
16172
|
+
method='POST',
|
|
16173
|
+
auth_type='AK',
|
|
16174
|
+
style='RPC',
|
|
16175
|
+
req_body_type='formData',
|
|
16176
|
+
body_type='json'
|
|
16177
|
+
)
|
|
16178
|
+
return TeaCore.from_map(
|
|
16179
|
+
ai_miao_bi_20230801_models.SubmitSmartAuditResponse(),
|
|
16180
|
+
self.call_api(params, req, runtime)
|
|
16181
|
+
)
|
|
16182
|
+
|
|
16183
|
+
async def submit_smart_audit_with_options_async(
|
|
16184
|
+
self,
|
|
16185
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16186
|
+
runtime: util_models.RuntimeOptions,
|
|
16187
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16188
|
+
"""
|
|
16189
|
+
@summary 提交智能审核
|
|
16190
|
+
|
|
16191
|
+
@param tmp_req: SubmitSmartAuditRequest
|
|
16192
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16193
|
+
@return: SubmitSmartAuditResponse
|
|
16194
|
+
"""
|
|
16195
|
+
UtilClient.validate_model(tmp_req)
|
|
16196
|
+
request = ai_miao_bi_20230801_models.SubmitSmartAuditShrinkRequest()
|
|
16197
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
16198
|
+
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
16199
|
+
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
16200
|
+
body = {}
|
|
16201
|
+
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
16202
|
+
body['SubCodes'] = request.sub_codes_shrink
|
|
16203
|
+
if not UtilClient.is_unset(request.text):
|
|
16204
|
+
body['Text'] = request.text
|
|
16205
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
16206
|
+
body['WorkspaceId'] = request.workspace_id
|
|
16207
|
+
req = open_api_models.OpenApiRequest(
|
|
16208
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
16209
|
+
)
|
|
16210
|
+
params = open_api_models.Params(
|
|
16211
|
+
action='SubmitSmartAudit',
|
|
16212
|
+
version='2023-08-01',
|
|
16213
|
+
protocol='HTTPS',
|
|
16214
|
+
pathname='/',
|
|
16215
|
+
method='POST',
|
|
16216
|
+
auth_type='AK',
|
|
16217
|
+
style='RPC',
|
|
16218
|
+
req_body_type='formData',
|
|
16219
|
+
body_type='json'
|
|
16220
|
+
)
|
|
16221
|
+
return TeaCore.from_map(
|
|
16222
|
+
ai_miao_bi_20230801_models.SubmitSmartAuditResponse(),
|
|
16223
|
+
await self.call_api_async(params, req, runtime)
|
|
16224
|
+
)
|
|
16225
|
+
|
|
16226
|
+
def submit_smart_audit(
|
|
16227
|
+
self,
|
|
16228
|
+
request: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16229
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16230
|
+
"""
|
|
16231
|
+
@summary 提交智能审核
|
|
16232
|
+
|
|
16233
|
+
@param request: SubmitSmartAuditRequest
|
|
16234
|
+
@return: SubmitSmartAuditResponse
|
|
16235
|
+
"""
|
|
16236
|
+
runtime = util_models.RuntimeOptions()
|
|
16237
|
+
return self.submit_smart_audit_with_options(request, runtime)
|
|
16238
|
+
|
|
16239
|
+
async def submit_smart_audit_async(
|
|
16240
|
+
self,
|
|
16241
|
+
request: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16242
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16243
|
+
"""
|
|
16244
|
+
@summary 提交智能审核
|
|
16245
|
+
|
|
16246
|
+
@param request: SubmitSmartAuditRequest
|
|
16247
|
+
@return: SubmitSmartAuditResponse
|
|
16248
|
+
"""
|
|
16249
|
+
runtime = util_models.RuntimeOptions()
|
|
16250
|
+
return await self.submit_smart_audit_with_options_async(request, runtime)
|
|
16251
|
+
|
|
15628
16252
|
def submit_smart_clip_task_with_options(
|
|
15629
16253
|
self,
|
|
15630
16254
|
tmp_req: ai_miao_bi_20230801_models.SubmitSmartClipTaskRequest,
|