tencentcloud-sdk-nodejs-lke 4.1.55 → 4.1.57
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.
|
@@ -33,6 +33,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async DeleteQA(req, cb) {
|
|
34
34
|
return this.request("DeleteQA", req, cb);
|
|
35
35
|
}
|
|
36
|
+
async StopWorkflowRun(req, cb) {
|
|
37
|
+
return this.request("StopWorkflowRun", req, cb);
|
|
38
|
+
}
|
|
36
39
|
async CreateAttributeLabel(req, cb) {
|
|
37
40
|
return this.request("CreateAttributeLabel", req, cb);
|
|
38
41
|
}
|
|
@@ -84,8 +87,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
84
87
|
async DescribeSearchStatsGraph(req, cb) {
|
|
85
88
|
return this.request("DescribeSearchStatsGraph", req, cb);
|
|
86
89
|
}
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
90
|
+
async ListWorkflowRuns(req, cb) {
|
|
91
|
+
return this.request("ListWorkflowRuns", req, cb);
|
|
89
92
|
}
|
|
90
93
|
async VerifyQA(req, cb) {
|
|
91
94
|
return this.request("VerifyQA", req, cb);
|
|
@@ -141,6 +144,12 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
144
|
async DescribeTokenUsage(req, cb) {
|
|
142
145
|
return this.request("DescribeTokenUsage", req, cb);
|
|
143
146
|
}
|
|
147
|
+
async DescribeNodeRun(req, cb) {
|
|
148
|
+
return this.request("DescribeNodeRun", req, cb);
|
|
149
|
+
}
|
|
150
|
+
async DeleteDocCate(req, cb) {
|
|
151
|
+
return this.request("DeleteDocCate", req, cb);
|
|
152
|
+
}
|
|
144
153
|
async ListQACate(req, cb) {
|
|
145
154
|
return this.request("ListQACate", req, cb);
|
|
146
155
|
}
|
|
@@ -174,12 +183,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
174
183
|
async DeleteSharedKnowledge(req, cb) {
|
|
175
184
|
return this.request("DeleteSharedKnowledge", req, cb);
|
|
176
185
|
}
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
186
|
+
async ModifyDocCate(req, cb) {
|
|
187
|
+
return this.request("ModifyDocCate", req, cb);
|
|
179
188
|
}
|
|
180
189
|
async ListDoc(req, cb) {
|
|
181
190
|
return this.request("ListDoc", req, cb);
|
|
182
191
|
}
|
|
192
|
+
async CreateWorkflowRun(req, cb) {
|
|
193
|
+
return this.request("CreateWorkflowRun", req, cb);
|
|
194
|
+
}
|
|
183
195
|
async ListQA(req, cb) {
|
|
184
196
|
return this.request("ListQA", req, cb);
|
|
185
197
|
}
|
|
@@ -189,8 +201,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
201
|
async GetLikeDataCount(req, cb) {
|
|
190
202
|
return this.request("GetLikeDataCount", req, cb);
|
|
191
203
|
}
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
204
|
+
async DescribeRobotBizIDByAppKey(req, cb) {
|
|
205
|
+
return this.request("DescribeRobotBizIDByAppKey", req, cb);
|
|
194
206
|
}
|
|
195
207
|
async ExportQAList(req, cb) {
|
|
196
208
|
return this.request("ExportQAList", req, cb);
|
|
@@ -210,8 +222,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
210
222
|
async IsTransferIntent(req, cb) {
|
|
211
223
|
return this.request("IsTransferIntent", req, cb);
|
|
212
224
|
}
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
225
|
+
async IgnoreUnsatisfiedReply(req, cb) {
|
|
226
|
+
return this.request("IgnoreUnsatisfiedReply", req, cb);
|
|
215
227
|
}
|
|
216
228
|
async ReferShareKnowledge(req, cb) {
|
|
217
229
|
return this.request("ReferShareKnowledge", req, cb);
|
|
@@ -267,6 +279,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
267
279
|
async GetAnswerTypeDataCount(req, cb) {
|
|
268
280
|
return this.request("GetAnswerTypeDataCount", req, cb);
|
|
269
281
|
}
|
|
282
|
+
async DescribeWorkflowRun(req, cb) {
|
|
283
|
+
return this.request("DescribeWorkflowRun", req, cb);
|
|
284
|
+
}
|
|
270
285
|
async ListReleaseDocPreview(req, cb) {
|
|
271
286
|
return this.request("ListReleaseDocPreview", req, cb);
|
|
272
287
|
}
|
|
@@ -312,7 +327,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
312
327
|
async ListAppKnowledgeDetail(req, cb) {
|
|
313
328
|
return this.request("ListAppKnowledgeDetail", req, cb);
|
|
314
329
|
}
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
330
|
+
async DescribeReleaseInfo(req, cb) {
|
|
331
|
+
return this.request("DescribeReleaseInfo", req, cb);
|
|
317
332
|
}
|
|
318
333
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyQAAttrRangeResponse, GetWsTokenResponse, ListUsageCallDetailRequest, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, StopDocParseResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, GetAnswerTypeDataCountRequest, UploadAttributeLabelResponse, CreateDocCateResponse, DeleteDocCateResponse, ExportAttributeLabelResponse, ModifyAppResponse, ExportQAListResponse, GetAppSecretResponse,
|
|
2
|
+
import { ModifyQAAttrRangeResponse, GetWsTokenResponse, ListUsageCallDetailRequest, CheckAttributeLabelExistRequest, DescribeQAResponse, GetAppKnowledgeCountRequest, StopDocParseResponse, ListSelectDocResponse, DescribeReleaseInfoRequest, DeleteDocRequest, CreateWorkflowRunResponse, GetAnswerTypeDataCountRequest, UploadAttributeLabelResponse, CreateDocCateResponse, DeleteDocCateResponse, ExportAttributeLabelResponse, ModifyAppResponse, ExportQAListResponse, GetAppSecretResponse, CreateWorkflowRunRequest, CreateQACateResponse, ModifyDocAttrRangeResponse, CreateSharedKnowledgeRequest, DescribeQARequest, DescribeWorkflowRunRequest, DescribeUnsatisfiedReplyContextRequest, GetEmbeddingRequest, ListAppRequest, UpdateSharedKnowledgeRequest, ModifyQAAttrRangeRequest, ModifyDocResponse, CreateCorpResponse, ListQARequest, DescribeKnowledgeUsageResponse, DeleteSharedKnowledgeResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, GetLikeDataCountResponse, IsTransferIntentResponse, CreateDocCateRequest, ListReferShareKnowledgeResponse, ListDocResponse, GetDocPreviewRequest, ModifyQARequest, ExportUnsatisfiedReplyResponse, ListDocCateResponse, ListRejectedQuestionPreviewResponse, DescribeCorpRequest, ListAppCategoryResponse, CreateAppResponse, DescribeAttributeLabelRequest, CreateQARequest, CreateCorpRequest, QueryRewriteResponse, ListQAResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, RenameDocResponse, ReconstructDocumentResponse, IgnoreUnsatisfiedReplyRequest, ListDocCateRequest, DescribeDocResponse, CreateReleaseRequest, ModifyRejectedQuestionRequest, GroupDocRequest, CheckAttributeLabelReferRequest, CreateSharedKnowledgeResponse, ModifyQACateRequest, ModifyAttributeLabelRequest, ConvertDocumentRequest, ListWorkflowRunsRequest, ListUnsatisfiedReplyResponse, GetAppSecretRequest, DeleteQACateResponse, SaveDocResponse, ListReleaseDocPreviewResponse, StopWorkflowRunRequest, RenameDocRequest, StopWorkflowRunResponse, GenerateQAResponse, GetTaskStatusResponse, DescribeConcurrencyUsageGraphRequest, DescribeDocRequest, DescribeTokenUsageGraphRequest, ListSharedKnowledgeRequest, ConvertDocumentResponse, RetryDocAuditRequest, SaveDocRequest, RetryDocParseRequest, ListAppKnowledgeDetailResponse, ModifyQACateResponse, DescribeAttributeLabelResponse, ListQACateResponse, GetVarListRequest, RetryDocParseResponse, CreateRejectedQuestionResponse, GetEmbeddingResponse, ExportUnsatisfiedReplyRequest, GroupQAResponse, CreateAppRequest, DescribeReleaseRequest, ListAppCategoryRequest, ListReleaseConfigPreviewRequest, ListReleaseDocPreviewRequest, DescribeUnsatisfiedReplyContextResponse, CreateRejectedQuestionRequest, DescribeKnowledgeUsagePieGraphRequest, DescribeReferResponse, ListDocRequest, ReconstructDocumentRequest, GetAnswerTypeDataCountResponse, GroupQARequest, RateMsgRecordRequest, DescribeCallStatsGraphRequest, GetMsgRecordResponse, DescribeAppRequest, GetReconstructDocumentResultRequest, DescribeKnowledgeUsageRequest, DeleteSharedKnowledgeRequest, DescribeNodeRunRequest, DescribeReleaseResponse, DescribeConcurrencyUsageGraphResponse, VerifyQARequest, DescribeKnowledgeUsagePieGraphResponse, ListRejectedQuestionResponse, ListReleaseQAPreviewResponse, DescribeTokenUsageGraphResponse, RetryDocAuditResponse, GetReconstructDocumentResultResponse, ModifyDocCateRequest, ReferShareKnowledgeResponse, GetLikeDataCountRequest, ModifyAttributeLabelResponse, DeleteRejectedQuestionResponse, CreateAttributeLabelRequest, ListAppResponse, DescribeSharedKnowledgeResponse, RunReRankResponse, ListRejectedQuestionPreviewRequest, ListReleaseConfigPreviewResponse, DeleteRejectedQuestionRequest, ExportQAListRequest, GetDocPreviewResponse, DescribeConcurrencyUsageResponse, CreateReleaseResponse, QueryRewriteRequest, ModifyAppRequest, RunReRankRequest, DeleteAttributeLabelResponse, RetryReleaseRequest, ListSharedKnowledgeResponse, DeleteQACateRequest, GenerateQARequest, GetWsTokenRequest, DescribeSharedKnowledgeRequest, ListReferShareKnowledgeRequest, ModifyDocRequest, DescribeTokenUsageResponse, DeleteAppResponse, ListWorkflowRunsResponse, ListAttributeLabelRequest, DeleteDocCateRequest, DeleteDocResponse, DescribeSegmentsResponse, DescribeConcurrencyUsageRequest, GroupDocResponse, UploadAttributeLabelRequest, ListUsageCallDetailResponse, ExportAttributeLabelRequest, DescribeTokenUsageRequest, GetAppKnowledgeCountResponse, RetryReleaseResponse, CreateAttributeLabelResponse, DescribeWorkflowRunResponse, ListAppKnowledgeDetailRequest, CreateQAResponse, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeReleaseInfoResponse, IsTransferIntentRequest, DescribeAppResponse, DeleteAppRequest, ModifyRejectedQuestionResponse, GetVarListResponse, ListRejectedQuestionRequest, UpdateSharedKnowledgeResponse, DescribeStorageCredentialRequest, DescribeCorpResponse, ModifyDocCateResponse, ListReleaseResponse, ListModelResponse, DescribeNodeRunResponse, ListAttributeLabelResponse, ModifyQAResponse, DeleteQAResponse, DescribeCallStatsGraphResponse, GetMsgRecordRequest, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, CheckAttributeLabelReferResponse, RateMsgRecordResponse, CreateVarResponse, ModifyDocAttrRangeRequest, CreateQACateRequest, DescribeRobotBizIDByAppKeyRequest, CreateVarRequest, StopDocParseRequest, VerifyQAResponse, DescribeSegmentsRequest, DescribeSearchStatsGraphRequest, DescribeSearchStatsGraphResponse, DescribeReferRequest, IgnoreUnsatisfiedReplyResponse, ListReleaseRequest, ListModelRequest, ReferShareKnowledgeRequest, ListSelectDocRequest } from "./lke_models";
|
|
3
3
|
/**
|
|
4
4
|
* lke client
|
|
5
5
|
* @class
|
|
@@ -46,6 +46,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
46
|
* 删除问答
|
|
47
47
|
*/
|
|
48
48
|
DeleteQA(req: DeleteQARequest, cb?: (error: string, rep: DeleteQAResponse) => void): Promise<DeleteQAResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 此接口用来停止正在进行的工作流异步运行实例。
|
|
51
|
+
*/
|
|
52
|
+
StopWorkflowRun(req: StopWorkflowRunRequest, cb?: (error: string, rep: StopWorkflowRunResponse) => void): Promise<StopWorkflowRunResponse>;
|
|
49
53
|
/**
|
|
50
54
|
* 创建标签
|
|
51
55
|
*/
|
|
@@ -117,9 +121,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
117
121
|
*/
|
|
118
122
|
DescribeSearchStatsGraph(req: DescribeSearchStatsGraphRequest, cb?: (error: string, rep: DescribeSearchStatsGraphResponse) => void): Promise<DescribeSearchStatsGraphResponse>;
|
|
119
123
|
/**
|
|
120
|
-
*
|
|
124
|
+
* 此接口可查询已创建的所有工作流异步运行实例。
|
|
121
125
|
*/
|
|
122
|
-
|
|
126
|
+
ListWorkflowRuns(req: ListWorkflowRunsRequest, cb?: (error: string, rep: ListWorkflowRunsResponse) => void): Promise<ListWorkflowRunsResponse>;
|
|
123
127
|
/**
|
|
124
128
|
* 校验问答
|
|
125
129
|
*/
|
|
@@ -192,6 +196,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
192
196
|
* 接口调用token详情
|
|
193
197
|
*/
|
|
194
198
|
DescribeTokenUsage(req: DescribeTokenUsageRequest, cb?: (error: string, rep: DescribeTokenUsageResponse) => void): Promise<DescribeTokenUsageResponse>;
|
|
199
|
+
/**
|
|
200
|
+
* 通过DescribeWorkflowRun接口获取了工作流异步运行的整体内容,其中包含了基本的节点信息,再通用本接口可查看节点的运行详情(包括输入、输出、日志等)。
|
|
201
|
+
*/
|
|
202
|
+
DescribeNodeRun(req: DescribeNodeRunRequest, cb?: (error: string, rep: DescribeNodeRunResponse) => void): Promise<DescribeNodeRunResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* Doc分类删除
|
|
205
|
+
*/
|
|
206
|
+
DeleteDocCate(req: DeleteDocCateRequest, cb?: (error: string, rep: DeleteDocCateResponse) => void): Promise<DeleteDocCateResponse>;
|
|
195
207
|
/**
|
|
196
208
|
* 获取QA分类
|
|
197
209
|
*/
|
|
@@ -237,13 +249,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
237
249
|
*/
|
|
238
250
|
DeleteSharedKnowledge(req: DeleteSharedKnowledgeRequest, cb?: (error: string, rep: DeleteSharedKnowledgeResponse) => void): Promise<DeleteSharedKnowledgeResponse>;
|
|
239
251
|
/**
|
|
240
|
-
*
|
|
252
|
+
* 修改Doc分类
|
|
241
253
|
*/
|
|
242
|
-
|
|
254
|
+
ModifyDocCate(req: ModifyDocCateRequest, cb?: (error: string, rep: ModifyDocCateResponse) => void): Promise<ModifyDocCateResponse>;
|
|
243
255
|
/**
|
|
244
256
|
* 文档列表
|
|
245
257
|
*/
|
|
246
258
|
ListDoc(req: ListDocRequest, cb?: (error: string, rep: ListDocResponse) => void): Promise<ListDocResponse>;
|
|
259
|
+
/**
|
|
260
|
+
* 本接口用来创建工作流的异步运行实例,创建成功后工作流会在后台异步运行,接口返回工作流运行实例ID(WorkflowRunId)等信息。后面可通过调用DescribeWorkflowRun接口查工作流运行的详情。
|
|
261
|
+
注意:工作流的异步运行是基于应用的,需要先把对应的应用配置成“单工作流模式”,并且打开“异步调用”的开关,才能创建成功。
|
|
262
|
+
*/
|
|
263
|
+
CreateWorkflowRun(req: CreateWorkflowRunRequest, cb?: (error: string, rep: CreateWorkflowRunResponse) => void): Promise<CreateWorkflowRunResponse>;
|
|
247
264
|
/**
|
|
248
265
|
* 问答列表
|
|
249
266
|
*/
|
|
@@ -257,9 +274,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
257
274
|
*/
|
|
258
275
|
GetLikeDataCount(req: GetLikeDataCountRequest, cb?: (error: string, rep: GetLikeDataCountResponse) => void): Promise<GetLikeDataCountResponse>;
|
|
259
276
|
/**
|
|
260
|
-
*
|
|
277
|
+
* 通过appKey获取应用业务ID
|
|
261
278
|
*/
|
|
262
|
-
|
|
279
|
+
DescribeRobotBizIDByAppKey(req: DescribeRobotBizIDByAppKeyRequest, cb?: (error: string, rep: DescribeRobotBizIDByAppKeyResponse) => void): Promise<DescribeRobotBizIDByAppKeyResponse>;
|
|
263
280
|
/**
|
|
264
281
|
* 导出QA列表
|
|
265
282
|
*/
|
|
@@ -285,9 +302,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
285
302
|
*/
|
|
286
303
|
IsTransferIntent(req: IsTransferIntentRequest, cb?: (error: string, rep: IsTransferIntentResponse) => void): Promise<IsTransferIntentResponse>;
|
|
287
304
|
/**
|
|
288
|
-
*
|
|
305
|
+
* 忽略不满意回复
|
|
289
306
|
*/
|
|
290
|
-
|
|
307
|
+
IgnoreUnsatisfiedReply(req: IgnoreUnsatisfiedReplyRequest, cb?: (error: string, rep: IgnoreUnsatisfiedReplyResponse) => void): Promise<IgnoreUnsatisfiedReplyResponse>;
|
|
291
308
|
/**
|
|
292
309
|
* 应用引用共享知识库,可以引用一个或多个,每次都是全量覆盖
|
|
293
310
|
*/
|
|
@@ -368,6 +385,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
368
385
|
* 回答类型数据统计
|
|
369
386
|
*/
|
|
370
387
|
GetAnswerTypeDataCount(req: GetAnswerTypeDataCountRequest, cb?: (error: string, rep: GetAnswerTypeDataCountResponse) => void): Promise<GetAnswerTypeDataCountResponse>;
|
|
388
|
+
/**
|
|
389
|
+
* 创建了工作流的异步运行实例后,通过本接口可以查询整体的运行详情。
|
|
390
|
+
*/
|
|
391
|
+
DescribeWorkflowRun(req: DescribeWorkflowRunRequest, cb?: (error: string, rep: DescribeWorkflowRunResponse) => void): Promise<DescribeWorkflowRunResponse>;
|
|
371
392
|
/**
|
|
372
393
|
* 发布文档预览
|
|
373
394
|
*/
|
|
@@ -432,7 +453,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
432
453
|
*/
|
|
433
454
|
ListAppKnowledgeDetail(req: ListAppKnowledgeDetailRequest, cb?: (error: string, rep: ListAppKnowledgeDetailResponse) => void): Promise<ListAppKnowledgeDetailResponse>;
|
|
434
455
|
/**
|
|
435
|
-
*
|
|
456
|
+
* 拉取发布按钮状态、最后发布时间
|
|
436
457
|
*/
|
|
437
|
-
|
|
458
|
+
DescribeReleaseInfo(req: DescribeReleaseInfoRequest, cb?: (error: string, rep: DescribeReleaseInfoResponse) => void): Promise<DescribeReleaseInfoResponse>;
|
|
438
459
|
}
|
|
@@ -88,6 +88,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
88
88
|
async DeleteQA(req, cb) {
|
|
89
89
|
return this.request("DeleteQA", req, cb);
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* 此接口用来停止正在进行的工作流异步运行实例。
|
|
93
|
+
*/
|
|
94
|
+
async StopWorkflowRun(req, cb) {
|
|
95
|
+
return this.request("StopWorkflowRun", req, cb);
|
|
96
|
+
}
|
|
91
97
|
/**
|
|
92
98
|
* 创建标签
|
|
93
99
|
*/
|
|
@@ -193,10 +199,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
193
199
|
return this.request("DescribeSearchStatsGraph", req, cb);
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
|
-
*
|
|
202
|
+
* 此接口可查询已创建的所有工作流异步运行实例。
|
|
197
203
|
*/
|
|
198
|
-
async
|
|
199
|
-
return this.request("
|
|
204
|
+
async ListWorkflowRuns(req, cb) {
|
|
205
|
+
return this.request("ListWorkflowRuns", req, cb);
|
|
200
206
|
}
|
|
201
207
|
/**
|
|
202
208
|
* 校验问答
|
|
@@ -306,6 +312,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
306
312
|
async DescribeTokenUsage(req, cb) {
|
|
307
313
|
return this.request("DescribeTokenUsage", req, cb);
|
|
308
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* 通过DescribeWorkflowRun接口获取了工作流异步运行的整体内容,其中包含了基本的节点信息,再通用本接口可查看节点的运行详情(包括输入、输出、日志等)。
|
|
317
|
+
*/
|
|
318
|
+
async DescribeNodeRun(req, cb) {
|
|
319
|
+
return this.request("DescribeNodeRun", req, cb);
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Doc分类删除
|
|
323
|
+
*/
|
|
324
|
+
async DeleteDocCate(req, cb) {
|
|
325
|
+
return this.request("DeleteDocCate", req, cb);
|
|
326
|
+
}
|
|
309
327
|
/**
|
|
310
328
|
* 获取QA分类
|
|
311
329
|
*/
|
|
@@ -373,10 +391,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
373
391
|
return this.request("DeleteSharedKnowledge", req, cb);
|
|
374
392
|
}
|
|
375
393
|
/**
|
|
376
|
-
*
|
|
394
|
+
* 修改Doc分类
|
|
377
395
|
*/
|
|
378
|
-
async
|
|
379
|
-
return this.request("
|
|
396
|
+
async ModifyDocCate(req, cb) {
|
|
397
|
+
return this.request("ModifyDocCate", req, cb);
|
|
380
398
|
}
|
|
381
399
|
/**
|
|
382
400
|
* 文档列表
|
|
@@ -384,6 +402,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
384
402
|
async ListDoc(req, cb) {
|
|
385
403
|
return this.request("ListDoc", req, cb);
|
|
386
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* 本接口用来创建工作流的异步运行实例,创建成功后工作流会在后台异步运行,接口返回工作流运行实例ID(WorkflowRunId)等信息。后面可通过调用DescribeWorkflowRun接口查工作流运行的详情。
|
|
407
|
+
注意:工作流的异步运行是基于应用的,需要先把对应的应用配置成“单工作流模式”,并且打开“异步调用”的开关,才能创建成功。
|
|
408
|
+
*/
|
|
409
|
+
async CreateWorkflowRun(req, cb) {
|
|
410
|
+
return this.request("CreateWorkflowRun", req, cb);
|
|
411
|
+
}
|
|
387
412
|
/**
|
|
388
413
|
* 问答列表
|
|
389
414
|
*/
|
|
@@ -403,10 +428,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
403
428
|
return this.request("GetLikeDataCount", req, cb);
|
|
404
429
|
}
|
|
405
430
|
/**
|
|
406
|
-
*
|
|
431
|
+
* 通过appKey获取应用业务ID
|
|
407
432
|
*/
|
|
408
|
-
async
|
|
409
|
-
return this.request("
|
|
433
|
+
async DescribeRobotBizIDByAppKey(req, cb) {
|
|
434
|
+
return this.request("DescribeRobotBizIDByAppKey", req, cb);
|
|
410
435
|
}
|
|
411
436
|
/**
|
|
412
437
|
* 导出QA列表
|
|
@@ -445,10 +470,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
445
470
|
return this.request("IsTransferIntent", req, cb);
|
|
446
471
|
}
|
|
447
472
|
/**
|
|
448
|
-
*
|
|
473
|
+
* 忽略不满意回复
|
|
449
474
|
*/
|
|
450
|
-
async
|
|
451
|
-
return this.request("
|
|
475
|
+
async IgnoreUnsatisfiedReply(req, cb) {
|
|
476
|
+
return this.request("IgnoreUnsatisfiedReply", req, cb);
|
|
452
477
|
}
|
|
453
478
|
/**
|
|
454
479
|
* 应用引用共享知识库,可以引用一个或多个,每次都是全量覆盖
|
|
@@ -566,6 +591,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
566
591
|
async GetAnswerTypeDataCount(req, cb) {
|
|
567
592
|
return this.request("GetAnswerTypeDataCount", req, cb);
|
|
568
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* 创建了工作流的异步运行实例后,通过本接口可以查询整体的运行详情。
|
|
596
|
+
*/
|
|
597
|
+
async DescribeWorkflowRun(req, cb) {
|
|
598
|
+
return this.request("DescribeWorkflowRun", req, cb);
|
|
599
|
+
}
|
|
569
600
|
/**
|
|
570
601
|
* 发布文档预览
|
|
571
602
|
*/
|
|
@@ -660,10 +691,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
660
691
|
return this.request("ListAppKnowledgeDetail", req, cb);
|
|
661
692
|
}
|
|
662
693
|
/**
|
|
663
|
-
*
|
|
694
|
+
* 拉取发布按钮状态、最后发布时间
|
|
664
695
|
*/
|
|
665
|
-
async
|
|
666
|
-
return this.request("
|
|
696
|
+
async DescribeReleaseInfo(req, cb) {
|
|
697
|
+
return this.request("DescribeReleaseInfo", req, cb);
|
|
667
698
|
}
|
|
668
699
|
}
|
|
669
700
|
exports.Client = Client;
|
|
@@ -54,11 +54,11 @@ export interface ListUsageCallDetailRequest {
|
|
|
54
54
|
*/
|
|
55
55
|
EndTime: string;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* 页码(从1开始)
|
|
58
58
|
*/
|
|
59
59
|
PageNumber: number;
|
|
60
60
|
/**
|
|
61
|
-
* 分页数量
|
|
61
|
+
* 分页数量(最大值1000)
|
|
62
62
|
*/
|
|
63
63
|
PageSize: number;
|
|
64
64
|
/**
|
|
@@ -81,6 +81,10 @@ export interface ListUsageCallDetailRequest {
|
|
|
81
81
|
* 应用类型(knowledge_qa应用管理, shared_knowlege 共享知识库)
|
|
82
82
|
*/
|
|
83
83
|
AppType?: string;
|
|
84
|
+
/**
|
|
85
|
+
* 账单明细对应的自定义tag
|
|
86
|
+
*/
|
|
87
|
+
BillingTag?: string;
|
|
84
88
|
}
|
|
85
89
|
/**
|
|
86
90
|
* CheckAttributeLabelExist请求参数结构体
|
|
@@ -339,6 +343,39 @@ export interface DeleteDocRequest {
|
|
|
339
343
|
*/
|
|
340
344
|
BotBizId: string;
|
|
341
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* CreateWorkflowRun返回参数结构体
|
|
348
|
+
*/
|
|
349
|
+
export interface CreateWorkflowRunResponse {
|
|
350
|
+
/**
|
|
351
|
+
* 应用ID
|
|
352
|
+
*/
|
|
353
|
+
AppBizId?: string;
|
|
354
|
+
/**
|
|
355
|
+
* 工作流运行实例的ID
|
|
356
|
+
*/
|
|
357
|
+
WorkflowRunId?: string;
|
|
358
|
+
/**
|
|
359
|
+
* 运行环境。0: 测试环境; 1: 正式环境
|
|
360
|
+
*/
|
|
361
|
+
RunEnv?: number;
|
|
362
|
+
/**
|
|
363
|
+
* 用户输入的内容
|
|
364
|
+
*/
|
|
365
|
+
Query?: string;
|
|
366
|
+
/**
|
|
367
|
+
* API参数配置
|
|
368
|
+
*/
|
|
369
|
+
CustomVariables?: Array<CustomVariable>;
|
|
370
|
+
/**
|
|
371
|
+
* 创建时间(毫秒时间戳)
|
|
372
|
+
*/
|
|
373
|
+
CreateTime?: string;
|
|
374
|
+
/**
|
|
375
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
376
|
+
*/
|
|
377
|
+
RequestId?: string;
|
|
378
|
+
}
|
|
342
379
|
/**
|
|
343
380
|
* GetAnswerTypeDataCount请求参数结构体
|
|
344
381
|
*/
|
|
@@ -729,28 +766,25 @@ export interface GetAppSecretResponse {
|
|
|
729
766
|
RequestId?: string;
|
|
730
767
|
}
|
|
731
768
|
/**
|
|
732
|
-
*
|
|
769
|
+
* CreateWorkflowRun请求参数结构体
|
|
733
770
|
*/
|
|
734
|
-
export interface
|
|
771
|
+
export interface CreateWorkflowRunRequest {
|
|
735
772
|
/**
|
|
736
|
-
*
|
|
773
|
+
* 运行环境。0: 测试环境; 1: 正式环境
|
|
737
774
|
*/
|
|
738
|
-
|
|
775
|
+
RunEnv?: number;
|
|
739
776
|
/**
|
|
740
|
-
*
|
|
741
|
-
|
|
777
|
+
* 应用ID
|
|
742
778
|
*/
|
|
743
|
-
|
|
779
|
+
AppBizId?: string;
|
|
744
780
|
/**
|
|
745
|
-
*
|
|
746
|
-
|
|
781
|
+
* 用户输入的内容
|
|
747
782
|
*/
|
|
748
|
-
|
|
783
|
+
Query?: string;
|
|
749
784
|
/**
|
|
750
|
-
*
|
|
751
|
-
|
|
785
|
+
* API参数配置
|
|
752
786
|
*/
|
|
753
|
-
|
|
787
|
+
CustomVariables?: Array<CustomVariable>;
|
|
754
788
|
}
|
|
755
789
|
/**
|
|
756
790
|
* CreateQACate返回参数结构体
|
|
@@ -837,13 +871,26 @@ export interface AttrLabelRefer {
|
|
|
837
871
|
LabelBizIds?: Array<string>;
|
|
838
872
|
}
|
|
839
873
|
/**
|
|
840
|
-
*
|
|
874
|
+
* DescribeWorkflowRun请求参数结构体
|
|
841
875
|
*/
|
|
842
|
-
export interface
|
|
876
|
+
export interface DescribeWorkflowRunRequest {
|
|
843
877
|
/**
|
|
844
|
-
*
|
|
878
|
+
* 工作流运行实例ID
|
|
845
879
|
*/
|
|
846
|
-
|
|
880
|
+
WorkflowRunId?: string;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* 工作流的API参数
|
|
884
|
+
*/
|
|
885
|
+
export interface CustomVariable {
|
|
886
|
+
/**
|
|
887
|
+
* 参数名称
|
|
888
|
+
*/
|
|
889
|
+
Name?: string;
|
|
890
|
+
/**
|
|
891
|
+
* 参数的值
|
|
892
|
+
*/
|
|
893
|
+
Value?: string;
|
|
847
894
|
}
|
|
848
895
|
/**
|
|
849
896
|
* DescribeUnsatisfiedReplyContext请求参数结构体
|
|
@@ -1112,6 +1159,71 @@ export interface KnowledgeQaSearch {
|
|
|
1112
1159
|
*/
|
|
1113
1160
|
ResourceStatus?: number;
|
|
1114
1161
|
}
|
|
1162
|
+
/**
|
|
1163
|
+
* 工作流运行实例详情
|
|
1164
|
+
*/
|
|
1165
|
+
export interface WorkflowRunDetail {
|
|
1166
|
+
/**
|
|
1167
|
+
* 运行环境。0: 测试环境; 1: 正式环境
|
|
1168
|
+
*/
|
|
1169
|
+
RunEnv?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* 应用ID
|
|
1172
|
+
*/
|
|
1173
|
+
AppBizId?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* 工作流运行实例的ID
|
|
1176
|
+
*/
|
|
1177
|
+
WorkflowRunId?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* 所属工作流ID
|
|
1180
|
+
*/
|
|
1181
|
+
WorkflowId?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* 名称
|
|
1184
|
+
*/
|
|
1185
|
+
Name?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
|
|
1188
|
+
*/
|
|
1189
|
+
State?: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* 错误信息
|
|
1192
|
+
*/
|
|
1193
|
+
FailMessage?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* 消耗的token总数
|
|
1196
|
+
*/
|
|
1197
|
+
TotalTokens?: number;
|
|
1198
|
+
/**
|
|
1199
|
+
* 创建时间(毫秒时间戳)
|
|
1200
|
+
*/
|
|
1201
|
+
CreateTime?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* 开始时间(毫秒时间戳)
|
|
1204
|
+
*/
|
|
1205
|
+
StartTime?: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* 结束时间(毫秒时间戳)
|
|
1208
|
+
*/
|
|
1209
|
+
EndTime?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* 工作流画布Json
|
|
1212
|
+
*/
|
|
1213
|
+
DialogJson?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* 用户的输入
|
|
1216
|
+
*/
|
|
1217
|
+
Query?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* 主模型名称
|
|
1220
|
+
*/
|
|
1221
|
+
MainModelName?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* API参数配置
|
|
1224
|
+
*/
|
|
1225
|
+
CustomVariables?: Array<CustomVariable>;
|
|
1226
|
+
}
|
|
1115
1227
|
/**
|
|
1116
1228
|
* CreateCorp返回参数结构体
|
|
1117
1229
|
*/
|
|
@@ -1979,6 +2091,27 @@ export interface ReconstructDocumentResponse {
|
|
|
1979
2091
|
*/
|
|
1980
2092
|
RequestId?: string;
|
|
1981
2093
|
}
|
|
2094
|
+
/**
|
|
2095
|
+
* IgnoreUnsatisfiedReply请求参数结构体
|
|
2096
|
+
*/
|
|
2097
|
+
export interface IgnoreUnsatisfiedReplyRequest {
|
|
2098
|
+
/**
|
|
2099
|
+
* 应用ID
|
|
2100
|
+
*/
|
|
2101
|
+
BotBizId: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* 不满意回复ID
|
|
2104
|
+
*/
|
|
2105
|
+
ReplyBizIds: Array<string>;
|
|
2106
|
+
/**
|
|
2107
|
+
* 登录用户主账号(集成商模式必填)
|
|
2108
|
+
*/
|
|
2109
|
+
LoginUin?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* 登录用户子账号(集成商模式必填)
|
|
2112
|
+
*/
|
|
2113
|
+
LoginSubAccountUin?: string;
|
|
2114
|
+
}
|
|
1982
2115
|
/**
|
|
1983
2116
|
* ListDocCate请求参数结构体
|
|
1984
2117
|
*/
|
|
@@ -2515,29 +2648,33 @@ export interface AttributeLabel {
|
|
|
2515
2648
|
SimilarLabels?: Array<string>;
|
|
2516
2649
|
}
|
|
2517
2650
|
/**
|
|
2518
|
-
*
|
|
2651
|
+
* ListWorkflowRuns请求参数结构体
|
|
2519
2652
|
*/
|
|
2520
|
-
export interface
|
|
2653
|
+
export interface ListWorkflowRunsRequest {
|
|
2521
2654
|
/**
|
|
2522
|
-
*
|
|
2523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2655
|
+
* 运行环境。0: 测试环境; 1: 正式环境
|
|
2524
2656
|
*/
|
|
2525
|
-
|
|
2657
|
+
RunEnv?: number;
|
|
2526
2658
|
/**
|
|
2527
|
-
*
|
|
2528
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2659
|
+
* 应用ID
|
|
2529
2660
|
*/
|
|
2530
|
-
|
|
2661
|
+
AppBizId?: string;
|
|
2531
2662
|
/**
|
|
2532
|
-
*
|
|
2533
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2663
|
+
* 页码
|
|
2534
2664
|
*/
|
|
2535
|
-
|
|
2665
|
+
Page?: number;
|
|
2536
2666
|
/**
|
|
2537
|
-
*
|
|
2538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2667
|
+
* 每页数量
|
|
2539
2668
|
*/
|
|
2540
|
-
|
|
2669
|
+
PageSize?: number;
|
|
2670
|
+
/**
|
|
2671
|
+
* 登录用户主账号(集成商模式必填)
|
|
2672
|
+
*/
|
|
2673
|
+
LoginUin?: string;
|
|
2674
|
+
/**
|
|
2675
|
+
* 登录用户子账号(集成商模式必填)
|
|
2676
|
+
*/
|
|
2677
|
+
LoginSubAccountUin?: string;
|
|
2541
2678
|
}
|
|
2542
2679
|
/**
|
|
2543
2680
|
* 消耗量
|
|
@@ -2658,6 +2795,15 @@ export interface ListReleaseDocPreviewResponse {
|
|
|
2658
2795
|
*/
|
|
2659
2796
|
RequestId?: string;
|
|
2660
2797
|
}
|
|
2798
|
+
/**
|
|
2799
|
+
* StopWorkflowRun请求参数结构体
|
|
2800
|
+
*/
|
|
2801
|
+
export interface StopWorkflowRunRequest {
|
|
2802
|
+
/**
|
|
2803
|
+
* 工作流运行实例ID
|
|
2804
|
+
*/
|
|
2805
|
+
WorkflowRunId?: string;
|
|
2806
|
+
}
|
|
2661
2807
|
/**
|
|
2662
2808
|
* 解析为 word 文档的结果
|
|
2663
2809
|
*/
|
|
@@ -2698,6 +2844,15 @@ export interface RenameDocRequest {
|
|
|
2698
2844
|
*/
|
|
2699
2845
|
NewName?: string;
|
|
2700
2846
|
}
|
|
2847
|
+
/**
|
|
2848
|
+
* StopWorkflowRun返回参数结构体
|
|
2849
|
+
*/
|
|
2850
|
+
export interface StopWorkflowRunResponse {
|
|
2851
|
+
/**
|
|
2852
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2853
|
+
*/
|
|
2854
|
+
RequestId?: string;
|
|
2855
|
+
}
|
|
2701
2856
|
/**
|
|
2702
2857
|
* 知识摘要应用配置
|
|
2703
2858
|
*/
|
|
@@ -3530,6 +3685,10 @@ export interface CallDetail {
|
|
|
3530
3685
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3531
3686
|
*/
|
|
3532
3687
|
SubScene?: string;
|
|
3688
|
+
/**
|
|
3689
|
+
* 账单明细对应的自定义tag
|
|
3690
|
+
*/
|
|
3691
|
+
BillingTag?: string;
|
|
3533
3692
|
}
|
|
3534
3693
|
/**
|
|
3535
3694
|
* 文档列表筛选标识位
|
|
@@ -4067,6 +4226,16 @@ export interface GroupQARequest {
|
|
|
4067
4226
|
*/
|
|
4068
4227
|
CateBizId: string;
|
|
4069
4228
|
}
|
|
4229
|
+
/**
|
|
4230
|
+
* 任务参数
|
|
4231
|
+
*/
|
|
4232
|
+
export interface TaskParams {
|
|
4233
|
+
/**
|
|
4234
|
+
* 下载地址,需要通过cos桶临时密钥去下载
|
|
4235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4236
|
+
*/
|
|
4237
|
+
CosPath?: string;
|
|
4238
|
+
}
|
|
4070
4239
|
/**
|
|
4071
4240
|
* RateMsgRecord请求参数结构体
|
|
4072
4241
|
*/
|
|
@@ -4191,25 +4360,13 @@ export interface DeleteSharedKnowledgeRequest {
|
|
|
4191
4360
|
KnowledgeBizId: string;
|
|
4192
4361
|
}
|
|
4193
4362
|
/**
|
|
4194
|
-
*
|
|
4363
|
+
* DescribeNodeRun请求参数结构体
|
|
4195
4364
|
*/
|
|
4196
|
-
export interface
|
|
4197
|
-
/**
|
|
4198
|
-
* 应用ID
|
|
4199
|
-
*/
|
|
4200
|
-
BotBizId: string;
|
|
4201
|
-
/**
|
|
4202
|
-
* 不满意回复ID
|
|
4203
|
-
*/
|
|
4204
|
-
ReplyBizIds: Array<string>;
|
|
4205
|
-
/**
|
|
4206
|
-
* 登录用户主账号(集成商模式必填)
|
|
4207
|
-
*/
|
|
4208
|
-
LoginUin?: string;
|
|
4365
|
+
export interface DescribeNodeRunRequest {
|
|
4209
4366
|
/**
|
|
4210
|
-
*
|
|
4367
|
+
* 节点运行实例ID
|
|
4211
4368
|
*/
|
|
4212
|
-
|
|
4369
|
+
NodeRunId?: string;
|
|
4213
4370
|
}
|
|
4214
4371
|
/**
|
|
4215
4372
|
* DescribeRelease返回参数结构体
|
|
@@ -4236,6 +4393,55 @@ export interface DescribeReleaseResponse {
|
|
|
4236
4393
|
*/
|
|
4237
4394
|
RequestId?: string;
|
|
4238
4395
|
}
|
|
4396
|
+
/**
|
|
4397
|
+
* 工作流运行实例的基本信息
|
|
4398
|
+
*/
|
|
4399
|
+
export interface WorkflowRunBase {
|
|
4400
|
+
/**
|
|
4401
|
+
* 运行环境。0: 测试环境; 1: 正式环境
|
|
4402
|
+
*/
|
|
4403
|
+
RunEnv?: number;
|
|
4404
|
+
/**
|
|
4405
|
+
* 应用ID
|
|
4406
|
+
*/
|
|
4407
|
+
AppBizId?: string;
|
|
4408
|
+
/**
|
|
4409
|
+
* 工作流运行实例的ID
|
|
4410
|
+
*/
|
|
4411
|
+
WorkflowRunId?: string;
|
|
4412
|
+
/**
|
|
4413
|
+
* 所属工作流ID
|
|
4414
|
+
*/
|
|
4415
|
+
WorkflowId?: string;
|
|
4416
|
+
/**
|
|
4417
|
+
* 名称
|
|
4418
|
+
*/
|
|
4419
|
+
Name?: string;
|
|
4420
|
+
/**
|
|
4421
|
+
* 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
|
|
4422
|
+
*/
|
|
4423
|
+
State?: number;
|
|
4424
|
+
/**
|
|
4425
|
+
* 错误信息
|
|
4426
|
+
*/
|
|
4427
|
+
FailMessage?: string;
|
|
4428
|
+
/**
|
|
4429
|
+
* 消耗的token总数
|
|
4430
|
+
*/
|
|
4431
|
+
TotalTokens?: number;
|
|
4432
|
+
/**
|
|
4433
|
+
* 创建时间(毫秒时间戳)
|
|
4434
|
+
*/
|
|
4435
|
+
CreateTime?: string;
|
|
4436
|
+
/**
|
|
4437
|
+
* 开始时间(毫秒时间戳)
|
|
4438
|
+
*/
|
|
4439
|
+
StartTime?: string;
|
|
4440
|
+
/**
|
|
4441
|
+
* 结束时间(毫秒时间戳)
|
|
4442
|
+
*/
|
|
4443
|
+
EndTime?: string;
|
|
4444
|
+
}
|
|
4239
4445
|
/**
|
|
4240
4446
|
* DescribeConcurrencyUsageGraph返回参数结构体
|
|
4241
4447
|
*/
|
|
@@ -4455,26 +4661,112 @@ export interface VerifyQARequest {
|
|
|
4455
4661
|
LoginSubAccountUin?: string;
|
|
4456
4662
|
}
|
|
4457
4663
|
/**
|
|
4458
|
-
*
|
|
4459
|
-
注意:此字段可能返回 null,表示取不到有效值
|
|
4664
|
+
* 工作流节点运行详情
|
|
4460
4665
|
*/
|
|
4461
|
-
export interface
|
|
4666
|
+
export interface NodeRunDetail {
|
|
4462
4667
|
/**
|
|
4463
|
-
*
|
|
4668
|
+
* 节点运行的ID
|
|
4464
4669
|
*/
|
|
4465
|
-
|
|
4670
|
+
NodeRunId?: string;
|
|
4466
4671
|
/**
|
|
4467
|
-
*
|
|
4672
|
+
* 节点ID
|
|
4468
4673
|
*/
|
|
4469
|
-
|
|
4674
|
+
NodeId?: string;
|
|
4470
4675
|
/**
|
|
4471
|
-
*
|
|
4676
|
+
* 工作流运行实例的ID
|
|
4472
4677
|
*/
|
|
4473
|
-
|
|
4678
|
+
WorkflowRunId?: string;
|
|
4474
4679
|
/**
|
|
4475
|
-
*
|
|
4680
|
+
* 节点名称
|
|
4476
4681
|
*/
|
|
4477
|
-
|
|
4682
|
+
NodeName?: string;
|
|
4683
|
+
/**
|
|
4684
|
+
* 节点类型。
|
|
4685
|
+
1: 开始节点
|
|
4686
|
+
2:参数提取节点
|
|
4687
|
+
3:大模型节点
|
|
4688
|
+
4:知识问答节点
|
|
4689
|
+
5:知识检索节点
|
|
4690
|
+
6:标签提取节点
|
|
4691
|
+
7:代码执行节点
|
|
4692
|
+
8:工具节点
|
|
4693
|
+
9:逻辑判断节点
|
|
4694
|
+
10:回复节点
|
|
4695
|
+
11:选项卡节点
|
|
4696
|
+
12:循环节点
|
|
4697
|
+
13:意图识别节点
|
|
4698
|
+
14:工作流节点
|
|
4699
|
+
15:插件节点
|
|
4700
|
+
16:结束节点
|
|
4701
|
+
17: 变量聚合节点数据
|
|
4702
|
+
18: 批处理节点
|
|
4703
|
+
19: 消息队列节点
|
|
4704
|
+
*/
|
|
4705
|
+
NodeType?: number;
|
|
4706
|
+
/**
|
|
4707
|
+
* 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
|
|
4708
|
+
*/
|
|
4709
|
+
State?: number;
|
|
4710
|
+
/**
|
|
4711
|
+
* 错误码
|
|
4712
|
+
*/
|
|
4713
|
+
FailCode?: string;
|
|
4714
|
+
/**
|
|
4715
|
+
* 错误信息
|
|
4716
|
+
*/
|
|
4717
|
+
FailMessage?: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* 消耗时间(毫秒)
|
|
4720
|
+
*/
|
|
4721
|
+
CostMilliseconds?: number;
|
|
4722
|
+
/**
|
|
4723
|
+
* 消耗的token总数
|
|
4724
|
+
*/
|
|
4725
|
+
TotalTokens?: number;
|
|
4726
|
+
/**
|
|
4727
|
+
* 输入变量信息
|
|
4728
|
+
*/
|
|
4729
|
+
Input?: string;
|
|
4730
|
+
/**
|
|
4731
|
+
* 节点的输入的完整内容的链接。(当Input内容超过限制的时候此字段才有值)
|
|
4732
|
+
*/
|
|
4733
|
+
InputRef?: string;
|
|
4734
|
+
/**
|
|
4735
|
+
* 输出变量信息
|
|
4736
|
+
*/
|
|
4737
|
+
Output?: string;
|
|
4738
|
+
/**
|
|
4739
|
+
* 节点的输出的完整内容的链接。(当Output内容超过限制的时候此字段才有值)
|
|
4740
|
+
*/
|
|
4741
|
+
OutputRef?: string;
|
|
4742
|
+
/**
|
|
4743
|
+
* 原始输出信息。部分节点才有值,如工具节点、代码节点
|
|
4744
|
+
*/
|
|
4745
|
+
TaskOutput?: string;
|
|
4746
|
+
/**
|
|
4747
|
+
* 任务的原始输出的完整内容的链接。(当TaskOutput内容超过限制的时候此字段才有值)
|
|
4748
|
+
*/
|
|
4749
|
+
TaskOutputRef?: string;
|
|
4750
|
+
/**
|
|
4751
|
+
* 节点的日志
|
|
4752
|
+
*/
|
|
4753
|
+
Log?: string;
|
|
4754
|
+
/**
|
|
4755
|
+
* 节点的日志的完整内容的链接志(当Log内容超过限制的时候才有值)
|
|
4756
|
+
*/
|
|
4757
|
+
LogRef?: string;
|
|
4758
|
+
/**
|
|
4759
|
+
* 开始时间戳(毫秒)
|
|
4760
|
+
*/
|
|
4761
|
+
StartTime?: string;
|
|
4762
|
+
/**
|
|
4763
|
+
* 结束时间戳(毫秒)
|
|
4764
|
+
*/
|
|
4765
|
+
EndTime?: string;
|
|
4766
|
+
/**
|
|
4767
|
+
* LLM统计信息。
|
|
4768
|
+
*/
|
|
4769
|
+
StatisticInfos?: Array<StatisticInfo>;
|
|
4478
4770
|
}
|
|
4479
4771
|
/**
|
|
4480
4772
|
* 应用模型配置
|
|
@@ -4798,6 +5090,15 @@ export interface ModifyDocCateRequest {
|
|
|
4798
5090
|
*/
|
|
4799
5091
|
CateBizId: string;
|
|
4800
5092
|
}
|
|
5093
|
+
/**
|
|
5094
|
+
* ReferShareKnowledge返回参数结构体
|
|
5095
|
+
*/
|
|
5096
|
+
export interface ReferShareKnowledgeResponse {
|
|
5097
|
+
/**
|
|
5098
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5099
|
+
*/
|
|
5100
|
+
RequestId?: string;
|
|
5101
|
+
}
|
|
4801
5102
|
/**
|
|
4802
5103
|
* 发布拒答
|
|
4803
5104
|
*/
|
|
@@ -5147,48 +5448,68 @@ export interface RunReRankResponse {
|
|
|
5147
5448
|
RequestId?: string;
|
|
5148
5449
|
}
|
|
5149
5450
|
/**
|
|
5150
|
-
*
|
|
5451
|
+
* 节点运行的基本信息
|
|
5151
5452
|
*/
|
|
5152
|
-
export interface
|
|
5453
|
+
export interface NodeRunBase {
|
|
5153
5454
|
/**
|
|
5154
|
-
*
|
|
5155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5455
|
+
* 节点运行的ID
|
|
5156
5456
|
*/
|
|
5157
|
-
|
|
5457
|
+
NodeRunId?: string;
|
|
5158
5458
|
/**
|
|
5159
|
-
*
|
|
5160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5459
|
+
* 节点ID
|
|
5161
5460
|
*/
|
|
5162
|
-
|
|
5461
|
+
NodeId?: string;
|
|
5163
5462
|
/**
|
|
5164
|
-
*
|
|
5165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5463
|
+
* 工作流运行实例的ID
|
|
5166
5464
|
*/
|
|
5167
|
-
|
|
5465
|
+
WorkflowRunId?: string;
|
|
5168
5466
|
/**
|
|
5169
|
-
*
|
|
5170
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5467
|
+
* 节点名称
|
|
5171
5468
|
*/
|
|
5172
|
-
|
|
5469
|
+
NodeName?: string;
|
|
5173
5470
|
/**
|
|
5174
|
-
*
|
|
5175
|
-
|
|
5471
|
+
* 节点类型。
|
|
5472
|
+
1: 开始节点
|
|
5473
|
+
2:参数提取节点
|
|
5474
|
+
3:大模型节点
|
|
5475
|
+
4:知识问答节点
|
|
5476
|
+
5:知识检索节点
|
|
5477
|
+
6:标签提取节点
|
|
5478
|
+
7:代码执行节点
|
|
5479
|
+
8:工具节点
|
|
5480
|
+
9:逻辑判断节点
|
|
5481
|
+
10:回复节点
|
|
5482
|
+
11:选项卡节点
|
|
5483
|
+
12:循环节点
|
|
5484
|
+
13:意图识别节点
|
|
5485
|
+
14:工作流节点
|
|
5486
|
+
15:插件节点
|
|
5487
|
+
16:结束节点
|
|
5488
|
+
17: 变量聚合节点数据
|
|
5489
|
+
18: 批处理节点
|
|
5490
|
+
19: 消息队列节点
|
|
5176
5491
|
*/
|
|
5177
|
-
|
|
5492
|
+
NodeType?: number;
|
|
5178
5493
|
/**
|
|
5179
|
-
*
|
|
5180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5494
|
+
* 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
|
|
5181
5495
|
*/
|
|
5182
|
-
|
|
5496
|
+
State?: number;
|
|
5183
5497
|
/**
|
|
5184
|
-
*
|
|
5185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5498
|
+
* 错误码
|
|
5186
5499
|
*/
|
|
5187
|
-
|
|
5500
|
+
FailCode?: string;
|
|
5188
5501
|
/**
|
|
5189
|
-
*
|
|
5502
|
+
* 错误信息
|
|
5190
5503
|
*/
|
|
5191
|
-
|
|
5504
|
+
FailMessage?: string;
|
|
5505
|
+
/**
|
|
5506
|
+
* 消耗时间(毫秒)
|
|
5507
|
+
*/
|
|
5508
|
+
CostMilliseconds?: number;
|
|
5509
|
+
/**
|
|
5510
|
+
* 消耗的token总数
|
|
5511
|
+
*/
|
|
5512
|
+
TotalTokens?: number;
|
|
5192
5513
|
}
|
|
5193
5514
|
/**
|
|
5194
5515
|
* 知识问答配置
|
|
@@ -5515,6 +5836,28 @@ export interface DeleteRejectedQuestionRequest {
|
|
|
5515
5836
|
*/
|
|
5516
5837
|
RejectedBizIds: Array<string>;
|
|
5517
5838
|
}
|
|
5839
|
+
/**
|
|
5840
|
+
* 文本的坐标,以四个顶点坐标表示
|
|
5841
|
+
注意:此字段可能返回 null,表示取不到有效值
|
|
5842
|
+
*/
|
|
5843
|
+
export interface Polygon {
|
|
5844
|
+
/**
|
|
5845
|
+
* 左上顶点坐标
|
|
5846
|
+
*/
|
|
5847
|
+
LeftTop?: Coord;
|
|
5848
|
+
/**
|
|
5849
|
+
* 右上顶点坐标
|
|
5850
|
+
*/
|
|
5851
|
+
RightTop?: Coord;
|
|
5852
|
+
/**
|
|
5853
|
+
* 右下顶点坐标
|
|
5854
|
+
*/
|
|
5855
|
+
RightBottom?: Coord;
|
|
5856
|
+
/**
|
|
5857
|
+
* 左下顶点坐标
|
|
5858
|
+
*/
|
|
5859
|
+
LeftBottom?: Coord;
|
|
5860
|
+
}
|
|
5518
5861
|
/**
|
|
5519
5862
|
* 分片高亮内容
|
|
5520
5863
|
*/
|
|
@@ -6264,19 +6607,21 @@ export interface DeleteAppResponse {
|
|
|
6264
6607
|
RequestId?: string;
|
|
6265
6608
|
}
|
|
6266
6609
|
/**
|
|
6267
|
-
*
|
|
6610
|
+
* ListWorkflowRuns返回参数结构体
|
|
6268
6611
|
*/
|
|
6269
|
-
export interface
|
|
6612
|
+
export interface ListWorkflowRunsResponse {
|
|
6270
6613
|
/**
|
|
6271
|
-
*
|
|
6272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6614
|
+
* 总数
|
|
6273
6615
|
*/
|
|
6274
|
-
|
|
6616
|
+
Total?: number;
|
|
6275
6617
|
/**
|
|
6276
|
-
*
|
|
6277
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6618
|
+
* 工作流运行列表
|
|
6278
6619
|
*/
|
|
6279
|
-
|
|
6620
|
+
WorkflowRuns?: Array<WorkflowRunBase>;
|
|
6621
|
+
/**
|
|
6622
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6623
|
+
*/
|
|
6624
|
+
RequestId?: string;
|
|
6280
6625
|
}
|
|
6281
6626
|
/**
|
|
6282
6627
|
* ListAttributeLabel请求参数结构体
|
|
@@ -6823,6 +7168,23 @@ export interface CreateAttributeLabelResponse {
|
|
|
6823
7168
|
*/
|
|
6824
7169
|
RequestId?: string;
|
|
6825
7170
|
}
|
|
7171
|
+
/**
|
|
7172
|
+
* DescribeWorkflowRun返回参数结构体
|
|
7173
|
+
*/
|
|
7174
|
+
export interface DescribeWorkflowRunResponse {
|
|
7175
|
+
/**
|
|
7176
|
+
* 总数
|
|
7177
|
+
*/
|
|
7178
|
+
WorkflowRun?: WorkflowRunDetail;
|
|
7179
|
+
/**
|
|
7180
|
+
* 节点列表
|
|
7181
|
+
*/
|
|
7182
|
+
NodeRuns?: Array<NodeRunBase>;
|
|
7183
|
+
/**
|
|
7184
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7185
|
+
*/
|
|
7186
|
+
RequestId?: string;
|
|
7187
|
+
}
|
|
6826
7188
|
/**
|
|
6827
7189
|
* ListAppKnowledgeDetail请求参数结构体
|
|
6828
7190
|
*/
|
|
@@ -6916,6 +7278,50 @@ export interface ListReleaseQAPreviewRequest {
|
|
|
6916
7278
|
*/
|
|
6917
7279
|
ReleaseStatus?: Array<number | bigint>;
|
|
6918
7280
|
}
|
|
7281
|
+
/**
|
|
7282
|
+
* 调试信息
|
|
7283
|
+
*/
|
|
7284
|
+
export interface ProcedureDebugging {
|
|
7285
|
+
/**
|
|
7286
|
+
* 检索query
|
|
7287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7288
|
+
*/
|
|
7289
|
+
Content?: string;
|
|
7290
|
+
/**
|
|
7291
|
+
* 系统prompt
|
|
7292
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7293
|
+
*/
|
|
7294
|
+
System?: string;
|
|
7295
|
+
/**
|
|
7296
|
+
* 多轮历史信息
|
|
7297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7298
|
+
*/
|
|
7299
|
+
Histories?: Array<HistorySummary>;
|
|
7300
|
+
/**
|
|
7301
|
+
* 检索知识
|
|
7302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7303
|
+
*/
|
|
7304
|
+
Knowledge?: Array<KnowledgeSummary>;
|
|
7305
|
+
/**
|
|
7306
|
+
* 任务流程
|
|
7307
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7308
|
+
*/
|
|
7309
|
+
TaskFlow?: TaskFlowSummary;
|
|
7310
|
+
/**
|
|
7311
|
+
* 工作流调试信息
|
|
7312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7313
|
+
*/
|
|
7314
|
+
WorkFlow?: WorkFlowSummary;
|
|
7315
|
+
/**
|
|
7316
|
+
* Agent调试信息
|
|
7317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7318
|
+
*/
|
|
7319
|
+
Agent?: AgentDebugInfo;
|
|
7320
|
+
/**
|
|
7321
|
+
* 自定义参数
|
|
7322
|
+
*/
|
|
7323
|
+
CustomVariables?: Array<string>;
|
|
7324
|
+
}
|
|
6919
7325
|
/**
|
|
6920
7326
|
* DescribeReleaseInfo返回参数结构体
|
|
6921
7327
|
*/
|
|
@@ -7011,6 +7417,10 @@ export interface DescribeAppResponse {
|
|
|
7011
7417
|
* 状态说明
|
|
7012
7418
|
*/
|
|
7013
7419
|
AppStatusDesc?: string;
|
|
7420
|
+
/**
|
|
7421
|
+
* 应用是否在复制中
|
|
7422
|
+
*/
|
|
7423
|
+
IsCopying?: boolean;
|
|
7014
7424
|
/**
|
|
7015
7425
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7016
7426
|
*/
|
|
@@ -7096,14 +7506,28 @@ export interface WorkFlowSummary {
|
|
|
7096
7506
|
WorkflowReleaseTime?: string;
|
|
7097
7507
|
}
|
|
7098
7508
|
/**
|
|
7099
|
-
*
|
|
7509
|
+
* ListRejectedQuestion请求参数结构体
|
|
7100
7510
|
*/
|
|
7101
|
-
export interface
|
|
7511
|
+
export interface ListRejectedQuestionRequest {
|
|
7102
7512
|
/**
|
|
7103
|
-
*
|
|
7104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7513
|
+
* 应用ID
|
|
7105
7514
|
*/
|
|
7106
|
-
|
|
7515
|
+
BotBizId: string;
|
|
7516
|
+
/**
|
|
7517
|
+
* 页码
|
|
7518
|
+
|
|
7519
|
+
*/
|
|
7520
|
+
PageNumber: number;
|
|
7521
|
+
/**
|
|
7522
|
+
* 每页数量
|
|
7523
|
+
|
|
7524
|
+
*/
|
|
7525
|
+
PageSize: number;
|
|
7526
|
+
/**
|
|
7527
|
+
* 查询内容
|
|
7528
|
+
|
|
7529
|
+
*/
|
|
7530
|
+
Query?: string;
|
|
7107
7531
|
}
|
|
7108
7532
|
/**
|
|
7109
7533
|
* 应用类型详情
|
|
@@ -7283,6 +7707,19 @@ export interface ListModelResponse {
|
|
|
7283
7707
|
*/
|
|
7284
7708
|
RequestId?: string;
|
|
7285
7709
|
}
|
|
7710
|
+
/**
|
|
7711
|
+
* DescribeNodeRun返回参数结构体
|
|
7712
|
+
*/
|
|
7713
|
+
export interface DescribeNodeRunResponse {
|
|
7714
|
+
/**
|
|
7715
|
+
* 节点运行实例详情
|
|
7716
|
+
*/
|
|
7717
|
+
NodeRun?: NodeRunDetail;
|
|
7718
|
+
/**
|
|
7719
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7720
|
+
*/
|
|
7721
|
+
RequestId?: string;
|
|
7722
|
+
}
|
|
7286
7723
|
/**
|
|
7287
7724
|
* ListAttributeLabel返回参数结构体
|
|
7288
7725
|
*/
|
|
@@ -7597,6 +8034,31 @@ export interface ReleaseRejectedQuestion {
|
|
|
7597
8034
|
*/
|
|
7598
8035
|
Message?: string;
|
|
7599
8036
|
}
|
|
8037
|
+
/**
|
|
8038
|
+
* 下拉框选项
|
|
8039
|
+
*/
|
|
8040
|
+
export interface Option {
|
|
8041
|
+
/**
|
|
8042
|
+
* 文本
|
|
8043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8044
|
+
*/
|
|
8045
|
+
Text?: string;
|
|
8046
|
+
/**
|
|
8047
|
+
* 值
|
|
8048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8049
|
+
*/
|
|
8050
|
+
Value?: string;
|
|
8051
|
+
/**
|
|
8052
|
+
* 文件字符数
|
|
8053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8054
|
+
*/
|
|
8055
|
+
CharSize?: string;
|
|
8056
|
+
/**
|
|
8057
|
+
* 文件类型
|
|
8058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8059
|
+
*/
|
|
8060
|
+
FileType?: string;
|
|
8061
|
+
}
|
|
7600
8062
|
/**
|
|
7601
8063
|
* CreateQACate请求参数结构体
|
|
7602
8064
|
*/
|
|
@@ -7615,6 +8077,21 @@ export interface CreateQACateRequest {
|
|
|
7615
8077
|
*/
|
|
7616
8078
|
Name: string;
|
|
7617
8079
|
}
|
|
8080
|
+
/**
|
|
8081
|
+
* 检索范围配置
|
|
8082
|
+
*/
|
|
8083
|
+
export interface SearchRange {
|
|
8084
|
+
/**
|
|
8085
|
+
* 检索条件and/or
|
|
8086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8087
|
+
*/
|
|
8088
|
+
Condition?: string;
|
|
8089
|
+
/**
|
|
8090
|
+
* 自定义变量和标签关系数据
|
|
8091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8092
|
+
*/
|
|
8093
|
+
ApiVarAttrInfos?: Array<ApiVarAttrInfo>;
|
|
8094
|
+
}
|
|
7618
8095
|
/**
|
|
7619
8096
|
* DescribeRobotBizIDByAppKey请求参数结构体
|
|
7620
8097
|
*/
|