alibabacloud-aimiaobi20230801 1.9.0__tar.gz → 1.10.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.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/ChangeLog.md +6 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.10.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801/client.py +584 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801/models.py +2029 -421
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/setup.py +1 -1
- alibabacloud_aimiaobi20230801-1.9.0/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.9.0 → alibabacloud_aimiaobi20230801-1.10.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.10.0'
|
|
@@ -2261,6 +2261,106 @@ class Client(OpenApiClient):
|
|
|
2261
2261
|
runtime = util_models.RuntimeOptions()
|
|
2262
2262
|
return await self.generate_view_point_with_options_async(request, runtime)
|
|
2263
2263
|
|
|
2264
|
+
def get_categories_by_task_id_with_options(
|
|
2265
|
+
self,
|
|
2266
|
+
request: ai_miao_bi_20230801_models.GetCategoriesByTaskIdRequest,
|
|
2267
|
+
runtime: util_models.RuntimeOptions,
|
|
2268
|
+
) -> ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse:
|
|
2269
|
+
"""
|
|
2270
|
+
@summary 获取某次标签挖掘结果分类
|
|
2271
|
+
|
|
2272
|
+
@param request: GetCategoriesByTaskIdRequest
|
|
2273
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2274
|
+
@return: GetCategoriesByTaskIdResponse
|
|
2275
|
+
"""
|
|
2276
|
+
UtilClient.validate_model(request)
|
|
2277
|
+
body = {}
|
|
2278
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2279
|
+
body['TaskId'] = request.task_id
|
|
2280
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2281
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2282
|
+
req = open_api_models.OpenApiRequest(
|
|
2283
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2284
|
+
)
|
|
2285
|
+
params = open_api_models.Params(
|
|
2286
|
+
action='GetCategoriesByTaskId',
|
|
2287
|
+
version='2023-08-01',
|
|
2288
|
+
protocol='HTTPS',
|
|
2289
|
+
pathname='/',
|
|
2290
|
+
method='POST',
|
|
2291
|
+
auth_type='AK',
|
|
2292
|
+
style='RPC',
|
|
2293
|
+
req_body_type='formData',
|
|
2294
|
+
body_type='json'
|
|
2295
|
+
)
|
|
2296
|
+
return TeaCore.from_map(
|
|
2297
|
+
ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse(),
|
|
2298
|
+
self.call_api(params, req, runtime)
|
|
2299
|
+
)
|
|
2300
|
+
|
|
2301
|
+
async def get_categories_by_task_id_with_options_async(
|
|
2302
|
+
self,
|
|
2303
|
+
request: ai_miao_bi_20230801_models.GetCategoriesByTaskIdRequest,
|
|
2304
|
+
runtime: util_models.RuntimeOptions,
|
|
2305
|
+
) -> ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse:
|
|
2306
|
+
"""
|
|
2307
|
+
@summary 获取某次标签挖掘结果分类
|
|
2308
|
+
|
|
2309
|
+
@param request: GetCategoriesByTaskIdRequest
|
|
2310
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2311
|
+
@return: GetCategoriesByTaskIdResponse
|
|
2312
|
+
"""
|
|
2313
|
+
UtilClient.validate_model(request)
|
|
2314
|
+
body = {}
|
|
2315
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2316
|
+
body['TaskId'] = request.task_id
|
|
2317
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2318
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2319
|
+
req = open_api_models.OpenApiRequest(
|
|
2320
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2321
|
+
)
|
|
2322
|
+
params = open_api_models.Params(
|
|
2323
|
+
action='GetCategoriesByTaskId',
|
|
2324
|
+
version='2023-08-01',
|
|
2325
|
+
protocol='HTTPS',
|
|
2326
|
+
pathname='/',
|
|
2327
|
+
method='POST',
|
|
2328
|
+
auth_type='AK',
|
|
2329
|
+
style='RPC',
|
|
2330
|
+
req_body_type='formData',
|
|
2331
|
+
body_type='json'
|
|
2332
|
+
)
|
|
2333
|
+
return TeaCore.from_map(
|
|
2334
|
+
ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse(),
|
|
2335
|
+
await self.call_api_async(params, req, runtime)
|
|
2336
|
+
)
|
|
2337
|
+
|
|
2338
|
+
def get_categories_by_task_id(
|
|
2339
|
+
self,
|
|
2340
|
+
request: ai_miao_bi_20230801_models.GetCategoriesByTaskIdRequest,
|
|
2341
|
+
) -> ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse:
|
|
2342
|
+
"""
|
|
2343
|
+
@summary 获取某次标签挖掘结果分类
|
|
2344
|
+
|
|
2345
|
+
@param request: GetCategoriesByTaskIdRequest
|
|
2346
|
+
@return: GetCategoriesByTaskIdResponse
|
|
2347
|
+
"""
|
|
2348
|
+
runtime = util_models.RuntimeOptions()
|
|
2349
|
+
return self.get_categories_by_task_id_with_options(request, runtime)
|
|
2350
|
+
|
|
2351
|
+
async def get_categories_by_task_id_async(
|
|
2352
|
+
self,
|
|
2353
|
+
request: ai_miao_bi_20230801_models.GetCategoriesByTaskIdRequest,
|
|
2354
|
+
) -> ai_miao_bi_20230801_models.GetCategoriesByTaskIdResponse:
|
|
2355
|
+
"""
|
|
2356
|
+
@summary 获取某次标签挖掘结果分类
|
|
2357
|
+
|
|
2358
|
+
@param request: GetCategoriesByTaskIdRequest
|
|
2359
|
+
@return: GetCategoriesByTaskIdResponse
|
|
2360
|
+
"""
|
|
2361
|
+
runtime = util_models.RuntimeOptions()
|
|
2362
|
+
return await self.get_categories_by_task_id_with_options_async(request, runtime)
|
|
2363
|
+
|
|
2264
2364
|
def get_custom_hot_topic_broadcast_job_with_options(
|
|
2265
2365
|
self,
|
|
2266
2366
|
request: ai_miao_bi_20230801_models.GetCustomHotTopicBroadcastJobRequest,
|
|
@@ -2781,6 +2881,106 @@ class Client(OpenApiClient):
|
|
|
2781
2881
|
runtime = util_models.RuntimeOptions()
|
|
2782
2882
|
return await self.get_doc_cluster_task_with_options_async(request, runtime)
|
|
2783
2883
|
|
|
2884
|
+
def get_enterprise_voc_analysis_task_with_options(
|
|
2885
|
+
self,
|
|
2886
|
+
request: ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskRequest,
|
|
2887
|
+
runtime: util_models.RuntimeOptions,
|
|
2888
|
+
) -> ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse:
|
|
2889
|
+
"""
|
|
2890
|
+
@summary 获取企业VOC分析任务结果
|
|
2891
|
+
|
|
2892
|
+
@param request: GetEnterpriseVocAnalysisTaskRequest
|
|
2893
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2894
|
+
@return: GetEnterpriseVocAnalysisTaskResponse
|
|
2895
|
+
"""
|
|
2896
|
+
UtilClient.validate_model(request)
|
|
2897
|
+
body = {}
|
|
2898
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2899
|
+
body['TaskId'] = request.task_id
|
|
2900
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2901
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2902
|
+
req = open_api_models.OpenApiRequest(
|
|
2903
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2904
|
+
)
|
|
2905
|
+
params = open_api_models.Params(
|
|
2906
|
+
action='GetEnterpriseVocAnalysisTask',
|
|
2907
|
+
version='2023-08-01',
|
|
2908
|
+
protocol='HTTPS',
|
|
2909
|
+
pathname='/',
|
|
2910
|
+
method='POST',
|
|
2911
|
+
auth_type='AK',
|
|
2912
|
+
style='RPC',
|
|
2913
|
+
req_body_type='formData',
|
|
2914
|
+
body_type='json'
|
|
2915
|
+
)
|
|
2916
|
+
return TeaCore.from_map(
|
|
2917
|
+
ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse(),
|
|
2918
|
+
self.call_api(params, req, runtime)
|
|
2919
|
+
)
|
|
2920
|
+
|
|
2921
|
+
async def get_enterprise_voc_analysis_task_with_options_async(
|
|
2922
|
+
self,
|
|
2923
|
+
request: ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskRequest,
|
|
2924
|
+
runtime: util_models.RuntimeOptions,
|
|
2925
|
+
) -> ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse:
|
|
2926
|
+
"""
|
|
2927
|
+
@summary 获取企业VOC分析任务结果
|
|
2928
|
+
|
|
2929
|
+
@param request: GetEnterpriseVocAnalysisTaskRequest
|
|
2930
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2931
|
+
@return: GetEnterpriseVocAnalysisTaskResponse
|
|
2932
|
+
"""
|
|
2933
|
+
UtilClient.validate_model(request)
|
|
2934
|
+
body = {}
|
|
2935
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2936
|
+
body['TaskId'] = request.task_id
|
|
2937
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2938
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2939
|
+
req = open_api_models.OpenApiRequest(
|
|
2940
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2941
|
+
)
|
|
2942
|
+
params = open_api_models.Params(
|
|
2943
|
+
action='GetEnterpriseVocAnalysisTask',
|
|
2944
|
+
version='2023-08-01',
|
|
2945
|
+
protocol='HTTPS',
|
|
2946
|
+
pathname='/',
|
|
2947
|
+
method='POST',
|
|
2948
|
+
auth_type='AK',
|
|
2949
|
+
style='RPC',
|
|
2950
|
+
req_body_type='formData',
|
|
2951
|
+
body_type='json'
|
|
2952
|
+
)
|
|
2953
|
+
return TeaCore.from_map(
|
|
2954
|
+
ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse(),
|
|
2955
|
+
await self.call_api_async(params, req, runtime)
|
|
2956
|
+
)
|
|
2957
|
+
|
|
2958
|
+
def get_enterprise_voc_analysis_task(
|
|
2959
|
+
self,
|
|
2960
|
+
request: ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskRequest,
|
|
2961
|
+
) -> ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse:
|
|
2962
|
+
"""
|
|
2963
|
+
@summary 获取企业VOC分析任务结果
|
|
2964
|
+
|
|
2965
|
+
@param request: GetEnterpriseVocAnalysisTaskRequest
|
|
2966
|
+
@return: GetEnterpriseVocAnalysisTaskResponse
|
|
2967
|
+
"""
|
|
2968
|
+
runtime = util_models.RuntimeOptions()
|
|
2969
|
+
return self.get_enterprise_voc_analysis_task_with_options(request, runtime)
|
|
2970
|
+
|
|
2971
|
+
async def get_enterprise_voc_analysis_task_async(
|
|
2972
|
+
self,
|
|
2973
|
+
request: ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskRequest,
|
|
2974
|
+
) -> ai_miao_bi_20230801_models.GetEnterpriseVocAnalysisTaskResponse:
|
|
2975
|
+
"""
|
|
2976
|
+
@summary 获取企业VOC分析任务结果
|
|
2977
|
+
|
|
2978
|
+
@param request: GetEnterpriseVocAnalysisTaskRequest
|
|
2979
|
+
@return: GetEnterpriseVocAnalysisTaskResponse
|
|
2980
|
+
"""
|
|
2981
|
+
runtime = util_models.RuntimeOptions()
|
|
2982
|
+
return await self.get_enterprise_voc_analysis_task_with_options_async(request, runtime)
|
|
2983
|
+
|
|
2784
2984
|
def get_generated_content_with_options(
|
|
2785
2985
|
self,
|
|
2786
2986
|
request: ai_miao_bi_20230801_models.GetGeneratedContentRequest,
|
|
@@ -4285,6 +4485,134 @@ class Client(OpenApiClient):
|
|
|
4285
4485
|
runtime = util_models.RuntimeOptions()
|
|
4286
4486
|
return await self.insert_intervene_rule_with_options_async(request, runtime)
|
|
4287
4487
|
|
|
4488
|
+
def list_analysis_tag_detail_by_task_id_with_options(
|
|
4489
|
+
self,
|
|
4490
|
+
tmp_req: ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdRequest,
|
|
4491
|
+
runtime: util_models.RuntimeOptions,
|
|
4492
|
+
) -> ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse:
|
|
4493
|
+
"""
|
|
4494
|
+
@summary 分页获取企业VOC分析任务明细列表
|
|
4495
|
+
|
|
4496
|
+
@param tmp_req: ListAnalysisTagDetailByTaskIdRequest
|
|
4497
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4498
|
+
@return: ListAnalysisTagDetailByTaskIdResponse
|
|
4499
|
+
"""
|
|
4500
|
+
UtilClient.validate_model(tmp_req)
|
|
4501
|
+
request = ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdShrinkRequest()
|
|
4502
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4503
|
+
if not UtilClient.is_unset(tmp_req.categories):
|
|
4504
|
+
request.categories_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.categories, 'Categories', 'json')
|
|
4505
|
+
body = {}
|
|
4506
|
+
if not UtilClient.is_unset(request.categories_shrink):
|
|
4507
|
+
body['Categories'] = request.categories_shrink
|
|
4508
|
+
if not UtilClient.is_unset(request.current):
|
|
4509
|
+
body['Current'] = request.current
|
|
4510
|
+
if not UtilClient.is_unset(request.max_results):
|
|
4511
|
+
body['MaxResults'] = request.max_results
|
|
4512
|
+
if not UtilClient.is_unset(request.next_token):
|
|
4513
|
+
body['NextToken'] = request.next_token
|
|
4514
|
+
if not UtilClient.is_unset(request.size):
|
|
4515
|
+
body['Size'] = request.size
|
|
4516
|
+
if not UtilClient.is_unset(request.task_id):
|
|
4517
|
+
body['TaskId'] = request.task_id
|
|
4518
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
4519
|
+
body['WorkspaceId'] = request.workspace_id
|
|
4520
|
+
req = open_api_models.OpenApiRequest(
|
|
4521
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4522
|
+
)
|
|
4523
|
+
params = open_api_models.Params(
|
|
4524
|
+
action='ListAnalysisTagDetailByTaskId',
|
|
4525
|
+
version='2023-08-01',
|
|
4526
|
+
protocol='HTTPS',
|
|
4527
|
+
pathname='/',
|
|
4528
|
+
method='POST',
|
|
4529
|
+
auth_type='AK',
|
|
4530
|
+
style='RPC',
|
|
4531
|
+
req_body_type='formData',
|
|
4532
|
+
body_type='json'
|
|
4533
|
+
)
|
|
4534
|
+
return TeaCore.from_map(
|
|
4535
|
+
ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse(),
|
|
4536
|
+
self.call_api(params, req, runtime)
|
|
4537
|
+
)
|
|
4538
|
+
|
|
4539
|
+
async def list_analysis_tag_detail_by_task_id_with_options_async(
|
|
4540
|
+
self,
|
|
4541
|
+
tmp_req: ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdRequest,
|
|
4542
|
+
runtime: util_models.RuntimeOptions,
|
|
4543
|
+
) -> ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse:
|
|
4544
|
+
"""
|
|
4545
|
+
@summary 分页获取企业VOC分析任务明细列表
|
|
4546
|
+
|
|
4547
|
+
@param tmp_req: ListAnalysisTagDetailByTaskIdRequest
|
|
4548
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4549
|
+
@return: ListAnalysisTagDetailByTaskIdResponse
|
|
4550
|
+
"""
|
|
4551
|
+
UtilClient.validate_model(tmp_req)
|
|
4552
|
+
request = ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdShrinkRequest()
|
|
4553
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4554
|
+
if not UtilClient.is_unset(tmp_req.categories):
|
|
4555
|
+
request.categories_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.categories, 'Categories', 'json')
|
|
4556
|
+
body = {}
|
|
4557
|
+
if not UtilClient.is_unset(request.categories_shrink):
|
|
4558
|
+
body['Categories'] = request.categories_shrink
|
|
4559
|
+
if not UtilClient.is_unset(request.current):
|
|
4560
|
+
body['Current'] = request.current
|
|
4561
|
+
if not UtilClient.is_unset(request.max_results):
|
|
4562
|
+
body['MaxResults'] = request.max_results
|
|
4563
|
+
if not UtilClient.is_unset(request.next_token):
|
|
4564
|
+
body['NextToken'] = request.next_token
|
|
4565
|
+
if not UtilClient.is_unset(request.size):
|
|
4566
|
+
body['Size'] = request.size
|
|
4567
|
+
if not UtilClient.is_unset(request.task_id):
|
|
4568
|
+
body['TaskId'] = request.task_id
|
|
4569
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
4570
|
+
body['WorkspaceId'] = request.workspace_id
|
|
4571
|
+
req = open_api_models.OpenApiRequest(
|
|
4572
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4573
|
+
)
|
|
4574
|
+
params = open_api_models.Params(
|
|
4575
|
+
action='ListAnalysisTagDetailByTaskId',
|
|
4576
|
+
version='2023-08-01',
|
|
4577
|
+
protocol='HTTPS',
|
|
4578
|
+
pathname='/',
|
|
4579
|
+
method='POST',
|
|
4580
|
+
auth_type='AK',
|
|
4581
|
+
style='RPC',
|
|
4582
|
+
req_body_type='formData',
|
|
4583
|
+
body_type='json'
|
|
4584
|
+
)
|
|
4585
|
+
return TeaCore.from_map(
|
|
4586
|
+
ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse(),
|
|
4587
|
+
await self.call_api_async(params, req, runtime)
|
|
4588
|
+
)
|
|
4589
|
+
|
|
4590
|
+
def list_analysis_tag_detail_by_task_id(
|
|
4591
|
+
self,
|
|
4592
|
+
request: ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdRequest,
|
|
4593
|
+
) -> ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse:
|
|
4594
|
+
"""
|
|
4595
|
+
@summary 分页获取企业VOC分析任务明细列表
|
|
4596
|
+
|
|
4597
|
+
@param request: ListAnalysisTagDetailByTaskIdRequest
|
|
4598
|
+
@return: ListAnalysisTagDetailByTaskIdResponse
|
|
4599
|
+
"""
|
|
4600
|
+
runtime = util_models.RuntimeOptions()
|
|
4601
|
+
return self.list_analysis_tag_detail_by_task_id_with_options(request, runtime)
|
|
4602
|
+
|
|
4603
|
+
async def list_analysis_tag_detail_by_task_id_async(
|
|
4604
|
+
self,
|
|
4605
|
+
request: ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdRequest,
|
|
4606
|
+
) -> ai_miao_bi_20230801_models.ListAnalysisTagDetailByTaskIdResponse:
|
|
4607
|
+
"""
|
|
4608
|
+
@summary 分页获取企业VOC分析任务明细列表
|
|
4609
|
+
|
|
4610
|
+
@param request: ListAnalysisTagDetailByTaskIdRequest
|
|
4611
|
+
@return: ListAnalysisTagDetailByTaskIdResponse
|
|
4612
|
+
"""
|
|
4613
|
+
runtime = util_models.RuntimeOptions()
|
|
4614
|
+
return await self.list_analysis_tag_detail_by_task_id_with_options_async(request, runtime)
|
|
4615
|
+
|
|
4288
4616
|
def list_async_tasks_with_options(
|
|
4289
4617
|
self,
|
|
4290
4618
|
tmp_req: ai_miao_bi_20230801_models.ListAsyncTasksRequest,
|
|
@@ -9665,6 +9993,154 @@ class Client(OpenApiClient):
|
|
|
9665
9993
|
runtime = util_models.RuntimeOptions()
|
|
9666
9994
|
return await self.submit_doc_cluster_task_with_options_async(request, runtime)
|
|
9667
9995
|
|
|
9996
|
+
def submit_enterprise_voc_analysis_task_with_options(
|
|
9997
|
+
self,
|
|
9998
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskRequest,
|
|
9999
|
+
runtime: util_models.RuntimeOptions,
|
|
10000
|
+
) -> ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse:
|
|
10001
|
+
"""
|
|
10002
|
+
@summary 提交VOC异步任务
|
|
10003
|
+
|
|
10004
|
+
@param tmp_req: SubmitEnterpriseVocAnalysisTaskRequest
|
|
10005
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10006
|
+
@return: SubmitEnterpriseVocAnalysisTaskResponse
|
|
10007
|
+
"""
|
|
10008
|
+
UtilClient.validate_model(tmp_req)
|
|
10009
|
+
request = ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskShrinkRequest()
|
|
10010
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
10011
|
+
if not UtilClient.is_unset(tmp_req.content_tags):
|
|
10012
|
+
request.content_tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.content_tags, 'ContentTags', 'json')
|
|
10013
|
+
if not UtilClient.is_unset(tmp_req.contents):
|
|
10014
|
+
request.contents_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.contents, 'Contents', 'json')
|
|
10015
|
+
if not UtilClient.is_unset(tmp_req.filter_tags):
|
|
10016
|
+
request.filter_tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.filter_tags, 'FilterTags', 'json')
|
|
10017
|
+
body = {}
|
|
10018
|
+
if not UtilClient.is_unset(request.content_tags_shrink):
|
|
10019
|
+
body['ContentTags'] = request.content_tags_shrink
|
|
10020
|
+
if not UtilClient.is_unset(request.contents_shrink):
|
|
10021
|
+
body['Contents'] = request.contents_shrink
|
|
10022
|
+
if not UtilClient.is_unset(request.file_key):
|
|
10023
|
+
body['FileKey'] = request.file_key
|
|
10024
|
+
if not UtilClient.is_unset(request.filter_tags_shrink):
|
|
10025
|
+
body['FilterTags'] = request.filter_tags_shrink
|
|
10026
|
+
if not UtilClient.is_unset(request.material_type):
|
|
10027
|
+
body['MaterialType'] = request.material_type
|
|
10028
|
+
if not UtilClient.is_unset(request.model_id):
|
|
10029
|
+
body['ModelId'] = request.model_id
|
|
10030
|
+
if not UtilClient.is_unset(request.positive_sample):
|
|
10031
|
+
body['PositiveSample'] = request.positive_sample
|
|
10032
|
+
if not UtilClient.is_unset(request.positive_sample_file_key):
|
|
10033
|
+
body['PositiveSampleFileKey'] = request.positive_sample_file_key
|
|
10034
|
+
if not UtilClient.is_unset(request.task_type):
|
|
10035
|
+
body['TaskType'] = request.task_type
|
|
10036
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10037
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10038
|
+
req = open_api_models.OpenApiRequest(
|
|
10039
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10040
|
+
)
|
|
10041
|
+
params = open_api_models.Params(
|
|
10042
|
+
action='SubmitEnterpriseVocAnalysisTask',
|
|
10043
|
+
version='2023-08-01',
|
|
10044
|
+
protocol='HTTPS',
|
|
10045
|
+
pathname='/',
|
|
10046
|
+
method='POST',
|
|
10047
|
+
auth_type='AK',
|
|
10048
|
+
style='RPC',
|
|
10049
|
+
req_body_type='formData',
|
|
10050
|
+
body_type='json'
|
|
10051
|
+
)
|
|
10052
|
+
return TeaCore.from_map(
|
|
10053
|
+
ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse(),
|
|
10054
|
+
self.call_api(params, req, runtime)
|
|
10055
|
+
)
|
|
10056
|
+
|
|
10057
|
+
async def submit_enterprise_voc_analysis_task_with_options_async(
|
|
10058
|
+
self,
|
|
10059
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskRequest,
|
|
10060
|
+
runtime: util_models.RuntimeOptions,
|
|
10061
|
+
) -> ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse:
|
|
10062
|
+
"""
|
|
10063
|
+
@summary 提交VOC异步任务
|
|
10064
|
+
|
|
10065
|
+
@param tmp_req: SubmitEnterpriseVocAnalysisTaskRequest
|
|
10066
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10067
|
+
@return: SubmitEnterpriseVocAnalysisTaskResponse
|
|
10068
|
+
"""
|
|
10069
|
+
UtilClient.validate_model(tmp_req)
|
|
10070
|
+
request = ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskShrinkRequest()
|
|
10071
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
10072
|
+
if not UtilClient.is_unset(tmp_req.content_tags):
|
|
10073
|
+
request.content_tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.content_tags, 'ContentTags', 'json')
|
|
10074
|
+
if not UtilClient.is_unset(tmp_req.contents):
|
|
10075
|
+
request.contents_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.contents, 'Contents', 'json')
|
|
10076
|
+
if not UtilClient.is_unset(tmp_req.filter_tags):
|
|
10077
|
+
request.filter_tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.filter_tags, 'FilterTags', 'json')
|
|
10078
|
+
body = {}
|
|
10079
|
+
if not UtilClient.is_unset(request.content_tags_shrink):
|
|
10080
|
+
body['ContentTags'] = request.content_tags_shrink
|
|
10081
|
+
if not UtilClient.is_unset(request.contents_shrink):
|
|
10082
|
+
body['Contents'] = request.contents_shrink
|
|
10083
|
+
if not UtilClient.is_unset(request.file_key):
|
|
10084
|
+
body['FileKey'] = request.file_key
|
|
10085
|
+
if not UtilClient.is_unset(request.filter_tags_shrink):
|
|
10086
|
+
body['FilterTags'] = request.filter_tags_shrink
|
|
10087
|
+
if not UtilClient.is_unset(request.material_type):
|
|
10088
|
+
body['MaterialType'] = request.material_type
|
|
10089
|
+
if not UtilClient.is_unset(request.model_id):
|
|
10090
|
+
body['ModelId'] = request.model_id
|
|
10091
|
+
if not UtilClient.is_unset(request.positive_sample):
|
|
10092
|
+
body['PositiveSample'] = request.positive_sample
|
|
10093
|
+
if not UtilClient.is_unset(request.positive_sample_file_key):
|
|
10094
|
+
body['PositiveSampleFileKey'] = request.positive_sample_file_key
|
|
10095
|
+
if not UtilClient.is_unset(request.task_type):
|
|
10096
|
+
body['TaskType'] = request.task_type
|
|
10097
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10098
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10099
|
+
req = open_api_models.OpenApiRequest(
|
|
10100
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10101
|
+
)
|
|
10102
|
+
params = open_api_models.Params(
|
|
10103
|
+
action='SubmitEnterpriseVocAnalysisTask',
|
|
10104
|
+
version='2023-08-01',
|
|
10105
|
+
protocol='HTTPS',
|
|
10106
|
+
pathname='/',
|
|
10107
|
+
method='POST',
|
|
10108
|
+
auth_type='AK',
|
|
10109
|
+
style='RPC',
|
|
10110
|
+
req_body_type='formData',
|
|
10111
|
+
body_type='json'
|
|
10112
|
+
)
|
|
10113
|
+
return TeaCore.from_map(
|
|
10114
|
+
ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse(),
|
|
10115
|
+
await self.call_api_async(params, req, runtime)
|
|
10116
|
+
)
|
|
10117
|
+
|
|
10118
|
+
def submit_enterprise_voc_analysis_task(
|
|
10119
|
+
self,
|
|
10120
|
+
request: ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskRequest,
|
|
10121
|
+
) -> ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse:
|
|
10122
|
+
"""
|
|
10123
|
+
@summary 提交VOC异步任务
|
|
10124
|
+
|
|
10125
|
+
@param request: SubmitEnterpriseVocAnalysisTaskRequest
|
|
10126
|
+
@return: SubmitEnterpriseVocAnalysisTaskResponse
|
|
10127
|
+
"""
|
|
10128
|
+
runtime = util_models.RuntimeOptions()
|
|
10129
|
+
return self.submit_enterprise_voc_analysis_task_with_options(request, runtime)
|
|
10130
|
+
|
|
10131
|
+
async def submit_enterprise_voc_analysis_task_async(
|
|
10132
|
+
self,
|
|
10133
|
+
request: ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskRequest,
|
|
10134
|
+
) -> ai_miao_bi_20230801_models.SubmitEnterpriseVocAnalysisTaskResponse:
|
|
10135
|
+
"""
|
|
10136
|
+
@summary 提交VOC异步任务
|
|
10137
|
+
|
|
10138
|
+
@param request: SubmitEnterpriseVocAnalysisTaskRequest
|
|
10139
|
+
@return: SubmitEnterpriseVocAnalysisTaskResponse
|
|
10140
|
+
"""
|
|
10141
|
+
runtime = util_models.RuntimeOptions()
|
|
10142
|
+
return await self.submit_enterprise_voc_analysis_task_with_options_async(request, runtime)
|
|
10143
|
+
|
|
9668
10144
|
def submit_topic_selection_perspective_analysis_task_with_options(
|
|
9669
10145
|
self,
|
|
9670
10146
|
tmp_req: ai_miao_bi_20230801_models.SubmitTopicSelectionPerspectiveAnalysisTaskRequest,
|
|
@@ -10200,3 +10676,111 @@ class Client(OpenApiClient):
|
|
|
10200
10676
|
"""
|
|
10201
10677
|
runtime = util_models.RuntimeOptions()
|
|
10202
10678
|
return await self.update_material_document_with_options_async(request, runtime)
|
|
10679
|
+
|
|
10680
|
+
def validate_upload_template_with_options(
|
|
10681
|
+
self,
|
|
10682
|
+
request: ai_miao_bi_20230801_models.ValidateUploadTemplateRequest,
|
|
10683
|
+
runtime: util_models.RuntimeOptions,
|
|
10684
|
+
) -> ai_miao_bi_20230801_models.ValidateUploadTemplateResponse:
|
|
10685
|
+
"""
|
|
10686
|
+
@summary 校验企业VOC上传模板
|
|
10687
|
+
|
|
10688
|
+
@param request: ValidateUploadTemplateRequest
|
|
10689
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10690
|
+
@return: ValidateUploadTemplateResponse
|
|
10691
|
+
"""
|
|
10692
|
+
UtilClient.validate_model(request)
|
|
10693
|
+
body = {}
|
|
10694
|
+
if not UtilClient.is_unset(request.file_key):
|
|
10695
|
+
body['FileKey'] = request.file_key
|
|
10696
|
+
if not UtilClient.is_unset(request.task_type):
|
|
10697
|
+
body['TaskType'] = request.task_type
|
|
10698
|
+
if not UtilClient.is_unset(request.template_type):
|
|
10699
|
+
body['TemplateType'] = request.template_type
|
|
10700
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10701
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10702
|
+
req = open_api_models.OpenApiRequest(
|
|
10703
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10704
|
+
)
|
|
10705
|
+
params = open_api_models.Params(
|
|
10706
|
+
action='ValidateUploadTemplate',
|
|
10707
|
+
version='2023-08-01',
|
|
10708
|
+
protocol='HTTPS',
|
|
10709
|
+
pathname='/',
|
|
10710
|
+
method='POST',
|
|
10711
|
+
auth_type='AK',
|
|
10712
|
+
style='RPC',
|
|
10713
|
+
req_body_type='formData',
|
|
10714
|
+
body_type='json'
|
|
10715
|
+
)
|
|
10716
|
+
return TeaCore.from_map(
|
|
10717
|
+
ai_miao_bi_20230801_models.ValidateUploadTemplateResponse(),
|
|
10718
|
+
self.call_api(params, req, runtime)
|
|
10719
|
+
)
|
|
10720
|
+
|
|
10721
|
+
async def validate_upload_template_with_options_async(
|
|
10722
|
+
self,
|
|
10723
|
+
request: ai_miao_bi_20230801_models.ValidateUploadTemplateRequest,
|
|
10724
|
+
runtime: util_models.RuntimeOptions,
|
|
10725
|
+
) -> ai_miao_bi_20230801_models.ValidateUploadTemplateResponse:
|
|
10726
|
+
"""
|
|
10727
|
+
@summary 校验企业VOC上传模板
|
|
10728
|
+
|
|
10729
|
+
@param request: ValidateUploadTemplateRequest
|
|
10730
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10731
|
+
@return: ValidateUploadTemplateResponse
|
|
10732
|
+
"""
|
|
10733
|
+
UtilClient.validate_model(request)
|
|
10734
|
+
body = {}
|
|
10735
|
+
if not UtilClient.is_unset(request.file_key):
|
|
10736
|
+
body['FileKey'] = request.file_key
|
|
10737
|
+
if not UtilClient.is_unset(request.task_type):
|
|
10738
|
+
body['TaskType'] = request.task_type
|
|
10739
|
+
if not UtilClient.is_unset(request.template_type):
|
|
10740
|
+
body['TemplateType'] = request.template_type
|
|
10741
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
10742
|
+
body['WorkspaceId'] = request.workspace_id
|
|
10743
|
+
req = open_api_models.OpenApiRequest(
|
|
10744
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
10745
|
+
)
|
|
10746
|
+
params = open_api_models.Params(
|
|
10747
|
+
action='ValidateUploadTemplate',
|
|
10748
|
+
version='2023-08-01',
|
|
10749
|
+
protocol='HTTPS',
|
|
10750
|
+
pathname='/',
|
|
10751
|
+
method='POST',
|
|
10752
|
+
auth_type='AK',
|
|
10753
|
+
style='RPC',
|
|
10754
|
+
req_body_type='formData',
|
|
10755
|
+
body_type='json'
|
|
10756
|
+
)
|
|
10757
|
+
return TeaCore.from_map(
|
|
10758
|
+
ai_miao_bi_20230801_models.ValidateUploadTemplateResponse(),
|
|
10759
|
+
await self.call_api_async(params, req, runtime)
|
|
10760
|
+
)
|
|
10761
|
+
|
|
10762
|
+
def validate_upload_template(
|
|
10763
|
+
self,
|
|
10764
|
+
request: ai_miao_bi_20230801_models.ValidateUploadTemplateRequest,
|
|
10765
|
+
) -> ai_miao_bi_20230801_models.ValidateUploadTemplateResponse:
|
|
10766
|
+
"""
|
|
10767
|
+
@summary 校验企业VOC上传模板
|
|
10768
|
+
|
|
10769
|
+
@param request: ValidateUploadTemplateRequest
|
|
10770
|
+
@return: ValidateUploadTemplateResponse
|
|
10771
|
+
"""
|
|
10772
|
+
runtime = util_models.RuntimeOptions()
|
|
10773
|
+
return self.validate_upload_template_with_options(request, runtime)
|
|
10774
|
+
|
|
10775
|
+
async def validate_upload_template_async(
|
|
10776
|
+
self,
|
|
10777
|
+
request: ai_miao_bi_20230801_models.ValidateUploadTemplateRequest,
|
|
10778
|
+
) -> ai_miao_bi_20230801_models.ValidateUploadTemplateResponse:
|
|
10779
|
+
"""
|
|
10780
|
+
@summary 校验企业VOC上传模板
|
|
10781
|
+
|
|
10782
|
+
@param request: ValidateUploadTemplateRequest
|
|
10783
|
+
@return: ValidateUploadTemplateResponse
|
|
10784
|
+
"""
|
|
10785
|
+
runtime = util_models.RuntimeOptions()
|
|
10786
|
+
return await self.validate_upload_template_with_options_async(request, runtime)
|