@alicloud/dianjin20240628 1.6.4 → 1.6.5
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.
- package/dist/client.js +34 -208
- package/dist/client.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +34 -208
package/dist/client.js
CHANGED
|
@@ -44,7 +44,6 @@ exports.UpdateLibraryRequestIndexSetting = exports.UpdateLibraryRequestIndexSett
|
|
|
44
44
|
/**
|
|
45
45
|
*/
|
|
46
46
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
47
|
-
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
48
47
|
const oss_client_1 = __importStar(require("@alicloud/oss-client")), $OSS = oss_client_1;
|
|
49
48
|
const openplatform20191219_1 = __importStar(require("@alicloud/openplatform20191219")), $OpenPlatform = openplatform20191219_1;
|
|
50
49
|
const $OSSUtil = __importStar(require("@alicloud/oss-util"));
|
|
@@ -4752,9 +4751,6 @@ exports.UpdateLibraryRequestIndexSetting = UpdateLibraryRequestIndexSetting;
|
|
|
4752
4751
|
class Client extends openapi_client_1.default {
|
|
4753
4752
|
constructor(config) {
|
|
4754
4753
|
super(config);
|
|
4755
|
-
this._productId = "DianJin";
|
|
4756
|
-
let gatewayClient = new gateway_pop_1.default();
|
|
4757
|
-
this._spi = gatewayClient;
|
|
4758
4754
|
this._endpointRule = "";
|
|
4759
4755
|
this.checkConfig(config);
|
|
4760
4756
|
this._endpoint = this.getEndpoint("dianjin", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -4809,12 +4805,7 @@ class Client extends openapi_client_1.default {
|
|
|
4809
4805
|
reqBodyType: "json",
|
|
4810
4806
|
bodyType: "json",
|
|
4811
4807
|
});
|
|
4812
|
-
|
|
4813
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateAnnualDocSummaryTaskResponse({}));
|
|
4814
|
-
}
|
|
4815
|
-
else {
|
|
4816
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateAnnualDocSummaryTaskResponse({}));
|
|
4817
|
-
}
|
|
4808
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateAnnualDocSummaryTaskResponse({}));
|
|
4818
4809
|
}
|
|
4819
4810
|
/**
|
|
4820
4811
|
* 创建按年文档总结任务
|
|
@@ -4865,12 +4856,7 @@ class Client extends openapi_client_1.default {
|
|
|
4865
4856
|
reqBodyType: "json",
|
|
4866
4857
|
bodyType: "json",
|
|
4867
4858
|
});
|
|
4868
|
-
|
|
4869
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
|
|
4870
|
-
}
|
|
4871
|
-
else {
|
|
4872
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
|
|
4873
|
-
}
|
|
4859
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateDocsSummaryTaskResponse({}));
|
|
4874
4860
|
}
|
|
4875
4861
|
/**
|
|
4876
4862
|
* 创建财报总结任务
|
|
@@ -4933,12 +4919,7 @@ class Client extends openapi_client_1.default {
|
|
|
4933
4919
|
reqBodyType: "json",
|
|
4934
4920
|
bodyType: "json",
|
|
4935
4921
|
});
|
|
4936
|
-
|
|
4937
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateFinReportSummaryTaskResponse({}));
|
|
4938
|
-
}
|
|
4939
|
-
else {
|
|
4940
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateFinReportSummaryTaskResponse({}));
|
|
4941
|
-
}
|
|
4922
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateFinReportSummaryTaskResponse({}));
|
|
4942
4923
|
}
|
|
4943
4924
|
/**
|
|
4944
4925
|
* 创建财报总结任务
|
|
@@ -4986,12 +4967,7 @@ class Client extends openapi_client_1.default {
|
|
|
4986
4967
|
reqBodyType: "json",
|
|
4987
4968
|
bodyType: "json",
|
|
4988
4969
|
});
|
|
4989
|
-
|
|
4990
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateLibraryResponse({}));
|
|
4991
|
-
}
|
|
4992
|
-
else {
|
|
4993
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateLibraryResponse({}));
|
|
4994
|
-
}
|
|
4970
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateLibraryResponse({}));
|
|
4995
4971
|
}
|
|
4996
4972
|
/**
|
|
4997
4973
|
* 创建文档库
|
|
@@ -5045,12 +5021,7 @@ class Client extends openapi_client_1.default {
|
|
|
5045
5021
|
reqBodyType: "json",
|
|
5046
5022
|
bodyType: "json",
|
|
5047
5023
|
});
|
|
5048
|
-
|
|
5049
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreatePdfTranslateTaskResponse({}));
|
|
5050
|
-
}
|
|
5051
|
-
else {
|
|
5052
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreatePdfTranslateTaskResponse({}));
|
|
5053
|
-
}
|
|
5024
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreatePdfTranslateTaskResponse({}));
|
|
5054
5025
|
}
|
|
5055
5026
|
/**
|
|
5056
5027
|
* 创建PDF翻译任务
|
|
@@ -5101,12 +5072,7 @@ class Client extends openapi_client_1.default {
|
|
|
5101
5072
|
reqBodyType: "json",
|
|
5102
5073
|
bodyType: "json",
|
|
5103
5074
|
});
|
|
5104
|
-
|
|
5105
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreatePredefinedDocumentResponse({}));
|
|
5106
|
-
}
|
|
5107
|
-
else {
|
|
5108
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreatePredefinedDocumentResponse({}));
|
|
5109
|
-
}
|
|
5075
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreatePredefinedDocumentResponse({}));
|
|
5110
5076
|
}
|
|
5111
5077
|
/**
|
|
5112
5078
|
* 创建预定义文档
|
|
@@ -5163,12 +5129,7 @@ class Client extends openapi_client_1.default {
|
|
|
5163
5129
|
reqBodyType: "json",
|
|
5164
5130
|
bodyType: "json",
|
|
5165
5131
|
});
|
|
5166
|
-
|
|
5167
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateQualityCheckTaskResponse({}));
|
|
5168
|
-
}
|
|
5169
|
-
else {
|
|
5170
|
-
return $tea.cast(await this.execute(params, req, runtime), new CreateQualityCheckTaskResponse({}));
|
|
5171
|
-
}
|
|
5132
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateQualityCheckTaskResponse({}));
|
|
5172
5133
|
}
|
|
5173
5134
|
/**
|
|
5174
5135
|
* 创建财报总结的任务
|
|
@@ -5213,12 +5174,7 @@ class Client extends openapi_client_1.default {
|
|
|
5213
5174
|
reqBodyType: "json",
|
|
5214
5175
|
bodyType: "json",
|
|
5215
5176
|
});
|
|
5216
|
-
|
|
5217
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDocumentResponse({}));
|
|
5218
|
-
}
|
|
5219
|
-
else {
|
|
5220
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteDocumentResponse({}));
|
|
5221
|
-
}
|
|
5177
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDocumentResponse({}));
|
|
5222
5178
|
}
|
|
5223
5179
|
/**
|
|
5224
5180
|
* 删除文档
|
|
@@ -5260,12 +5216,7 @@ class Client extends openapi_client_1.default {
|
|
|
5260
5216
|
reqBodyType: "json",
|
|
5261
5217
|
bodyType: "json",
|
|
5262
5218
|
});
|
|
5263
|
-
|
|
5264
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLibraryResponse({}));
|
|
5265
|
-
}
|
|
5266
|
-
else {
|
|
5267
|
-
return $tea.cast(await this.execute(params, req, runtime), new DeleteLibraryResponse({}));
|
|
5268
|
-
}
|
|
5219
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLibraryResponse({}));
|
|
5269
5220
|
}
|
|
5270
5221
|
/**
|
|
5271
5222
|
* 删除文档库
|
|
@@ -5307,12 +5258,7 @@ class Client extends openapi_client_1.default {
|
|
|
5307
5258
|
reqBodyType: "json",
|
|
5308
5259
|
bodyType: "json",
|
|
5309
5260
|
});
|
|
5310
|
-
|
|
5311
|
-
return $tea.cast(await this.callApi(params, req, runtime), new EvictTaskResponse({}));
|
|
5312
|
-
}
|
|
5313
|
-
else {
|
|
5314
|
-
return $tea.cast(await this.execute(params, req, runtime), new EvictTaskResponse({}));
|
|
5315
|
-
}
|
|
5261
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EvictTaskResponse({}));
|
|
5316
5262
|
}
|
|
5317
5263
|
/**
|
|
5318
5264
|
* 中断任务
|
|
@@ -5347,12 +5293,7 @@ class Client extends openapi_client_1.default {
|
|
|
5347
5293
|
reqBodyType: "json",
|
|
5348
5294
|
bodyType: "json",
|
|
5349
5295
|
});
|
|
5350
|
-
|
|
5351
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetAppConfigResponse({}));
|
|
5352
|
-
}
|
|
5353
|
-
else {
|
|
5354
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetAppConfigResponse({}));
|
|
5355
|
-
}
|
|
5296
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetAppConfigResponse({}));
|
|
5356
5297
|
}
|
|
5357
5298
|
/**
|
|
5358
5299
|
* 获取app配置
|
|
@@ -5413,12 +5354,7 @@ class Client extends openapi_client_1.default {
|
|
|
5413
5354
|
reqBodyType: "json",
|
|
5414
5355
|
bodyType: "json",
|
|
5415
5356
|
});
|
|
5416
|
-
|
|
5417
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentChunkListResponse({}));
|
|
5418
|
-
}
|
|
5419
|
-
else {
|
|
5420
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetDocumentChunkListResponse({}));
|
|
5421
|
-
}
|
|
5357
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentChunkListResponse({}));
|
|
5422
5358
|
}
|
|
5423
5359
|
/**
|
|
5424
5360
|
* 获取文档的chunk列表
|
|
@@ -5469,12 +5405,7 @@ class Client extends openapi_client_1.default {
|
|
|
5469
5405
|
reqBodyType: "json",
|
|
5470
5406
|
bodyType: "json",
|
|
5471
5407
|
});
|
|
5472
|
-
|
|
5473
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentListResponse({}));
|
|
5474
|
-
}
|
|
5475
|
-
else {
|
|
5476
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetDocumentListResponse({}));
|
|
5477
|
-
}
|
|
5408
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentListResponse({}));
|
|
5478
5409
|
}
|
|
5479
5410
|
/**
|
|
5480
5411
|
* 分页查询文档库的文档列表
|
|
@@ -5516,12 +5447,7 @@ class Client extends openapi_client_1.default {
|
|
|
5516
5447
|
reqBodyType: "json",
|
|
5517
5448
|
bodyType: "json",
|
|
5518
5449
|
});
|
|
5519
|
-
|
|
5520
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentUrlResponse({}));
|
|
5521
|
-
}
|
|
5522
|
-
else {
|
|
5523
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetDocumentUrlResponse({}));
|
|
5524
|
-
}
|
|
5450
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetDocumentUrlResponse({}));
|
|
5525
5451
|
}
|
|
5526
5452
|
/**
|
|
5527
5453
|
* 获取文档URL
|
|
@@ -5581,12 +5507,7 @@ class Client extends openapi_client_1.default {
|
|
|
5581
5507
|
reqBodyType: "json",
|
|
5582
5508
|
bodyType: "json",
|
|
5583
5509
|
});
|
|
5584
|
-
|
|
5585
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetFilterDocumentListResponse({}));
|
|
5586
|
-
}
|
|
5587
|
-
else {
|
|
5588
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetFilterDocumentListResponse({}));
|
|
5589
|
-
}
|
|
5510
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetFilterDocumentListResponse({}));
|
|
5590
5511
|
}
|
|
5591
5512
|
/**
|
|
5592
5513
|
* 带条件的分页查询文档库的文档列表
|
|
@@ -5637,12 +5558,7 @@ class Client extends openapi_client_1.default {
|
|
|
5637
5558
|
reqBodyType: "json",
|
|
5638
5559
|
bodyType: "json",
|
|
5639
5560
|
});
|
|
5640
|
-
|
|
5641
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetHistoryListByBizTypeResponse({}));
|
|
5642
|
-
}
|
|
5643
|
-
else {
|
|
5644
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetHistoryListByBizTypeResponse({}));
|
|
5645
|
-
}
|
|
5561
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetHistoryListByBizTypeResponse({}));
|
|
5646
5562
|
}
|
|
5647
5563
|
/**
|
|
5648
5564
|
* 分页查询文档库列表
|
|
@@ -5684,12 +5600,7 @@ class Client extends openapi_client_1.default {
|
|
|
5684
5600
|
reqBodyType: "json",
|
|
5685
5601
|
bodyType: "json",
|
|
5686
5602
|
});
|
|
5687
|
-
|
|
5688
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetLibraryResponse({}));
|
|
5689
|
-
}
|
|
5690
|
-
else {
|
|
5691
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetLibraryResponse({}));
|
|
5692
|
-
}
|
|
5603
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetLibraryResponse({}));
|
|
5693
5604
|
}
|
|
5694
5605
|
/**
|
|
5695
5606
|
* 获取文档库配置详情
|
|
@@ -5737,12 +5648,7 @@ class Client extends openapi_client_1.default {
|
|
|
5737
5648
|
reqBodyType: "json",
|
|
5738
5649
|
bodyType: "json",
|
|
5739
5650
|
});
|
|
5740
|
-
|
|
5741
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetLibraryListResponse({}));
|
|
5742
|
-
}
|
|
5743
|
-
else {
|
|
5744
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetLibraryListResponse({}));
|
|
5745
|
-
}
|
|
5651
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetLibraryListResponse({}));
|
|
5746
5652
|
}
|
|
5747
5653
|
/**
|
|
5748
5654
|
* 分页查询文档库列表
|
|
@@ -5790,12 +5696,7 @@ class Client extends openapi_client_1.default {
|
|
|
5790
5696
|
reqBodyType: "json",
|
|
5791
5697
|
bodyType: "json",
|
|
5792
5698
|
});
|
|
5793
|
-
|
|
5794
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetParseResultResponse({}));
|
|
5795
|
-
}
|
|
5796
|
-
else {
|
|
5797
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetParseResultResponse({}));
|
|
5798
|
-
}
|
|
5699
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetParseResultResponse({}));
|
|
5799
5700
|
}
|
|
5800
5701
|
/**
|
|
5801
5702
|
* 获取解析结果
|
|
@@ -5837,12 +5738,7 @@ class Client extends openapi_client_1.default {
|
|
|
5837
5738
|
reqBodyType: "json",
|
|
5838
5739
|
bodyType: "json",
|
|
5839
5740
|
});
|
|
5840
|
-
|
|
5841
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
|
|
5842
|
-
}
|
|
5843
|
-
else {
|
|
5844
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
|
|
5845
|
-
}
|
|
5741
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetQualityCheckTaskResultResponse({}));
|
|
5846
5742
|
}
|
|
5847
5743
|
/**
|
|
5848
5744
|
* 获取异步任务的结果
|
|
@@ -5884,12 +5780,7 @@ class Client extends openapi_client_1.default {
|
|
|
5884
5780
|
reqBodyType: "json",
|
|
5885
5781
|
bodyType: "json",
|
|
5886
5782
|
});
|
|
5887
|
-
|
|
5888
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetSummaryTaskResultResponse({}));
|
|
5889
|
-
}
|
|
5890
|
-
else {
|
|
5891
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetSummaryTaskResultResponse({}));
|
|
5892
|
-
}
|
|
5783
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSummaryTaskResultResponse({}));
|
|
5893
5784
|
}
|
|
5894
5785
|
/**
|
|
5895
5786
|
* 获取财报总结任务结果
|
|
@@ -5931,12 +5822,7 @@ class Client extends openapi_client_1.default {
|
|
|
5931
5822
|
reqBodyType: "json",
|
|
5932
5823
|
bodyType: "json",
|
|
5933
5824
|
});
|
|
5934
|
-
|
|
5935
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTaskResultResponse({}));
|
|
5936
|
-
}
|
|
5937
|
-
else {
|
|
5938
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTaskResultResponse({}));
|
|
5939
|
-
}
|
|
5825
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTaskResultResponse({}));
|
|
5940
5826
|
}
|
|
5941
5827
|
/**
|
|
5942
5828
|
* 获取异步任务结果
|
|
@@ -5978,12 +5864,7 @@ class Client extends openapi_client_1.default {
|
|
|
5978
5864
|
reqBodyType: "json",
|
|
5979
5865
|
bodyType: "json",
|
|
5980
5866
|
});
|
|
5981
|
-
|
|
5982
|
-
return $tea.cast(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
|
|
5983
|
-
}
|
|
5984
|
-
else {
|
|
5985
|
-
return $tea.cast(await this.execute(params, req, runtime), new GetTaskStatusResponse({}));
|
|
5986
|
-
}
|
|
5867
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetTaskStatusResponse({}));
|
|
5987
5868
|
}
|
|
5988
5869
|
/**
|
|
5989
5870
|
* 获取财报总结任务结果
|
|
@@ -6028,12 +5909,7 @@ class Client extends openapi_client_1.default {
|
|
|
6028
5909
|
reqBodyType: "json",
|
|
6029
5910
|
bodyType: "json",
|
|
6030
5911
|
});
|
|
6031
|
-
|
|
6032
|
-
return $tea.cast(await this.callApi(params, req, runtime), new InvokePluginResponse({}));
|
|
6033
|
-
}
|
|
6034
|
-
else {
|
|
6035
|
-
return $tea.cast(await this.execute(params, req, runtime), new InvokePluginResponse({}));
|
|
6036
|
-
}
|
|
5912
|
+
return $tea.cast(await this.callApi(params, req, runtime), new InvokePluginResponse({}));
|
|
6037
5913
|
}
|
|
6038
5914
|
/**
|
|
6039
5915
|
* 插件调试接口
|
|
@@ -6075,12 +5951,7 @@ class Client extends openapi_client_1.default {
|
|
|
6075
5951
|
reqBodyType: "json",
|
|
6076
5952
|
bodyType: "json",
|
|
6077
5953
|
});
|
|
6078
|
-
|
|
6079
|
-
return $tea.cast(await this.callApi(params, req, runtime), new PreviewDocumentResponse({}));
|
|
6080
|
-
}
|
|
6081
|
-
else {
|
|
6082
|
-
return $tea.cast(await this.execute(params, req, runtime), new PreviewDocumentResponse({}));
|
|
6083
|
-
}
|
|
5954
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PreviewDocumentResponse({}));
|
|
6084
5955
|
}
|
|
6085
5956
|
/**
|
|
6086
5957
|
* 获取文档预览
|
|
@@ -6122,12 +5993,7 @@ class Client extends openapi_client_1.default {
|
|
|
6122
5993
|
reqBodyType: "json",
|
|
6123
5994
|
bodyType: "json",
|
|
6124
5995
|
});
|
|
6125
|
-
|
|
6126
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ReIndexResponse({}));
|
|
6127
|
-
}
|
|
6128
|
-
else {
|
|
6129
|
-
return $tea.cast(await this.execute(params, req, runtime), new ReIndexResponse({}));
|
|
6130
|
-
}
|
|
5996
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ReIndexResponse({}));
|
|
6131
5997
|
}
|
|
6132
5998
|
/**
|
|
6133
5999
|
* 重新索引
|
|
@@ -6169,12 +6035,7 @@ class Client extends openapi_client_1.default {
|
|
|
6169
6035
|
reqBodyType: "json",
|
|
6170
6036
|
bodyType: "json",
|
|
6171
6037
|
});
|
|
6172
|
-
|
|
6173
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RebuildTaskResponse({}));
|
|
6174
|
-
}
|
|
6175
|
-
else {
|
|
6176
|
-
return $tea.cast(await this.execute(params, req, runtime), new RebuildTaskResponse({}));
|
|
6177
|
-
}
|
|
6038
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RebuildTaskResponse({}));
|
|
6178
6039
|
}
|
|
6179
6040
|
/**
|
|
6180
6041
|
* 重建任务
|
|
@@ -6225,12 +6086,7 @@ class Client extends openapi_client_1.default {
|
|
|
6225
6086
|
reqBodyType: "json",
|
|
6226
6087
|
bodyType: "json",
|
|
6227
6088
|
});
|
|
6228
|
-
|
|
6229
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RecallDocumentResponse({}));
|
|
6230
|
-
}
|
|
6231
|
-
else {
|
|
6232
|
-
return $tea.cast(await this.execute(params, req, runtime), new RecallDocumentResponse({}));
|
|
6233
|
-
}
|
|
6089
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RecallDocumentResponse({}));
|
|
6234
6090
|
}
|
|
6235
6091
|
/**
|
|
6236
6092
|
* 文档召回。
|
|
@@ -6296,12 +6152,7 @@ class Client extends openapi_client_1.default {
|
|
|
6296
6152
|
reqBodyType: "json",
|
|
6297
6153
|
bodyType: "json",
|
|
6298
6154
|
});
|
|
6299
|
-
|
|
6300
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RecognizeIntentionResponse({}));
|
|
6301
|
-
}
|
|
6302
|
-
else {
|
|
6303
|
-
return $tea.cast(await this.execute(params, req, runtime), new RecognizeIntentionResponse({}));
|
|
6304
|
-
}
|
|
6155
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RecognizeIntentionResponse({}));
|
|
6305
6156
|
}
|
|
6306
6157
|
/**
|
|
6307
6158
|
* 意图识别
|
|
@@ -6358,12 +6209,7 @@ class Client extends openapi_client_1.default {
|
|
|
6358
6209
|
reqBodyType: "json",
|
|
6359
6210
|
bodyType: "json",
|
|
6360
6211
|
});
|
|
6361
|
-
|
|
6362
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RunChatResultGenerationResponse({}));
|
|
6363
|
-
}
|
|
6364
|
-
else {
|
|
6365
|
-
return $tea.cast(await this.execute(params, req, runtime), new RunChatResultGenerationResponse({}));
|
|
6366
|
-
}
|
|
6212
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RunChatResultGenerationResponse({}));
|
|
6367
6213
|
}
|
|
6368
6214
|
/**
|
|
6369
6215
|
* 获取生成式对话结果
|
|
@@ -6456,12 +6302,7 @@ class Client extends openapi_client_1.default {
|
|
|
6456
6302
|
reqBodyType: "json",
|
|
6457
6303
|
bodyType: "json",
|
|
6458
6304
|
});
|
|
6459
|
-
|
|
6460
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RunLibraryChatGenerationResponse({}));
|
|
6461
|
-
}
|
|
6462
|
-
else {
|
|
6463
|
-
return $tea.cast(await this.execute(params, req, runtime), new RunLibraryChatGenerationResponse({}));
|
|
6464
|
-
}
|
|
6305
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RunLibraryChatGenerationResponse({}));
|
|
6465
6306
|
}
|
|
6466
6307
|
/**
|
|
6467
6308
|
* 获取生成式对话结果
|
|
@@ -6512,12 +6353,7 @@ class Client extends openapi_client_1.default {
|
|
|
6512
6353
|
reqBodyType: "json",
|
|
6513
6354
|
bodyType: "json",
|
|
6514
6355
|
});
|
|
6515
|
-
|
|
6516
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UpdateDocumentResponse({}));
|
|
6517
|
-
}
|
|
6518
|
-
else {
|
|
6519
|
-
return $tea.cast(await this.execute(params, req, runtime), new UpdateDocumentResponse({}));
|
|
6520
|
-
}
|
|
6356
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateDocumentResponse({}));
|
|
6521
6357
|
}
|
|
6522
6358
|
/**
|
|
6523
6359
|
* 更新文档
|
|
@@ -6568,12 +6404,7 @@ class Client extends openapi_client_1.default {
|
|
|
6568
6404
|
reqBodyType: "json",
|
|
6569
6405
|
bodyType: "json",
|
|
6570
6406
|
});
|
|
6571
|
-
|
|
6572
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UpdateLibraryResponse({}));
|
|
6573
|
-
}
|
|
6574
|
-
else {
|
|
6575
|
-
return $tea.cast(await this.execute(params, req, runtime), new UpdateLibraryResponse({}));
|
|
6576
|
-
}
|
|
6407
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateLibraryResponse({}));
|
|
6577
6408
|
}
|
|
6578
6409
|
/**
|
|
6579
6410
|
* 更新文档库配置
|
|
@@ -6624,12 +6455,7 @@ class Client extends openapi_client_1.default {
|
|
|
6624
6455
|
reqBodyType: "json",
|
|
6625
6456
|
bodyType: "json",
|
|
6626
6457
|
});
|
|
6627
|
-
|
|
6628
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UploadDocumentResponse({}));
|
|
6629
|
-
}
|
|
6630
|
-
else {
|
|
6631
|
-
return $tea.cast(await this.execute(params, req, runtime), new UploadDocumentResponse({}));
|
|
6632
|
-
}
|
|
6458
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UploadDocumentResponse({}));
|
|
6633
6459
|
}
|
|
6634
6460
|
/**
|
|
6635
6461
|
* 上传文档到文档库
|