tencentcloud-sdk-nodejs-lke 4.1.55 → 4.1.56

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 DeleteDocCate(req, cb) {
88
- return this.request("DeleteDocCate", req, cb);
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 DescribeRobotBizIDByAppKey(req, cb) {
178
- return this.request("DescribeRobotBizIDByAppKey", req, cb);
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 ModifyDocCate(req, cb) {
193
- return this.request("ModifyDocCate", req, cb);
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 DescribeReleaseInfo(req, cb) {
214
- return this.request("DescribeReleaseInfo", req, cb);
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 IgnoreUnsatisfiedReply(req, cb) {
316
- return this.request("IgnoreUnsatisfiedReply", req, cb);
330
+ async DescribeReleaseInfo(req, cb) {
331
+ return this.request("DescribeReleaseInfo", req, cb);
317
332
  }
318
333
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-lke",
3
- "version": "4.1.55",
3
+ "version": "4.1.56",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -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, ListRejectedQuestionRequest, CreateQACateResponse, ModifyDocAttrRangeResponse, CreateSharedKnowledgeRequest, DescribeQARequest, ReferShareKnowledgeResponse, 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, ListDocCateRequest, DescribeDocResponse, CreateReleaseRequest, ModifyRejectedQuestionRequest, GroupDocRequest, CheckAttributeLabelReferRequest, CreateSharedKnowledgeResponse, ModifyQACateRequest, ModifyAttributeLabelRequest, ConvertDocumentRequest, ListUnsatisfiedReplyResponse, GetAppSecretRequest, DeleteQACateResponse, SaveDocResponse, ListReleaseDocPreviewResponse, RenameDocRequest, 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, IgnoreUnsatisfiedReplyRequest, DescribeReleaseResponse, DescribeConcurrencyUsageGraphResponse, VerifyQARequest, DescribeKnowledgeUsagePieGraphResponse, ListRejectedQuestionResponse, ListReleaseQAPreviewResponse, DescribeTokenUsageGraphResponse, RetryDocAuditResponse, GetReconstructDocumentResultResponse, ModifyDocCateRequest, 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, ListAttributeLabelRequest, DeleteDocCateRequest, DeleteDocResponse, DescribeSegmentsResponse, DescribeConcurrencyUsageRequest, GroupDocResponse, UploadAttributeLabelRequest, ListUsageCallDetailResponse, ExportAttributeLabelRequest, DescribeTokenUsageRequest, GetAppKnowledgeCountResponse, RetryReleaseResponse, CreateAttributeLabelResponse, ListAppKnowledgeDetailRequest, CreateQAResponse, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeReleaseInfoResponse, IsTransferIntentRequest, DescribeAppResponse, DeleteAppRequest, ModifyRejectedQuestionResponse, GetVarListResponse, UpdateSharedKnowledgeResponse, DescribeStorageCredentialRequest, DescribeCorpResponse, ModifyDocCateResponse, ListReleaseResponse, ListModelResponse, 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";
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
- * Doc分类删除
124
+ * 此接口可查询已创建的所有工作流异步运行实例。
121
125
  */
122
- DeleteDocCate(req: DeleteDocCateRequest, cb?: (error: string, rep: DeleteDocCateResponse) => void): Promise<DeleteDocCateResponse>;
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
- * 通过appKey获取应用业务ID
252
+ * 修改Doc分类
241
253
  */
242
- DescribeRobotBizIDByAppKey(req: DescribeRobotBizIDByAppKeyRequest, cb?: (error: string, rep: DescribeRobotBizIDByAppKeyResponse) => void): Promise<DescribeRobotBizIDByAppKeyResponse>;
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
- * 修改Doc分类
277
+ * 通过appKey获取应用业务ID
261
278
  */
262
- ModifyDocCate(req: ModifyDocCateRequest, cb?: (error: string, rep: ModifyDocCateResponse) => void): Promise<ModifyDocCateResponse>;
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
- DescribeReleaseInfo(req: DescribeReleaseInfoRequest, cb?: (error: string, rep: DescribeReleaseInfoResponse) => void): Promise<DescribeReleaseInfoResponse>;
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
- IgnoreUnsatisfiedReply(req: IgnoreUnsatisfiedReplyRequest, cb?: (error: string, rep: IgnoreUnsatisfiedReplyResponse) => void): Promise<IgnoreUnsatisfiedReplyResponse>;
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
- * Doc分类删除
202
+ * 此接口可查询已创建的所有工作流异步运行实例。
197
203
  */
198
- async DeleteDocCate(req, cb) {
199
- return this.request("DeleteDocCate", req, cb);
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
- * 通过appKey获取应用业务ID
394
+ * 修改Doc分类
377
395
  */
378
- async DescribeRobotBizIDByAppKey(req, cb) {
379
- return this.request("DescribeRobotBizIDByAppKey", req, cb);
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
- * 修改Doc分类
431
+ * 通过appKey获取应用业务ID
407
432
  */
408
- async ModifyDocCate(req, cb) {
409
- return this.request("ModifyDocCate", req, cb);
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 DescribeReleaseInfo(req, cb) {
451
- return this.request("DescribeReleaseInfo", req, cb);
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 IgnoreUnsatisfiedReply(req, cb) {
666
- return this.request("IgnoreUnsatisfiedReply", req, cb);
696
+ async DescribeReleaseInfo(req, cb) {
697
+ return this.request("DescribeReleaseInfo", req, cb);
667
698
  }
668
699
  }
669
700
  exports.Client = Client;
@@ -339,6 +339,39 @@ export interface DeleteDocRequest {
339
339
  */
340
340
  BotBizId: string;
341
341
  }
342
+ /**
343
+ * CreateWorkflowRun返回参数结构体
344
+ */
345
+ export interface CreateWorkflowRunResponse {
346
+ /**
347
+ * 应用ID
348
+ */
349
+ AppBizId?: string;
350
+ /**
351
+ * 工作流运行实例的ID
352
+ */
353
+ WorkflowRunId?: string;
354
+ /**
355
+ * 运行环境。0: 测试环境; 1: 正式环境
356
+ */
357
+ RunEnv?: number;
358
+ /**
359
+ * 用户输入的内容
360
+ */
361
+ Query?: string;
362
+ /**
363
+ * API参数配置
364
+ */
365
+ CustomVariables?: Array<CustomVariable>;
366
+ /**
367
+ * 创建时间(毫秒时间戳)
368
+ */
369
+ CreateTime?: string;
370
+ /**
371
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
372
+ */
373
+ RequestId?: string;
374
+ }
342
375
  /**
343
376
  * GetAnswerTypeDataCount请求参数结构体
344
377
  */
@@ -729,28 +762,25 @@ export interface GetAppSecretResponse {
729
762
  RequestId?: string;
730
763
  }
731
764
  /**
732
- * ListRejectedQuestion请求参数结构体
765
+ * CreateWorkflowRun请求参数结构体
733
766
  */
734
- export interface ListRejectedQuestionRequest {
767
+ export interface CreateWorkflowRunRequest {
735
768
  /**
736
- * 应用ID
769
+ * 运行环境。0: 测试环境; 1: 正式环境
737
770
  */
738
- BotBizId: string;
771
+ RunEnv?: number;
739
772
  /**
740
- * 页码
741
-
773
+ * 应用ID
742
774
  */
743
- PageNumber: number;
775
+ AppBizId?: string;
744
776
  /**
745
- * 每页数量
746
-
777
+ * 用户输入的内容
747
778
  */
748
- PageSize: number;
779
+ Query?: string;
749
780
  /**
750
- * 查询内容
751
-
781
+ * API参数配置
752
782
  */
753
- Query?: string;
783
+ CustomVariables?: Array<CustomVariable>;
754
784
  }
755
785
  /**
756
786
  * CreateQACate返回参数结构体
@@ -837,13 +867,26 @@ export interface AttrLabelRefer {
837
867
  LabelBizIds?: Array<string>;
838
868
  }
839
869
  /**
840
- * ReferShareKnowledge返回参数结构体
870
+ * DescribeWorkflowRun请求参数结构体
841
871
  */
842
- export interface ReferShareKnowledgeResponse {
872
+ export interface DescribeWorkflowRunRequest {
843
873
  /**
844
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
874
+ * 工作流运行实例ID
845
875
  */
846
- RequestId?: string;
876
+ WorkflowRunId?: string;
877
+ }
878
+ /**
879
+ * 工作流的API参数
880
+ */
881
+ export interface CustomVariable {
882
+ /**
883
+ * 参数名称
884
+ */
885
+ Name?: string;
886
+ /**
887
+ * 参数的值
888
+ */
889
+ Value?: string;
847
890
  }
848
891
  /**
849
892
  * DescribeUnsatisfiedReplyContext请求参数结构体
@@ -1112,6 +1155,71 @@ export interface KnowledgeQaSearch {
1112
1155
  */
1113
1156
  ResourceStatus?: number;
1114
1157
  }
1158
+ /**
1159
+ * 工作流运行实例详情
1160
+ */
1161
+ export interface WorkflowRunDetail {
1162
+ /**
1163
+ * 运行环境。0: 测试环境; 1: 正式环境
1164
+ */
1165
+ RunEnv?: number;
1166
+ /**
1167
+ * 应用ID
1168
+ */
1169
+ AppBizId?: string;
1170
+ /**
1171
+ * 工作流运行实例的ID
1172
+ */
1173
+ WorkflowRunId?: string;
1174
+ /**
1175
+ * 所属工作流ID
1176
+ */
1177
+ WorkflowId?: string;
1178
+ /**
1179
+ * 名称
1180
+ */
1181
+ Name?: string;
1182
+ /**
1183
+ * 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
1184
+ */
1185
+ State?: number;
1186
+ /**
1187
+ * 错误信息
1188
+ */
1189
+ FailMessage?: string;
1190
+ /**
1191
+ * 消耗的token总数
1192
+ */
1193
+ TotalTokens?: number;
1194
+ /**
1195
+ * 创建时间(毫秒时间戳)
1196
+ */
1197
+ CreateTime?: string;
1198
+ /**
1199
+ * 开始时间(毫秒时间戳)
1200
+ */
1201
+ StartTime?: string;
1202
+ /**
1203
+ * 结束时间(毫秒时间戳)
1204
+ */
1205
+ EndTime?: string;
1206
+ /**
1207
+ * 工作流画布Json
1208
+ */
1209
+ DialogJson?: string;
1210
+ /**
1211
+ * 用户的输入
1212
+ */
1213
+ Query?: string;
1214
+ /**
1215
+ * 主模型名称
1216
+ */
1217
+ MainModelName?: string;
1218
+ /**
1219
+ * API参数配置
1220
+ */
1221
+ CustomVariables?: Array<CustomVariable>;
1222
+ }
1115
1223
  /**
1116
1224
  * CreateCorp返回参数结构体
1117
1225
  */
@@ -1979,6 +2087,27 @@ export interface ReconstructDocumentResponse {
1979
2087
  */
1980
2088
  RequestId?: string;
1981
2089
  }
2090
+ /**
2091
+ * IgnoreUnsatisfiedReply请求参数结构体
2092
+ */
2093
+ export interface IgnoreUnsatisfiedReplyRequest {
2094
+ /**
2095
+ * 应用ID
2096
+ */
2097
+ BotBizId: string;
2098
+ /**
2099
+ * 不满意回复ID
2100
+ */
2101
+ ReplyBizIds: Array<string>;
2102
+ /**
2103
+ * 登录用户主账号(集成商模式必填)
2104
+ */
2105
+ LoginUin?: string;
2106
+ /**
2107
+ * 登录用户子账号(集成商模式必填)
2108
+ */
2109
+ LoginSubAccountUin?: string;
2110
+ }
1982
2111
  /**
1983
2112
  * ListDocCate请求参数结构体
1984
2113
  */
@@ -2515,29 +2644,33 @@ export interface AttributeLabel {
2515
2644
  SimilarLabels?: Array<string>;
2516
2645
  }
2517
2646
  /**
2518
- * 下拉框选项
2647
+ * ListWorkflowRuns请求参数结构体
2519
2648
  */
2520
- export interface Option {
2649
+ export interface ListWorkflowRunsRequest {
2521
2650
  /**
2522
- * 文本
2523
- 注意:此字段可能返回 null,表示取不到有效值。
2651
+ * 运行环境。0: 测试环境; 1: 正式环境
2524
2652
  */
2525
- Text?: string;
2653
+ RunEnv?: number;
2526
2654
  /**
2527
- *
2528
- 注意:此字段可能返回 null,表示取不到有效值。
2655
+ * 应用ID
2529
2656
  */
2530
- Value?: string;
2657
+ AppBizId?: string;
2531
2658
  /**
2532
- * 文件字符数
2533
- 注意:此字段可能返回 null,表示取不到有效值。
2659
+ * 页码
2534
2660
  */
2535
- CharSize?: string;
2661
+ Page?: number;
2536
2662
  /**
2537
- * 文件类型
2538
- 注意:此字段可能返回 null,表示取不到有效值。
2663
+ * 每页数量
2539
2664
  */
2540
- FileType?: string;
2665
+ PageSize?: number;
2666
+ /**
2667
+ * 登录用户主账号(集成商模式必填)
2668
+ */
2669
+ LoginUin?: string;
2670
+ /**
2671
+ * 登录用户子账号(集成商模式必填)
2672
+ */
2673
+ LoginSubAccountUin?: string;
2541
2674
  }
2542
2675
  /**
2543
2676
  * 消耗量
@@ -2658,6 +2791,15 @@ export interface ListReleaseDocPreviewResponse {
2658
2791
  */
2659
2792
  RequestId?: string;
2660
2793
  }
2794
+ /**
2795
+ * StopWorkflowRun请求参数结构体
2796
+ */
2797
+ export interface StopWorkflowRunRequest {
2798
+ /**
2799
+ * 工作流运行实例ID
2800
+ */
2801
+ WorkflowRunId?: string;
2802
+ }
2661
2803
  /**
2662
2804
  * 解析为 word 文档的结果
2663
2805
  */
@@ -2698,6 +2840,15 @@ export interface RenameDocRequest {
2698
2840
  */
2699
2841
  NewName?: string;
2700
2842
  }
2843
+ /**
2844
+ * StopWorkflowRun返回参数结构体
2845
+ */
2846
+ export interface StopWorkflowRunResponse {
2847
+ /**
2848
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2849
+ */
2850
+ RequestId?: string;
2851
+ }
2701
2852
  /**
2702
2853
  * 知识摘要应用配置
2703
2854
  */
@@ -4067,6 +4218,16 @@ export interface GroupQARequest {
4067
4218
  */
4068
4219
  CateBizId: string;
4069
4220
  }
4221
+ /**
4222
+ * 任务参数
4223
+ */
4224
+ export interface TaskParams {
4225
+ /**
4226
+ * 下载地址,需要通过cos桶临时密钥去下载
4227
+ 注意:此字段可能返回 null,表示取不到有效值。
4228
+ */
4229
+ CosPath?: string;
4230
+ }
4070
4231
  /**
4071
4232
  * RateMsgRecord请求参数结构体
4072
4233
  */
@@ -4191,25 +4352,13 @@ export interface DeleteSharedKnowledgeRequest {
4191
4352
  KnowledgeBizId: string;
4192
4353
  }
4193
4354
  /**
4194
- * IgnoreUnsatisfiedReply请求参数结构体
4355
+ * DescribeNodeRun请求参数结构体
4195
4356
  */
4196
- export interface IgnoreUnsatisfiedReplyRequest {
4197
- /**
4198
- * 应用ID
4199
- */
4200
- BotBizId: string;
4357
+ export interface DescribeNodeRunRequest {
4201
4358
  /**
4202
- * 不满意回复ID
4203
- */
4204
- ReplyBizIds: Array<string>;
4205
- /**
4206
- * 登录用户主账号(集成商模式必填)
4207
- */
4208
- LoginUin?: string;
4209
- /**
4210
- * 登录用户子账号(集成商模式必填)
4359
+ * 节点运行实例ID
4211
4360
  */
4212
- LoginSubAccountUin?: string;
4361
+ NodeRunId?: string;
4213
4362
  }
4214
4363
  /**
4215
4364
  * DescribeRelease返回参数结构体
@@ -4236,6 +4385,55 @@ export interface DescribeReleaseResponse {
4236
4385
  */
4237
4386
  RequestId?: string;
4238
4387
  }
4388
+ /**
4389
+ * 工作流运行实例的基本信息
4390
+ */
4391
+ export interface WorkflowRunBase {
4392
+ /**
4393
+ * 运行环境。0: 测试环境; 1: 正式环境
4394
+ */
4395
+ RunEnv?: number;
4396
+ /**
4397
+ * 应用ID
4398
+ */
4399
+ AppBizId?: string;
4400
+ /**
4401
+ * 工作流运行实例的ID
4402
+ */
4403
+ WorkflowRunId?: string;
4404
+ /**
4405
+ * 所属工作流ID
4406
+ */
4407
+ WorkflowId?: string;
4408
+ /**
4409
+ * 名称
4410
+ */
4411
+ Name?: string;
4412
+ /**
4413
+ * 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
4414
+ */
4415
+ State?: number;
4416
+ /**
4417
+ * 错误信息
4418
+ */
4419
+ FailMessage?: string;
4420
+ /**
4421
+ * 消耗的token总数
4422
+ */
4423
+ TotalTokens?: number;
4424
+ /**
4425
+ * 创建时间(毫秒时间戳)
4426
+ */
4427
+ CreateTime?: string;
4428
+ /**
4429
+ * 开始时间(毫秒时间戳)
4430
+ */
4431
+ StartTime?: string;
4432
+ /**
4433
+ * 结束时间(毫秒时间戳)
4434
+ */
4435
+ EndTime?: string;
4436
+ }
4239
4437
  /**
4240
4438
  * DescribeConcurrencyUsageGraph返回参数结构体
4241
4439
  */
@@ -4455,26 +4653,112 @@ export interface VerifyQARequest {
4455
4653
  LoginSubAccountUin?: string;
4456
4654
  }
4457
4655
  /**
4458
- * 文本的坐标,以四个顶点坐标表示
4459
- 注意:此字段可能返回 null,表示取不到有效值
4656
+ * 工作流节点运行详情
4460
4657
  */
4461
- export interface Polygon {
4658
+ export interface NodeRunDetail {
4462
4659
  /**
4463
- * 左上顶点坐标
4660
+ * 节点运行的ID
4464
4661
  */
4465
- LeftTop?: Coord;
4662
+ NodeRunId?: string;
4466
4663
  /**
4467
- * 右上顶点坐标
4664
+ * 节点ID
4468
4665
  */
4469
- RightTop?: Coord;
4666
+ NodeId?: string;
4470
4667
  /**
4471
- * 右下顶点坐标
4668
+ * 工作流运行实例的ID
4472
4669
  */
4473
- RightBottom?: Coord;
4670
+ WorkflowRunId?: string;
4474
4671
  /**
4475
- * 左下顶点坐标
4672
+ * 节点名称
4476
4673
  */
4477
- LeftBottom?: Coord;
4674
+ NodeName?: string;
4675
+ /**
4676
+ * 节点类型。
4677
+ 1: 开始节点
4678
+ 2:参数提取节点
4679
+ 3:大模型节点
4680
+ 4:知识问答节点
4681
+ 5:知识检索节点
4682
+ 6:标签提取节点
4683
+ 7:代码执行节点
4684
+ 8:工具节点
4685
+ 9:逻辑判断节点
4686
+ 10:回复节点
4687
+ 11:选项卡节点
4688
+ 12:循环节点
4689
+ 13:意图识别节点
4690
+ 14:工作流节点
4691
+ 15:插件节点
4692
+ 16:结束节点
4693
+ 17: 变量聚合节点数据
4694
+ 18: 批处理节点
4695
+ 19: 消息队列节点
4696
+ */
4697
+ NodeType?: number;
4698
+ /**
4699
+ * 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
4700
+ */
4701
+ State?: number;
4702
+ /**
4703
+ * 错误码
4704
+ */
4705
+ FailCode?: string;
4706
+ /**
4707
+ * 错误信息
4708
+ */
4709
+ FailMessage?: string;
4710
+ /**
4711
+ * 消耗时间(毫秒)
4712
+ */
4713
+ CostMilliseconds?: number;
4714
+ /**
4715
+ * 消耗的token总数
4716
+ */
4717
+ TotalTokens?: number;
4718
+ /**
4719
+ * 输入变量信息
4720
+ */
4721
+ Input?: string;
4722
+ /**
4723
+ * 节点的输入的完整内容的链接。(当Input内容超过限制的时候此字段才有值)
4724
+ */
4725
+ InputRef?: string;
4726
+ /**
4727
+ * 输出变量信息
4728
+ */
4729
+ Output?: string;
4730
+ /**
4731
+ * 节点的输出的完整内容的链接。(当Output内容超过限制的时候此字段才有值)
4732
+ */
4733
+ OutputRef?: string;
4734
+ /**
4735
+ * 原始输出信息。部分节点才有值,如工具节点、代码节点
4736
+ */
4737
+ TaskOutput?: string;
4738
+ /**
4739
+ * 任务的原始输出的完整内容的链接。(当TaskOutput内容超过限制的时候此字段才有值)
4740
+ */
4741
+ TaskOutputRef?: string;
4742
+ /**
4743
+ * 节点的日志
4744
+ */
4745
+ Log?: string;
4746
+ /**
4747
+ * 节点的日志的完整内容的链接志(当Log内容超过限制的时候才有值)
4748
+ */
4749
+ LogRef?: string;
4750
+ /**
4751
+ * 开始时间戳(毫秒)
4752
+ */
4753
+ StartTime?: string;
4754
+ /**
4755
+ * 结束时间戳(毫秒)
4756
+ */
4757
+ EndTime?: string;
4758
+ /**
4759
+ * LLM统计信息。
4760
+ */
4761
+ StatisticInfos?: Array<StatisticInfo>;
4478
4762
  }
4479
4763
  /**
4480
4764
  * 应用模型配置
@@ -4798,6 +5082,15 @@ export interface ModifyDocCateRequest {
4798
5082
  */
4799
5083
  CateBizId: string;
4800
5084
  }
5085
+ /**
5086
+ * ReferShareKnowledge返回参数结构体
5087
+ */
5088
+ export interface ReferShareKnowledgeResponse {
5089
+ /**
5090
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5091
+ */
5092
+ RequestId?: string;
5093
+ }
4801
5094
  /**
4802
5095
  * 发布拒答
4803
5096
  */
@@ -5147,48 +5440,68 @@ export interface RunReRankResponse {
5147
5440
  RequestId?: string;
5148
5441
  }
5149
5442
  /**
5150
- * 调试信息
5443
+ * 节点运行的基本信息
5151
5444
  */
5152
- export interface ProcedureDebugging {
5445
+ export interface NodeRunBase {
5153
5446
  /**
5154
- * 检索query
5155
- 注意:此字段可能返回 null,表示取不到有效值。
5447
+ * 节点运行的ID
5156
5448
  */
5157
- Content?: string;
5449
+ NodeRunId?: string;
5158
5450
  /**
5159
- * 系统prompt
5160
- 注意:此字段可能返回 null,表示取不到有效值。
5451
+ * 节点ID
5161
5452
  */
5162
- System?: string;
5453
+ NodeId?: string;
5163
5454
  /**
5164
- * 多轮历史信息
5165
- 注意:此字段可能返回 null,表示取不到有效值。
5455
+ * 工作流运行实例的ID
5166
5456
  */
5167
- Histories?: Array<HistorySummary>;
5457
+ WorkflowRunId?: string;
5168
5458
  /**
5169
- * 检索知识
5170
- 注意:此字段可能返回 null,表示取不到有效值。
5459
+ * 节点名称
5171
5460
  */
5172
- Knowledge?: Array<KnowledgeSummary>;
5461
+ NodeName?: string;
5173
5462
  /**
5174
- * 任务流程
5175
- 注意:此字段可能返回 null,表示取不到有效值。
5463
+ * 节点类型。
5464
+ 1: 开始节点
5465
+ 2:参数提取节点
5466
+ 3:大模型节点
5467
+ 4:知识问答节点
5468
+ 5:知识检索节点
5469
+ 6:标签提取节点
5470
+ 7:代码执行节点
5471
+ 8:工具节点
5472
+ 9:逻辑判断节点
5473
+ 10:回复节点
5474
+ 11:选项卡节点
5475
+ 12:循环节点
5476
+ 13:意图识别节点
5477
+ 14:工作流节点
5478
+ 15:插件节点
5479
+ 16:结束节点
5480
+ 17: 变量聚合节点数据
5481
+ 18: 批处理节点
5482
+ 19: 消息队列节点
5176
5483
  */
5177
- TaskFlow?: TaskFlowSummary;
5484
+ NodeType?: number;
5178
5485
  /**
5179
- * 工作流调试信息
5180
- 注意:此字段可能返回 null,表示取不到有效值。
5486
+ * 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
5181
5487
  */
5182
- WorkFlow?: WorkFlowSummary;
5488
+ State?: number;
5183
5489
  /**
5184
- * Agent调试信息
5185
- 注意:此字段可能返回 null,表示取不到有效值。
5490
+ * 错误码
5186
5491
  */
5187
- Agent?: AgentDebugInfo;
5492
+ FailCode?: string;
5188
5493
  /**
5189
- * 自定义参数
5494
+ * 错误信息
5190
5495
  */
5191
- CustomVariables?: Array<string>;
5496
+ FailMessage?: string;
5497
+ /**
5498
+ * 消耗时间(毫秒)
5499
+ */
5500
+ CostMilliseconds?: number;
5501
+ /**
5502
+ * 消耗的token总数
5503
+ */
5504
+ TotalTokens?: number;
5192
5505
  }
5193
5506
  /**
5194
5507
  * 知识问答配置
@@ -5515,6 +5828,28 @@ export interface DeleteRejectedQuestionRequest {
5515
5828
  */
5516
5829
  RejectedBizIds: Array<string>;
5517
5830
  }
5831
+ /**
5832
+ * 文本的坐标,以四个顶点坐标表示
5833
+ 注意:此字段可能返回 null,表示取不到有效值
5834
+ */
5835
+ export interface Polygon {
5836
+ /**
5837
+ * 左上顶点坐标
5838
+ */
5839
+ LeftTop?: Coord;
5840
+ /**
5841
+ * 右上顶点坐标
5842
+ */
5843
+ RightTop?: Coord;
5844
+ /**
5845
+ * 右下顶点坐标
5846
+ */
5847
+ RightBottom?: Coord;
5848
+ /**
5849
+ * 左下顶点坐标
5850
+ */
5851
+ LeftBottom?: Coord;
5852
+ }
5518
5853
  /**
5519
5854
  * 分片高亮内容
5520
5855
  */
@@ -6264,19 +6599,21 @@ export interface DeleteAppResponse {
6264
6599
  RequestId?: string;
6265
6600
  }
6266
6601
  /**
6267
- * 检索范围配置
6602
+ * ListWorkflowRuns返回参数结构体
6268
6603
  */
6269
- export interface SearchRange {
6604
+ export interface ListWorkflowRunsResponse {
6270
6605
  /**
6271
- * 检索条件and/or
6272
- 注意:此字段可能返回 null,表示取不到有效值。
6606
+ * 总数
6273
6607
  */
6274
- Condition?: string;
6608
+ Total?: number;
6275
6609
  /**
6276
- * 自定义变量和标签关系数据
6277
- 注意:此字段可能返回 null,表示取不到有效值。
6610
+ * 工作流运行列表
6278
6611
  */
6279
- ApiVarAttrInfos?: Array<ApiVarAttrInfo>;
6612
+ WorkflowRuns?: Array<WorkflowRunBase>;
6613
+ /**
6614
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6615
+ */
6616
+ RequestId?: string;
6280
6617
  }
6281
6618
  /**
6282
6619
  * ListAttributeLabel请求参数结构体
@@ -6823,6 +7160,23 @@ export interface CreateAttributeLabelResponse {
6823
7160
  */
6824
7161
  RequestId?: string;
6825
7162
  }
7163
+ /**
7164
+ * DescribeWorkflowRun返回参数结构体
7165
+ */
7166
+ export interface DescribeWorkflowRunResponse {
7167
+ /**
7168
+ * 总数
7169
+ */
7170
+ WorkflowRun?: WorkflowRunDetail;
7171
+ /**
7172
+ * 节点列表
7173
+ */
7174
+ NodeRuns?: Array<NodeRunBase>;
7175
+ /**
7176
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7177
+ */
7178
+ RequestId?: string;
7179
+ }
6826
7180
  /**
6827
7181
  * ListAppKnowledgeDetail请求参数结构体
6828
7182
  */
@@ -6916,6 +7270,50 @@ export interface ListReleaseQAPreviewRequest {
6916
7270
  */
6917
7271
  ReleaseStatus?: Array<number | bigint>;
6918
7272
  }
7273
+ /**
7274
+ * 调试信息
7275
+ */
7276
+ export interface ProcedureDebugging {
7277
+ /**
7278
+ * 检索query
7279
+ 注意:此字段可能返回 null,表示取不到有效值。
7280
+ */
7281
+ Content?: string;
7282
+ /**
7283
+ * 系统prompt
7284
+ 注意:此字段可能返回 null,表示取不到有效值。
7285
+ */
7286
+ System?: string;
7287
+ /**
7288
+ * 多轮历史信息
7289
+ 注意:此字段可能返回 null,表示取不到有效值。
7290
+ */
7291
+ Histories?: Array<HistorySummary>;
7292
+ /**
7293
+ * 检索知识
7294
+ 注意:此字段可能返回 null,表示取不到有效值。
7295
+ */
7296
+ Knowledge?: Array<KnowledgeSummary>;
7297
+ /**
7298
+ * 任务流程
7299
+ 注意:此字段可能返回 null,表示取不到有效值。
7300
+ */
7301
+ TaskFlow?: TaskFlowSummary;
7302
+ /**
7303
+ * 工作流调试信息
7304
+ 注意:此字段可能返回 null,表示取不到有效值。
7305
+ */
7306
+ WorkFlow?: WorkFlowSummary;
7307
+ /**
7308
+ * Agent调试信息
7309
+ 注意:此字段可能返回 null,表示取不到有效值。
7310
+ */
7311
+ Agent?: AgentDebugInfo;
7312
+ /**
7313
+ * 自定义参数
7314
+ */
7315
+ CustomVariables?: Array<string>;
7316
+ }
6919
7317
  /**
6920
7318
  * DescribeReleaseInfo返回参数结构体
6921
7319
  */
@@ -7096,14 +7494,28 @@ export interface WorkFlowSummary {
7096
7494
  WorkflowReleaseTime?: string;
7097
7495
  }
7098
7496
  /**
7099
- * 任务参数
7497
+ * ListRejectedQuestion请求参数结构体
7100
7498
  */
7101
- export interface TaskParams {
7499
+ export interface ListRejectedQuestionRequest {
7102
7500
  /**
7103
- * 下载地址,需要通过cos桶临时密钥去下载
7104
- 注意:此字段可能返回 null,表示取不到有效值。
7501
+ * 应用ID
7105
7502
  */
7106
- CosPath?: string;
7503
+ BotBizId: string;
7504
+ /**
7505
+ * 页码
7506
+
7507
+ */
7508
+ PageNumber: number;
7509
+ /**
7510
+ * 每页数量
7511
+
7512
+ */
7513
+ PageSize: number;
7514
+ /**
7515
+ * 查询内容
7516
+
7517
+ */
7518
+ Query?: string;
7107
7519
  }
7108
7520
  /**
7109
7521
  * 应用类型详情
@@ -7283,6 +7695,19 @@ export interface ListModelResponse {
7283
7695
  */
7284
7696
  RequestId?: string;
7285
7697
  }
7698
+ /**
7699
+ * DescribeNodeRun返回参数结构体
7700
+ */
7701
+ export interface DescribeNodeRunResponse {
7702
+ /**
7703
+ * 节点运行实例详情
7704
+ */
7705
+ NodeRun?: NodeRunDetail;
7706
+ /**
7707
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7708
+ */
7709
+ RequestId?: string;
7710
+ }
7286
7711
  /**
7287
7712
  * ListAttributeLabel返回参数结构体
7288
7713
  */
@@ -7597,6 +8022,31 @@ export interface ReleaseRejectedQuestion {
7597
8022
  */
7598
8023
  Message?: string;
7599
8024
  }
8025
+ /**
8026
+ * 下拉框选项
8027
+ */
8028
+ export interface Option {
8029
+ /**
8030
+ * 文本
8031
+ 注意:此字段可能返回 null,表示取不到有效值。
8032
+ */
8033
+ Text?: string;
8034
+ /**
8035
+ * 值
8036
+ 注意:此字段可能返回 null,表示取不到有效值。
8037
+ */
8038
+ Value?: string;
8039
+ /**
8040
+ * 文件字符数
8041
+ 注意:此字段可能返回 null,表示取不到有效值。
8042
+ */
8043
+ CharSize?: string;
8044
+ /**
8045
+ * 文件类型
8046
+ 注意:此字段可能返回 null,表示取不到有效值。
8047
+ */
8048
+ FileType?: string;
8049
+ }
7600
8050
  /**
7601
8051
  * CreateQACate请求参数结构体
7602
8052
  */
@@ -7615,6 +8065,21 @@ export interface CreateQACateRequest {
7615
8065
  */
7616
8066
  Name: string;
7617
8067
  }
8068
+ /**
8069
+ * 检索范围配置
8070
+ */
8071
+ export interface SearchRange {
8072
+ /**
8073
+ * 检索条件and/or
8074
+ 注意:此字段可能返回 null,表示取不到有效值。
8075
+ */
8076
+ Condition?: string;
8077
+ /**
8078
+ * 自定义变量和标签关系数据
8079
+ 注意:此字段可能返回 null,表示取不到有效值。
8080
+ */
8081
+ ApiVarAttrInfos?: Array<ApiVarAttrInfo>;
8082
+ }
7618
8083
  /**
7619
8084
  * DescribeRobotBizIDByAppKey请求参数结构体
7620
8085
  */