tencentcloud-sdk-nodejs-lke 4.0.835

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.
@@ -0,0 +1,973 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
+ import {
20
+ ModifyQAAttrRangeResponse,
21
+ GetWsTokenResponse,
22
+ CheckAttributeLabelExistRequest,
23
+ AttributeFilters,
24
+ DescribeQAResponse,
25
+ GetWsTokenReq_Label,
26
+ GetAppKnowledgeCountRequest,
27
+ ResetSessionResponse,
28
+ ListSelectDocResponse,
29
+ DescribeReleaseInfoRequest,
30
+ DeleteDocRequest,
31
+ DescribeAppResponse,
32
+ UploadAttributeLabelResponse,
33
+ MsgRecord,
34
+ ListUnsatisfiedReplyResponse,
35
+ ExportAttributeLabelResponse,
36
+ ExportQAListResponse,
37
+ GetAppSecretResponse,
38
+ UnsatisfiedReply,
39
+ CreateQACateResponse,
40
+ ModifyDocAttrRangeResponse,
41
+ GetMsgRecordResponse,
42
+ AttrLabelRefer,
43
+ DescribeUnsatisfiedReplyContextRequest,
44
+ QAQuery,
45
+ ListAppRequest,
46
+ AttrLabel,
47
+ ModifyQAAttrRangeRequest,
48
+ ListRejectedQuestionResponse,
49
+ ModifyDocResponse,
50
+ ReleaseDoc,
51
+ KnowledgeQaSearch,
52
+ CreateCorpResponse,
53
+ ListQARequest,
54
+ ReferDetail,
55
+ ListUnsatisfiedReplyRequest,
56
+ DeleteQARequest,
57
+ ParseDocRequest,
58
+ ListReleaseRequest,
59
+ ListModelRequest,
60
+ SummaryOutput,
61
+ ModifyAppResponse,
62
+ ListDocResponse,
63
+ ModifyQARequest,
64
+ GetDocPreviewRequest,
65
+ ListRejectedQuestionPreviewResponse,
66
+ DescribeCorpRequest,
67
+ ListAppCategoryResponse,
68
+ CreateAppResponse,
69
+ DescribeAttributeLabelRequest,
70
+ CreateQARequest,
71
+ CreateCorpRequest,
72
+ RetryDocParseRequest,
73
+ QueryRewriteResponse,
74
+ ListQaItem,
75
+ DeleteAttributeLabelRequest,
76
+ DescribeRobotBizIDByAppKeyResponse,
77
+ DescribeDocResponse,
78
+ CreateReleaseRequest,
79
+ Label,
80
+ KnowledgeQaOutput,
81
+ CheckAttributeLabelReferRequest,
82
+ ModifyQACateRequest,
83
+ ModifyAttributeLabelRequest,
84
+ VerifyQARequest,
85
+ AttributeLabel,
86
+ Option,
87
+ ResetSessionRequest,
88
+ GetAppSecretRequest,
89
+ DeleteQACateResponse,
90
+ QueryParseDocResultResponse,
91
+ ListReleaseDocPreviewResponse,
92
+ SummaryConfig,
93
+ GenerateQAResponse,
94
+ GetTaskStatusResponse,
95
+ DescribeDocRequest,
96
+ RetryDocAuditRequest,
97
+ SaveDocRequest,
98
+ ModifyQACateResponse,
99
+ DescribeAttributeLabelResponse,
100
+ ModifyAttributeLabelResponse,
101
+ ListQACateResponse,
102
+ RetryDocParseResponse,
103
+ CreateRejectedQuestionResponse,
104
+ GetEmbeddingResponse,
105
+ ExportUnsatisfiedReplyRequest,
106
+ GroupQAResponse,
107
+ RetryReleaseRequest,
108
+ CreateAppRequest,
109
+ AppConfig,
110
+ DescribeReleaseRequest,
111
+ ReleaseQA,
112
+ ListAppCategoryRequest,
113
+ ListReleaseConfigPreviewRequest,
114
+ ListReleaseQAPreviewResponse,
115
+ ModifyRejectedQuestionResponse,
116
+ ListReleaseDocPreviewRequest,
117
+ DescribeUnsatisfiedReplyContextResponse,
118
+ Message,
119
+ ExportUnsatisfiedReplyResponse,
120
+ RateMsgRecordResponse,
121
+ AttrLabelDetail,
122
+ DescribeReferResponse,
123
+ Context,
124
+ ListDocRequest,
125
+ GetEmbeddingRequest,
126
+ GroupQARequest,
127
+ IsTransferIntentResponse,
128
+ DescribeQARequest,
129
+ DescribeAppRequest,
130
+ ListQAResponse,
131
+ IgnoreUnsatisfiedReplyRequest,
132
+ DescribeReleaseResponse,
133
+ TaskParams,
134
+ ListDocItem,
135
+ RateMsgRecordRequest,
136
+ AppModel,
137
+ ClassifyLabel,
138
+ RetryDocAuditResponse,
139
+ RetryReleaseResponse,
140
+ SaveDocResponse,
141
+ DeleteRejectedQuestionResponse,
142
+ Credentials,
143
+ CreateAttributeLabelRequest,
144
+ ListAppResponse,
145
+ AppInfo,
146
+ QueryParseDocResultRequest,
147
+ KnowledgeQaConfig,
148
+ RejectedQuestion,
149
+ MsgRecordReference,
150
+ ListRejectedQuestionPreviewRequest,
151
+ ListReleaseConfigPreviewResponse,
152
+ ModelInfo,
153
+ DeleteRejectedQuestionRequest,
154
+ Highlight,
155
+ ExportQAListRequest,
156
+ GetDocPreviewResponse,
157
+ CreateReleaseResponse,
158
+ QueryRewriteRequest,
159
+ ModifyAppRequest,
160
+ DeleteAttributeLabelResponse,
161
+ DeleteQACateRequest,
162
+ GenerateQARequest,
163
+ GetWsTokenRequest,
164
+ QACate,
165
+ EmbeddingObject,
166
+ ModifyDocRequest,
167
+ DeleteAppResponse,
168
+ ListAttributeLabelRequest,
169
+ DeleteDocResponse,
170
+ BaseConfig,
171
+ ClassifyConfig,
172
+ UploadAttributeLabelRequest,
173
+ ExportAttributeLabelRequest,
174
+ GetAppKnowledgeCountResponse,
175
+ CreateAttributeLabelResponse,
176
+ CreateQAResponse,
177
+ StopDocParseResponse,
178
+ ParseDocResponse,
179
+ ListQACateRequest,
180
+ ListReleaseQAPreviewRequest,
181
+ DescribeReleaseInfoResponse,
182
+ IsTransferIntentRequest,
183
+ DescribeReferRequest,
184
+ DeleteAppRequest,
185
+ VerifyQAResponse,
186
+ ListAppCategoryRspOption,
187
+ DescribeStorageCredentialRequest,
188
+ QAList,
189
+ DescribeCorpResponse,
190
+ ListReleaseResponse,
191
+ ListModelResponse,
192
+ ListAttributeLabelResponse,
193
+ ListReleaseItem,
194
+ ModifyQAResponse,
195
+ DeleteQAResponse,
196
+ GetMsgRecordRequest,
197
+ DescribeStorageCredentialResponse,
198
+ CheckAttributeLabelExistResponse,
199
+ GetTaskStatusRequest,
200
+ CheckAttributeLabelReferResponse,
201
+ ModifyDocAttrRangeRequest,
202
+ ReleaseRejectedQuestion,
203
+ CreateQACateRequest,
204
+ DescribeRobotBizIDByAppKeyRequest,
205
+ CreateRejectedQuestionRequest,
206
+ ListRejectedQuestionRequest,
207
+ ReleaseConfigs,
208
+ Filters,
209
+ ModifyRejectedQuestionRequest,
210
+ IgnoreUnsatisfiedReplyResponse,
211
+ StopDocParseRequest,
212
+ ListSelectDocRequest,
213
+ } from "./lke_models"
214
+
215
+ /**
216
+ * lke client
217
+ * @class
218
+ */
219
+ export class Client extends TencentCloudCommon.AbstractClient {
220
+ constructor(clientConfig: TencentCloudCommon.ClientConfig) {
221
+ super("lke.tencentcloudapi.com", "2023-11-30", clientConfig)
222
+ }
223
+
224
+ /**
225
+ * 文档列表
226
+ */
227
+ async ListDoc(
228
+ req: ListDocRequest,
229
+ cb?: (error: string, rep: ListDocResponse) => void
230
+ ): Promise<ListDocResponse> {
231
+ return this.request("ListDoc", req, cb)
232
+ }
233
+
234
+ /**
235
+ * 查询不满意回复列表
236
+ */
237
+ async ListUnsatisfiedReply(
238
+ req: ListUnsatisfiedReplyRequest,
239
+ cb?: (error: string, rep: ListUnsatisfiedReplyResponse) => void
240
+ ): Promise<ListUnsatisfiedReplyResponse> {
241
+ return this.request("ListUnsatisfiedReply", req, cb)
242
+ }
243
+
244
+ /**
245
+ * 删除属性标签
246
+ */
247
+ async DeleteAttributeLabel(
248
+ req: DeleteAttributeLabelRequest,
249
+ cb?: (error: string, rep: DeleteAttributeLabelResponse) => void
250
+ ): Promise<DeleteAttributeLabelResponse> {
251
+ return this.request("DeleteAttributeLabel", req, cb)
252
+ }
253
+
254
+ /**
255
+ * 保存文档
256
+ */
257
+ async SaveDoc(
258
+ req: SaveDocRequest,
259
+ cb?: (error: string, rep: SaveDocResponse) => void
260
+ ): Promise<SaveDocResponse> {
261
+ return this.request("SaveDoc", req, cb)
262
+ }
263
+
264
+ /**
265
+ * 创建拒答问题
266
+ */
267
+ async CreateRejectedQuestion(
268
+ req: CreateRejectedQuestionRequest,
269
+ cb?: (error: string, rep: CreateRejectedQuestionResponse) => void
270
+ ): Promise<CreateRejectedQuestionResponse> {
271
+ return this.request("CreateRejectedQuestion", req, cb)
272
+ }
273
+
274
+ /**
275
+ * 检查属性下的标签名是否存在
276
+ */
277
+ async CheckAttributeLabelExist(
278
+ req: CheckAttributeLabelExistRequest,
279
+ cb?: (error: string, rep: CheckAttributeLabelExistResponse) => void
280
+ ): Promise<CheckAttributeLabelExistResponse> {
281
+ return this.request("CheckAttributeLabelExist", req, cb)
282
+ }
283
+
284
+ /**
285
+ * 批量修改问答适用范围
286
+ */
287
+ async ModifyQAAttrRange(
288
+ req: ModifyQAAttrRangeRequest,
289
+ cb?: (error: string, rep: ModifyQAAttrRangeResponse) => void
290
+ ): Promise<ModifyQAAttrRangeResponse> {
291
+ return this.request("ModifyQAAttrRange", req, cb)
292
+ }
293
+
294
+ /**
295
+ * 文档详情
296
+ */
297
+ async DescribeDoc(
298
+ req: DescribeDocRequest,
299
+ cb?: (error: string, rep: DescribeDocResponse) => void
300
+ ): Promise<DescribeDocResponse> {
301
+ return this.request("DescribeDoc", req, cb)
302
+ }
303
+
304
+ /**
305
+ * 删除拒答问题
306
+ */
307
+ async DeleteRejectedQuestion(
308
+ req: DeleteRejectedQuestionRequest,
309
+ cb?: (error: string, rep: DeleteRejectedQuestionResponse) => void
310
+ ): Promise<DeleteRejectedQuestionResponse> {
311
+ return this.request("DeleteRejectedQuestion", req, cb)
312
+ }
313
+
314
+ /**
315
+ * 获取账户信息
316
+ */
317
+ async ListSelectDoc(
318
+ req: ListSelectDocRequest,
319
+ cb?: (error: string, rep: ListSelectDocResponse) => void
320
+ ): Promise<ListSelectDocResponse> {
321
+ return this.request("ListSelectDoc", req, cb)
322
+ }
323
+
324
+ /**
325
+ * 多轮改写
326
+ */
327
+ async QueryRewrite(
328
+ req: QueryRewriteRequest,
329
+ cb?: (error: string, rep: QueryRewriteResponse) => void
330
+ ): Promise<QueryRewriteResponse> {
331
+ return this.request("QueryRewrite", req, cb)
332
+ }
333
+
334
+ /**
335
+ * 更新问答
336
+ */
337
+ async ModifyQA(
338
+ req: ModifyQARequest,
339
+ cb?: (error: string, rep: ModifyQAResponse) => void
340
+ ): Promise<ModifyQAResponse> {
341
+ return this.request("ModifyQA", req, cb)
342
+ }
343
+
344
+ /**
345
+ * 批量修改文档适用范围
346
+ */
347
+ async ModifyDocAttrRange(
348
+ req: ModifyDocAttrRangeRequest,
349
+ cb?: (error: string, rep: ModifyDocAttrRangeResponse) => void
350
+ ): Promise<ModifyDocAttrRangeResponse> {
351
+ return this.request("ModifyDocAttrRange", req, cb)
352
+ }
353
+
354
+ /**
355
+ * 获取文件上传临时密钥
356
+ */
357
+ async DescribeStorageCredential(
358
+ req: DescribeStorageCredentialRequest,
359
+ cb?: (error: string, rep: DescribeStorageCredentialResponse) => void
360
+ ): Promise<DescribeStorageCredentialResponse> {
361
+ return this.request("DescribeStorageCredential", req, cb)
362
+ }
363
+
364
+ /**
365
+ * 创建发布
366
+ */
367
+ async CreateRelease(
368
+ req: CreateReleaseRequest,
369
+ cb?: (error: string, rep: CreateReleaseResponse) => void
370
+ ): Promise<CreateReleaseResponse> {
371
+ return this.request("CreateRelease", req, cb)
372
+ }
373
+
374
+ /**
375
+ * 获取特征向量
376
+ */
377
+ async GetEmbedding(
378
+ req: GetEmbeddingRequest,
379
+ cb?: (error: string, rep: GetEmbeddingResponse) => void
380
+ ): Promise<GetEmbeddingResponse> {
381
+ return this.request("GetEmbedding", req, cb)
382
+ }
383
+
384
+ /**
385
+ * 文档解析重试
386
+ */
387
+ async RetryDocAudit(
388
+ req: RetryDocAuditRequest,
389
+ cb?: (error: string, rep: RetryDocAuditResponse) => void
390
+ ): Promise<RetryDocAuditResponse> {
391
+ return this.request("RetryDocAudit", req, cb)
392
+ }
393
+
394
+ /**
395
+ * 获取应用密钥
396
+ */
397
+ async GetAppSecret(
398
+ req: GetAppSecretRequest,
399
+ cb?: (error: string, rep: GetAppSecretResponse) => void
400
+ ): Promise<GetAppSecretResponse> {
401
+ return this.request("GetAppSecret", req, cb)
402
+ }
403
+
404
+ /**
405
+ * 编辑属性标签
406
+ */
407
+ async ModifyAttributeLabel(
408
+ req: ModifyAttributeLabelRequest,
409
+ cb?: (error: string, rep: ModifyAttributeLabelResponse) => void
410
+ ): Promise<ModifyAttributeLabelResponse> {
411
+ return this.request("ModifyAttributeLabel", req, cb)
412
+ }
413
+
414
+ /**
415
+ * 发布列表
416
+ */
417
+ async ListRelease(
418
+ req: ListReleaseRequest,
419
+ cb?: (error: string, rep: ListReleaseResponse) => void
420
+ ): Promise<ListReleaseResponse> {
421
+ return this.request("ListRelease", req, cb)
422
+ }
423
+
424
+ /**
425
+ * 是否意图转人工
426
+ */
427
+ async RateMsgRecord(
428
+ req: RateMsgRecordRequest,
429
+ cb?: (error: string, rep: RateMsgRecordResponse) => void
430
+ ): Promise<RateMsgRecordResponse> {
431
+ return this.request("RateMsgRecord", req, cb)
432
+ }
433
+
434
+ /**
435
+ * 问答列表
436
+ */
437
+ async ListQA(
438
+ req: ListQARequest,
439
+ cb?: (error: string, rep: ListQAResponse) => void
440
+ ): Promise<ListQAResponse> {
441
+ return this.request("ListQA", req, cb)
442
+ }
443
+
444
+ /**
445
+ * 删除问答
446
+ */
447
+ async DeleteQA(
448
+ req: DeleteQARequest,
449
+ cb?: (error: string, rep: DeleteQAResponse) => void
450
+ ): Promise<DeleteQAResponse> {
451
+ return this.request("DeleteQA", req, cb)
452
+ }
453
+
454
+ /**
455
+ * 通过appKey获取机器人业务ID
456
+ */
457
+ async DescribeRobotBizIDByAppKey(
458
+ req: DescribeRobotBizIDByAppKeyRequest,
459
+ cb?: (error: string, rep: DescribeRobotBizIDByAppKeyResponse) => void
460
+ ): Promise<DescribeRobotBizIDByAppKeyResponse> {
461
+ return this.request("DescribeRobotBizIDByAppKey", req, cb)
462
+ }
463
+
464
+ /**
465
+ * 文档列表
466
+ */
467
+ async ListReleaseQAPreview(
468
+ req: ListReleaseQAPreviewRequest,
469
+ cb?: (error: string, rep: ListReleaseQAPreviewResponse) => void
470
+ ): Promise<ListReleaseQAPreviewResponse> {
471
+ return this.request("ListReleaseQAPreview", req, cb)
472
+ }
473
+
474
+ /**
475
+ * 导出QA列表
476
+ */
477
+ async ExportQAList(
478
+ req: ExportQAListRequest,
479
+ cb?: (error: string, rep: ExportQAListResponse) => void
480
+ ): Promise<ExportQAListResponse> {
481
+ return this.request("ExportQAList", req, cb)
482
+ }
483
+
484
+ /**
485
+ * 更新QA分类
486
+ */
487
+ async ModifyQACate(
488
+ req: ModifyQACateRequest,
489
+ cb?: (error: string, rep: ModifyQACateResponse) => void
490
+ ): Promise<ModifyQACateResponse> {
491
+ return this.request("ModifyQACate", req, cb)
492
+ }
493
+
494
+ /**
495
+ * 删除应用
496
+ */
497
+ async DeleteApp(
498
+ req: DeleteAppRequest,
499
+ cb?: (error: string, rep: DeleteAppResponse) => void
500
+ ): Promise<DeleteAppResponse> {
501
+ return this.request("DeleteApp", req, cb)
502
+ }
503
+
504
+ /**
505
+ * 修改应用请求结构体
506
+ */
507
+ async ModifyApp(
508
+ req: ModifyAppRequest,
509
+ cb?: (error: string, rep: ModifyAppResponse) => void
510
+ ): Promise<ModifyAppResponse> {
511
+ return this.request("ModifyApp", req, cb)
512
+ }
513
+
514
+ /**
515
+ * 终止文档解析
516
+ */
517
+ async StopDocParse(
518
+ req: StopDocParseRequest,
519
+ cb?: (error: string, rep: StopDocParseResponse) => void
520
+ ): Promise<StopDocParseResponse> {
521
+ return this.request("StopDocParse", req, cb)
522
+ }
523
+
524
+ /**
525
+ * 修改拒答问题
526
+ */
527
+ async ModifyRejectedQuestion(
528
+ req: ModifyRejectedQuestionRequest,
529
+ cb?: (error: string, rep: ModifyRejectedQuestionResponse) => void
530
+ ): Promise<ModifyRejectedQuestionResponse> {
531
+ return this.request("ModifyRejectedQuestion", req, cb)
532
+ }
533
+
534
+ /**
535
+ * 检查属性标签引用
536
+ */
537
+ async CheckAttributeLabelRefer(
538
+ req: CheckAttributeLabelReferRequest,
539
+ cb?: (error: string, rep: CheckAttributeLabelReferResponse) => void
540
+ ): Promise<CheckAttributeLabelReferResponse> {
541
+ return this.request("CheckAttributeLabelRefer", req, cb)
542
+ }
543
+
544
+ /**
545
+ * 企业详情
546
+ */
547
+ async DescribeCorp(
548
+ req?: DescribeCorpRequest,
549
+ cb?: (error: string, rep: DescribeCorpResponse) => void
550
+ ): Promise<DescribeCorpResponse> {
551
+ return this.request("DescribeCorp", req, cb)
552
+ }
553
+
554
+ /**
555
+ * 创建属性
556
+ */
557
+ async CreateAttributeLabel(
558
+ req: CreateAttributeLabelRequest,
559
+ cb?: (error: string, rep: CreateAttributeLabelResponse) => void
560
+ ): Promise<CreateAttributeLabelResponse> {
561
+ return this.request("CreateAttributeLabel", req, cb)
562
+ }
563
+
564
+ /**
565
+ * 获取不满意回复上下文
566
+ */
567
+ async DescribeUnsatisfiedReplyContext(
568
+ req: DescribeUnsatisfiedReplyContextRequest,
569
+ cb?: (error: string, rep: DescribeUnsatisfiedReplyContextResponse) => void
570
+ ): Promise<DescribeUnsatisfiedReplyContextResponse> {
571
+ return this.request("DescribeUnsatisfiedReplyContext", req, cb)
572
+ }
573
+
574
+ /**
575
+ * 上传导入属性标签
576
+ */
577
+ async UploadAttributeLabel(
578
+ req: UploadAttributeLabelRequest,
579
+ cb?: (error: string, rep: UploadAttributeLabelResponse) => void
580
+ ): Promise<UploadAttributeLabelResponse> {
581
+ return this.request("UploadAttributeLabel", req, cb)
582
+ }
583
+
584
+ /**
585
+ * 获取企业下应用列表
586
+ */
587
+ async ListApp(
588
+ req: ListAppRequest,
589
+ cb?: (error: string, rep: ListAppResponse) => void
590
+ ): Promise<ListAppResponse> {
591
+ return this.request("ListApp", req, cb)
592
+ }
593
+
594
+ /**
595
+ * 获取文档预览信息
596
+ */
597
+ async GetDocPreview(
598
+ req: GetDocPreviewRequest,
599
+ cb?: (error: string, rep: GetDocPreviewResponse) => void
600
+ ): Promise<GetDocPreviewResponse> {
601
+ return this.request("GetDocPreview", req, cb)
602
+ }
603
+
604
+ /**
605
+ * 发布文档预览
606
+ */
607
+ async ListReleaseDocPreview(
608
+ req: ListReleaseDocPreviewRequest,
609
+ cb?: (error: string, rep: ListReleaseDocPreviewResponse) => void
610
+ ): Promise<ListReleaseDocPreviewResponse> {
611
+ return this.request("ListReleaseDocPreview", req, cb)
612
+ }
613
+
614
+ /**
615
+ * 创建企业
616
+ */
617
+ async CreateCorp(
618
+ req: CreateCorpRequest,
619
+ cb?: (error: string, rep: CreateCorpResponse) => void
620
+ ): Promise<CreateCorpResponse> {
621
+ return this.request("CreateCorp", req, cb)
622
+ }
623
+
624
+ /**
625
+ * 查询属性标签详情
626
+ */
627
+ async DescribeAttributeLabel(
628
+ req: DescribeAttributeLabelRequest,
629
+ cb?: (error: string, rep: DescribeAttributeLabelResponse) => void
630
+ ): Promise<DescribeAttributeLabelResponse> {
631
+ return this.request("DescribeAttributeLabel", req, cb)
632
+ }
633
+
634
+ /**
635
+ * 发布详情
636
+ */
637
+ async DescribeRelease(
638
+ req: DescribeReleaseRequest,
639
+ cb?: (error: string, rep: DescribeReleaseResponse) => void
640
+ ): Promise<DescribeReleaseResponse> {
641
+ return this.request("DescribeRelease", req, cb)
642
+ }
643
+
644
+ /**
645
+ * 问答详情
646
+ */
647
+ async DescribeQA(
648
+ req: DescribeQARequest,
649
+ cb?: (error: string, rep: DescribeQAResponse) => void
650
+ ): Promise<DescribeQAResponse> {
651
+ return this.request("DescribeQA", req, cb)
652
+ }
653
+
654
+ /**
655
+ * 文档解析重试
656
+ */
657
+ async RetryDocParse(
658
+ req: RetryDocParseRequest,
659
+ cb?: (error: string, rep: RetryDocParseResponse) => void
660
+ ): Promise<RetryDocParseResponse> {
661
+ return this.request("RetryDocParse", req, cb)
662
+ }
663
+
664
+ /**
665
+ * 拉取发布按钮状态、最后发布时间
666
+ */
667
+ async DescribeReleaseInfo(
668
+ req: DescribeReleaseInfoRequest,
669
+ cb?: (error: string, rep: DescribeReleaseInfoResponse) => void
670
+ ): Promise<DescribeReleaseInfoResponse> {
671
+ return this.request("DescribeReleaseInfo", req, cb)
672
+ }
673
+
674
+ /**
675
+ * 录入问答
676
+ */
677
+ async CreateQA(
678
+ req: CreateQARequest,
679
+ cb?: (error: string, rep: CreateQAResponse) => void
680
+ ): Promise<CreateQAResponse> {
681
+ return this.request("CreateQA", req, cb)
682
+ }
683
+
684
+ /**
685
+ * 查询文件解析结果
686
+ */
687
+ async QueryParseDocResult(
688
+ req: QueryParseDocResultRequest,
689
+ cb?: (error: string, rep: QueryParseDocResultResponse) => void
690
+ ): Promise<QueryParseDocResultResponse> {
691
+ return this.request("QueryParseDocResult", req, cb)
692
+ }
693
+
694
+ /**
695
+ * 查询属性标签列表
696
+ */
697
+ async ListAttributeLabel(
698
+ req: ListAttributeLabelRequest,
699
+ cb?: (error: string, rep: ListAttributeLabelResponse) => void
700
+ ): Promise<ListAttributeLabelResponse> {
701
+ return this.request("ListAttributeLabel", req, cb)
702
+ }
703
+
704
+ /**
705
+ * 获取QA分类
706
+ */
707
+ async ListQACate(
708
+ req: ListQACateRequest,
709
+ cb?: (error: string, rep: ListQACateResponse) => void
710
+ ): Promise<ListQACateResponse> {
711
+ return this.request("ListQACate", req, cb)
712
+ }
713
+
714
+ /**
715
+ * 获取模型列表
716
+ */
717
+ async GetAppKnowledgeCount(
718
+ req: GetAppKnowledgeCountRequest,
719
+ cb?: (error: string, rep: GetAppKnowledgeCountResponse) => void
720
+ ): Promise<GetAppKnowledgeCountResponse> {
721
+ return this.request("GetAppKnowledgeCount", req, cb)
722
+ }
723
+
724
+ /**
725
+ * 文档生成问答
726
+ */
727
+ async GenerateQA(
728
+ req: GenerateQARequest,
729
+ cb?: (error: string, rep: GenerateQAResponse) => void
730
+ ): Promise<GenerateQAResponse> {
731
+ return this.request("GenerateQA", req, cb)
732
+ }
733
+
734
+ /**
735
+ * 应用类型列表
736
+ */
737
+ async ListAppCategory(
738
+ req?: ListAppCategoryRequest,
739
+ cb?: (error: string, rep: ListAppCategoryResponse) => void
740
+ ): Promise<ListAppCategoryResponse> {
741
+ return this.request("ListAppCategory", req, cb)
742
+ }
743
+
744
+ /**
745
+ * 获取企业下应用详情
746
+ */
747
+ async DescribeApp(
748
+ req: DescribeAppRequest,
749
+ cb?: (error: string, rep: DescribeAppResponse) => void
750
+ ): Promise<DescribeAppResponse> {
751
+ return this.request("DescribeApp", req, cb)
752
+ }
753
+
754
+ /**
755
+ * 创建只是引擎应用,包括:知识管理应用、知识摘要应用、标签提取应用。
756
+ */
757
+ async CreateApp(
758
+ req: CreateAppRequest,
759
+ cb?: (error: string, rep: CreateAppResponse) => void
760
+ ): Promise<CreateAppResponse> {
761
+ return this.request("CreateApp", req, cb)
762
+ }
763
+
764
+ /**
765
+ * 是否意图转人工
766
+ */
767
+ async IsTransferIntent(
768
+ req: IsTransferIntentRequest,
769
+ cb?: (error: string, rep: IsTransferIntentResponse) => void
770
+ ): Promise<IsTransferIntentResponse> {
771
+ return this.request("IsTransferIntent", req, cb)
772
+ }
773
+
774
+ /**
775
+ * 发布拒答问题预览
776
+ */
777
+ async ListRejectedQuestionPreview(
778
+ req: ListRejectedQuestionPreviewRequest,
779
+ cb?: (error: string, rep: ListRejectedQuestionPreviewResponse) => void
780
+ ): Promise<ListRejectedQuestionPreviewResponse> {
781
+ return this.request("ListRejectedQuestionPreview", req, cb)
782
+ }
783
+
784
+ /**
785
+ * 获取推荐问题
786
+ */
787
+ async GetMsgRecord(
788
+ req: GetMsgRecordRequest,
789
+ cb?: (error: string, rep: GetMsgRecordResponse) => void
790
+ ): Promise<GetMsgRecordResponse> {
791
+ return this.request("GetMsgRecord", req, cb)
792
+ }
793
+
794
+ /**
795
+ * 修改文档
796
+ */
797
+ async ModifyDoc(
798
+ req: ModifyDocRequest,
799
+ cb?: (error: string, rep: ModifyDocResponse) => void
800
+ ): Promise<ModifyDocResponse> {
801
+ return this.request("ModifyDoc", req, cb)
802
+ }
803
+
804
+ /**
805
+ * 解析拆分文件
806
+ */
807
+ async ParseDoc(
808
+ req: ParseDocRequest,
809
+ cb?: (error: string, rep: ParseDocResponse) => void
810
+ ): Promise<ParseDocResponse> {
811
+ return this.request("ParseDoc", req, cb)
812
+ }
813
+
814
+ /**
815
+ * 获取ws token
816
+ */
817
+ async GetWsToken(
818
+ req: GetWsTokenRequest,
819
+ cb?: (error: string, rep: GetWsTokenResponse) => void
820
+ ): Promise<GetWsTokenResponse> {
821
+ return this.request("GetWsToken", req, cb)
822
+ }
823
+
824
+ /**
825
+ * 创建企业
826
+ */
827
+ async DeleteDoc(
828
+ req: DeleteDocRequest,
829
+ cb?: (error: string, rep: DeleteDocResponse) => void
830
+ ): Promise<DeleteDocResponse> {
831
+ return this.request("DeleteDoc", req, cb)
832
+ }
833
+
834
+ /**
835
+ * 获取模型列表
836
+ */
837
+ async ListModel(
838
+ req: ListModelRequest,
839
+ cb?: (error: string, rep: ListModelResponse) => void
840
+ ): Promise<ListModelResponse> {
841
+ return this.request("ListModel", req, cb)
842
+ }
843
+
844
+ /**
845
+ * 校验问答
846
+ */
847
+ async VerifyQA(
848
+ req: VerifyQARequest,
849
+ cb?: (error: string, rep: VerifyQAResponse) => void
850
+ ): Promise<VerifyQAResponse> {
851
+ return this.request("VerifyQA", req, cb)
852
+ }
853
+
854
+ /**
855
+ * QA分组
856
+ */
857
+ async GroupQA(
858
+ req: GroupQARequest,
859
+ cb?: (error: string, rep: GroupQAResponse) => void
860
+ ): Promise<GroupQAResponse> {
861
+ return this.request("GroupQA", req, cb)
862
+ }
863
+
864
+ /**
865
+ * 获取拒答问题
866
+ */
867
+ async ListRejectedQuestion(
868
+ req: ListRejectedQuestionRequest,
869
+ cb?: (error: string, rep: ListRejectedQuestionResponse) => void
870
+ ): Promise<ListRejectedQuestionResponse> {
871
+ return this.request("ListRejectedQuestion", req, cb)
872
+ }
873
+
874
+ /**
875
+ * 发布配置项预览
876
+ */
877
+ async ListReleaseConfigPreview(
878
+ req: ListReleaseConfigPreviewRequest,
879
+ cb?: (error: string, rep: ListReleaseConfigPreviewResponse) => void
880
+ ): Promise<ListReleaseConfigPreviewResponse> {
881
+ return this.request("ListReleaseConfigPreview", req, cb)
882
+ }
883
+
884
+ /**
885
+ * 获取任务状态
886
+ */
887
+ async GetTaskStatus(
888
+ req: GetTaskStatusRequest,
889
+ cb?: (error: string, rep: GetTaskStatusResponse) => void
890
+ ): Promise<GetTaskStatusResponse> {
891
+ return this.request("GetTaskStatus", req, cb)
892
+ }
893
+
894
+ /**
895
+ * 分类删除
896
+ */
897
+ async DeleteQACate(
898
+ req: DeleteQACateRequest,
899
+ cb?: (error: string, rep: DeleteQACateResponse) => void
900
+ ): Promise<DeleteQACateResponse> {
901
+ return this.request("DeleteQACate", req, cb)
902
+ }
903
+
904
+ /**
905
+ * 创建QA分类
906
+ */
907
+ async CreateQACate(
908
+ req: CreateQACateRequest,
909
+ cb?: (error: string, rep: CreateQACateResponse) => void
910
+ ): Promise<CreateQACateResponse> {
911
+ return this.request("CreateQACate", req, cb)
912
+ }
913
+
914
+ /**
915
+ * 导出不满意回复
916
+ */
917
+ async ExportUnsatisfiedReply(
918
+ req: ExportUnsatisfiedReplyRequest,
919
+ cb?: (error: string, rep: ExportUnsatisfiedReplyResponse) => void
920
+ ): Promise<ExportUnsatisfiedReplyResponse> {
921
+ return this.request("ExportUnsatisfiedReply", req, cb)
922
+ }
923
+
924
+ /**
925
+ * 重置会话
926
+ */
927
+ async ResetSession(
928
+ req: ResetSessionRequest,
929
+ cb?: (error: string, rep: ResetSessionResponse) => void
930
+ ): Promise<ResetSessionResponse> {
931
+ return this.request("ResetSession", req, cb)
932
+ }
933
+
934
+ /**
935
+ * 导出属性标签
936
+ */
937
+ async ExportAttributeLabel(
938
+ req: ExportAttributeLabelRequest,
939
+ cb?: (error: string, rep: ExportAttributeLabelResponse) => void
940
+ ): Promise<ExportAttributeLabelResponse> {
941
+ return this.request("ExportAttributeLabel", req, cb)
942
+ }
943
+
944
+ /**
945
+ * 发布暂停后重试
946
+ */
947
+ async RetryRelease(
948
+ req: RetryReleaseRequest,
949
+ cb?: (error: string, rep: RetryReleaseResponse) => void
950
+ ): Promise<RetryReleaseResponse> {
951
+ return this.request("RetryRelease", req, cb)
952
+ }
953
+
954
+ /**
955
+ * 获取来源详情列表
956
+ */
957
+ async DescribeRefer(
958
+ req: DescribeReferRequest,
959
+ cb?: (error: string, rep: DescribeReferResponse) => void
960
+ ): Promise<DescribeReferResponse> {
961
+ return this.request("DescribeRefer", req, cb)
962
+ }
963
+
964
+ /**
965
+ * 忽略不满意回复
966
+ */
967
+ async IgnoreUnsatisfiedReply(
968
+ req: IgnoreUnsatisfiedReplyRequest,
969
+ cb?: (error: string, rep: IgnoreUnsatisfiedReplyResponse) => void
970
+ ): Promise<IgnoreUnsatisfiedReplyResponse> {
971
+ return this.request("IgnoreUnsatisfiedReply", req, cb)
972
+ }
973
+ }