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,481 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ /**
23
+ * lke client
24
+ * @class
25
+ */
26
+ class Client extends TencentCloudCommon.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("lke.tencentcloudapi.com", "2023-11-30", clientConfig);
29
+ }
30
+ /**
31
+ * 文档列表
32
+ */
33
+ async ListDoc(req, cb) {
34
+ return this.request("ListDoc", req, cb);
35
+ }
36
+ /**
37
+ * 查询不满意回复列表
38
+ */
39
+ async ListUnsatisfiedReply(req, cb) {
40
+ return this.request("ListUnsatisfiedReply", req, cb);
41
+ }
42
+ /**
43
+ * 删除属性标签
44
+ */
45
+ async DeleteAttributeLabel(req, cb) {
46
+ return this.request("DeleteAttributeLabel", req, cb);
47
+ }
48
+ /**
49
+ * 保存文档
50
+ */
51
+ async SaveDoc(req, cb) {
52
+ return this.request("SaveDoc", req, cb);
53
+ }
54
+ /**
55
+ * 创建拒答问题
56
+ */
57
+ async CreateRejectedQuestion(req, cb) {
58
+ return this.request("CreateRejectedQuestion", req, cb);
59
+ }
60
+ /**
61
+ * 检查属性下的标签名是否存在
62
+ */
63
+ async CheckAttributeLabelExist(req, cb) {
64
+ return this.request("CheckAttributeLabelExist", req, cb);
65
+ }
66
+ /**
67
+ * 批量修改问答适用范围
68
+ */
69
+ async ModifyQAAttrRange(req, cb) {
70
+ return this.request("ModifyQAAttrRange", req, cb);
71
+ }
72
+ /**
73
+ * 文档详情
74
+ */
75
+ async DescribeDoc(req, cb) {
76
+ return this.request("DescribeDoc", req, cb);
77
+ }
78
+ /**
79
+ * 删除拒答问题
80
+ */
81
+ async DeleteRejectedQuestion(req, cb) {
82
+ return this.request("DeleteRejectedQuestion", req, cb);
83
+ }
84
+ /**
85
+ * 获取账户信息
86
+ */
87
+ async ListSelectDoc(req, cb) {
88
+ return this.request("ListSelectDoc", req, cb);
89
+ }
90
+ /**
91
+ * 多轮改写
92
+ */
93
+ async QueryRewrite(req, cb) {
94
+ return this.request("QueryRewrite", req, cb);
95
+ }
96
+ /**
97
+ * 更新问答
98
+ */
99
+ async ModifyQA(req, cb) {
100
+ return this.request("ModifyQA", req, cb);
101
+ }
102
+ /**
103
+ * 批量修改文档适用范围
104
+ */
105
+ async ModifyDocAttrRange(req, cb) {
106
+ return this.request("ModifyDocAttrRange", req, cb);
107
+ }
108
+ /**
109
+ * 获取文件上传临时密钥
110
+ */
111
+ async DescribeStorageCredential(req, cb) {
112
+ return this.request("DescribeStorageCredential", req, cb);
113
+ }
114
+ /**
115
+ * 创建发布
116
+ */
117
+ async CreateRelease(req, cb) {
118
+ return this.request("CreateRelease", req, cb);
119
+ }
120
+ /**
121
+ * 获取特征向量
122
+ */
123
+ async GetEmbedding(req, cb) {
124
+ return this.request("GetEmbedding", req, cb);
125
+ }
126
+ /**
127
+ * 文档解析重试
128
+ */
129
+ async RetryDocAudit(req, cb) {
130
+ return this.request("RetryDocAudit", req, cb);
131
+ }
132
+ /**
133
+ * 获取应用密钥
134
+ */
135
+ async GetAppSecret(req, cb) {
136
+ return this.request("GetAppSecret", req, cb);
137
+ }
138
+ /**
139
+ * 编辑属性标签
140
+ */
141
+ async ModifyAttributeLabel(req, cb) {
142
+ return this.request("ModifyAttributeLabel", req, cb);
143
+ }
144
+ /**
145
+ * 发布列表
146
+ */
147
+ async ListRelease(req, cb) {
148
+ return this.request("ListRelease", req, cb);
149
+ }
150
+ /**
151
+ * 是否意图转人工
152
+ */
153
+ async RateMsgRecord(req, cb) {
154
+ return this.request("RateMsgRecord", req, cb);
155
+ }
156
+ /**
157
+ * 问答列表
158
+ */
159
+ async ListQA(req, cb) {
160
+ return this.request("ListQA", req, cb);
161
+ }
162
+ /**
163
+ * 删除问答
164
+ */
165
+ async DeleteQA(req, cb) {
166
+ return this.request("DeleteQA", req, cb);
167
+ }
168
+ /**
169
+ * 通过appKey获取机器人业务ID
170
+ */
171
+ async DescribeRobotBizIDByAppKey(req, cb) {
172
+ return this.request("DescribeRobotBizIDByAppKey", req, cb);
173
+ }
174
+ /**
175
+ * 文档列表
176
+ */
177
+ async ListReleaseQAPreview(req, cb) {
178
+ return this.request("ListReleaseQAPreview", req, cb);
179
+ }
180
+ /**
181
+ * 导出QA列表
182
+ */
183
+ async ExportQAList(req, cb) {
184
+ return this.request("ExportQAList", req, cb);
185
+ }
186
+ /**
187
+ * 更新QA分类
188
+ */
189
+ async ModifyQACate(req, cb) {
190
+ return this.request("ModifyQACate", req, cb);
191
+ }
192
+ /**
193
+ * 删除应用
194
+ */
195
+ async DeleteApp(req, cb) {
196
+ return this.request("DeleteApp", req, cb);
197
+ }
198
+ /**
199
+ * 修改应用请求结构体
200
+ */
201
+ async ModifyApp(req, cb) {
202
+ return this.request("ModifyApp", req, cb);
203
+ }
204
+ /**
205
+ * 终止文档解析
206
+ */
207
+ async StopDocParse(req, cb) {
208
+ return this.request("StopDocParse", req, cb);
209
+ }
210
+ /**
211
+ * 修改拒答问题
212
+ */
213
+ async ModifyRejectedQuestion(req, cb) {
214
+ return this.request("ModifyRejectedQuestion", req, cb);
215
+ }
216
+ /**
217
+ * 检查属性标签引用
218
+ */
219
+ async CheckAttributeLabelRefer(req, cb) {
220
+ return this.request("CheckAttributeLabelRefer", req, cb);
221
+ }
222
+ /**
223
+ * 企业详情
224
+ */
225
+ async DescribeCorp(req, cb) {
226
+ return this.request("DescribeCorp", req, cb);
227
+ }
228
+ /**
229
+ * 创建属性
230
+ */
231
+ async CreateAttributeLabel(req, cb) {
232
+ return this.request("CreateAttributeLabel", req, cb);
233
+ }
234
+ /**
235
+ * 获取不满意回复上下文
236
+ */
237
+ async DescribeUnsatisfiedReplyContext(req, cb) {
238
+ return this.request("DescribeUnsatisfiedReplyContext", req, cb);
239
+ }
240
+ /**
241
+ * 上传导入属性标签
242
+ */
243
+ async UploadAttributeLabel(req, cb) {
244
+ return this.request("UploadAttributeLabel", req, cb);
245
+ }
246
+ /**
247
+ * 获取企业下应用列表
248
+ */
249
+ async ListApp(req, cb) {
250
+ return this.request("ListApp", req, cb);
251
+ }
252
+ /**
253
+ * 获取文档预览信息
254
+ */
255
+ async GetDocPreview(req, cb) {
256
+ return this.request("GetDocPreview", req, cb);
257
+ }
258
+ /**
259
+ * 发布文档预览
260
+ */
261
+ async ListReleaseDocPreview(req, cb) {
262
+ return this.request("ListReleaseDocPreview", req, cb);
263
+ }
264
+ /**
265
+ * 创建企业
266
+ */
267
+ async CreateCorp(req, cb) {
268
+ return this.request("CreateCorp", req, cb);
269
+ }
270
+ /**
271
+ * 查询属性标签详情
272
+ */
273
+ async DescribeAttributeLabel(req, cb) {
274
+ return this.request("DescribeAttributeLabel", req, cb);
275
+ }
276
+ /**
277
+ * 发布详情
278
+ */
279
+ async DescribeRelease(req, cb) {
280
+ return this.request("DescribeRelease", req, cb);
281
+ }
282
+ /**
283
+ * 问答详情
284
+ */
285
+ async DescribeQA(req, cb) {
286
+ return this.request("DescribeQA", req, cb);
287
+ }
288
+ /**
289
+ * 文档解析重试
290
+ */
291
+ async RetryDocParse(req, cb) {
292
+ return this.request("RetryDocParse", req, cb);
293
+ }
294
+ /**
295
+ * 拉取发布按钮状态、最后发布时间
296
+ */
297
+ async DescribeReleaseInfo(req, cb) {
298
+ return this.request("DescribeReleaseInfo", req, cb);
299
+ }
300
+ /**
301
+ * 录入问答
302
+ */
303
+ async CreateQA(req, cb) {
304
+ return this.request("CreateQA", req, cb);
305
+ }
306
+ /**
307
+ * 查询文件解析结果
308
+ */
309
+ async QueryParseDocResult(req, cb) {
310
+ return this.request("QueryParseDocResult", req, cb);
311
+ }
312
+ /**
313
+ * 查询属性标签列表
314
+ */
315
+ async ListAttributeLabel(req, cb) {
316
+ return this.request("ListAttributeLabel", req, cb);
317
+ }
318
+ /**
319
+ * 获取QA分类
320
+ */
321
+ async ListQACate(req, cb) {
322
+ return this.request("ListQACate", req, cb);
323
+ }
324
+ /**
325
+ * 获取模型列表
326
+ */
327
+ async GetAppKnowledgeCount(req, cb) {
328
+ return this.request("GetAppKnowledgeCount", req, cb);
329
+ }
330
+ /**
331
+ * 文档生成问答
332
+ */
333
+ async GenerateQA(req, cb) {
334
+ return this.request("GenerateQA", req, cb);
335
+ }
336
+ /**
337
+ * 应用类型列表
338
+ */
339
+ async ListAppCategory(req, cb) {
340
+ return this.request("ListAppCategory", req, cb);
341
+ }
342
+ /**
343
+ * 获取企业下应用详情
344
+ */
345
+ async DescribeApp(req, cb) {
346
+ return this.request("DescribeApp", req, cb);
347
+ }
348
+ /**
349
+ * 创建只是引擎应用,包括:知识管理应用、知识摘要应用、标签提取应用。
350
+ */
351
+ async CreateApp(req, cb) {
352
+ return this.request("CreateApp", req, cb);
353
+ }
354
+ /**
355
+ * 是否意图转人工
356
+ */
357
+ async IsTransferIntent(req, cb) {
358
+ return this.request("IsTransferIntent", req, cb);
359
+ }
360
+ /**
361
+ * 发布拒答问题预览
362
+ */
363
+ async ListRejectedQuestionPreview(req, cb) {
364
+ return this.request("ListRejectedQuestionPreview", req, cb);
365
+ }
366
+ /**
367
+ * 获取推荐问题
368
+ */
369
+ async GetMsgRecord(req, cb) {
370
+ return this.request("GetMsgRecord", req, cb);
371
+ }
372
+ /**
373
+ * 修改文档
374
+ */
375
+ async ModifyDoc(req, cb) {
376
+ return this.request("ModifyDoc", req, cb);
377
+ }
378
+ /**
379
+ * 解析拆分文件
380
+ */
381
+ async ParseDoc(req, cb) {
382
+ return this.request("ParseDoc", req, cb);
383
+ }
384
+ /**
385
+ * 获取ws token
386
+ */
387
+ async GetWsToken(req, cb) {
388
+ return this.request("GetWsToken", req, cb);
389
+ }
390
+ /**
391
+ * 创建企业
392
+ */
393
+ async DeleteDoc(req, cb) {
394
+ return this.request("DeleteDoc", req, cb);
395
+ }
396
+ /**
397
+ * 获取模型列表
398
+ */
399
+ async ListModel(req, cb) {
400
+ return this.request("ListModel", req, cb);
401
+ }
402
+ /**
403
+ * 校验问答
404
+ */
405
+ async VerifyQA(req, cb) {
406
+ return this.request("VerifyQA", req, cb);
407
+ }
408
+ /**
409
+ * QA分组
410
+ */
411
+ async GroupQA(req, cb) {
412
+ return this.request("GroupQA", req, cb);
413
+ }
414
+ /**
415
+ * 获取拒答问题
416
+ */
417
+ async ListRejectedQuestion(req, cb) {
418
+ return this.request("ListRejectedQuestion", req, cb);
419
+ }
420
+ /**
421
+ * 发布配置项预览
422
+ */
423
+ async ListReleaseConfigPreview(req, cb) {
424
+ return this.request("ListReleaseConfigPreview", req, cb);
425
+ }
426
+ /**
427
+ * 获取任务状态
428
+ */
429
+ async GetTaskStatus(req, cb) {
430
+ return this.request("GetTaskStatus", req, cb);
431
+ }
432
+ /**
433
+ * 分类删除
434
+ */
435
+ async DeleteQACate(req, cb) {
436
+ return this.request("DeleteQACate", req, cb);
437
+ }
438
+ /**
439
+ * 创建QA分类
440
+ */
441
+ async CreateQACate(req, cb) {
442
+ return this.request("CreateQACate", req, cb);
443
+ }
444
+ /**
445
+ * 导出不满意回复
446
+ */
447
+ async ExportUnsatisfiedReply(req, cb) {
448
+ return this.request("ExportUnsatisfiedReply", req, cb);
449
+ }
450
+ /**
451
+ * 重置会话
452
+ */
453
+ async ResetSession(req, cb) {
454
+ return this.request("ResetSession", req, cb);
455
+ }
456
+ /**
457
+ * 导出属性标签
458
+ */
459
+ async ExportAttributeLabel(req, cb) {
460
+ return this.request("ExportAttributeLabel", req, cb);
461
+ }
462
+ /**
463
+ * 发布暂停后重试
464
+ */
465
+ async RetryRelease(req, cb) {
466
+ return this.request("RetryRelease", req, cb);
467
+ }
468
+ /**
469
+ * 获取来源详情列表
470
+ */
471
+ async DescribeRefer(req, cb) {
472
+ return this.request("DescribeRefer", req, cb);
473
+ }
474
+ /**
475
+ * 忽略不满意回复
476
+ */
477
+ async IgnoreUnsatisfiedReply(req, cb) {
478
+ return this.request("IgnoreUnsatisfiedReply", req, cb);
479
+ }
480
+ }
481
+ exports.Client = Client;