tencentcloud-sdk-nodejs-lke 4.1.181 → 4.1.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { GetWsTokenResponse, GetAppSecretRequest, ListSelectDocResponse, DeleteDocRequest, GetAppSecretResponse, UploadAttributeLabelResponse, CreateSharedKnowledgeRequest, DescribeKnowledgeUsageResponse, DeleteSharedKnowledgeResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, CreateDocCateRequest, ListRejectedQuestionPreviewResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, ListDocCateRequest, DescribeDocResponse, ListQACateResponse, CreateSharedKnowledgeResponse, RenameDocRequest, StopWorkflowRunResponse, GenerateQAResponse, SaveDocRequest, ListSharedKnowledgeResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, CallbackWorkflowToolNodeRequest, RetryDocParseResponse, DeleteAgentResponse, GroupQAResponse, RetryReleaseRequest, DescribeKnowledgeUsageRequest, DeleteSharedKnowledgeRequest, CreateAttributeLabelRequest, ListAppResponse, ExportQAListRequest, CreateReleaseResponse, GenerateQARequest, ListReferShareKnowledgeRequest, ListAttributeLabelRequest, DeleteDocResponse, DescribeSegmentsResponse, UploadAttributeLabelRequest, DescribeAppAgentListRequest, CreateQAResponse, DescribeReleaseInfoResponse, ModifyRejectedQuestionRequest, DescribeWorkflowRunResponse, ListReleaseDocPreviewRequest, DescribeStorageCredentialRequest, ListReleaseResponse, ListModelResponse, CreateVarResponse, CreateQACateRequest, DescribeSearchStatsGraphRequest, RateMsgRecordResponse, DescribeReferRequest, ReferShareKnowledgeRequest, GetAppKnowledgeCountRequest, CreateWorkflowRunResponse, GetAnswerTypeDataCountRequest, ListUnsatisfiedReplyResponse, CreateWorkflowRunRequest, DescribeQARequest, ListQARequest, ModifyAppResponse, IgnoreUnsatisfiedReplyRequest, ListReleaseConfigPreviewResponse, DescribeReleaseResponse, CheckAttributeLabelReferRequest, UpdateVarResponse, ListWorkflowRunsRequest, ListReleaseDocPreviewResponse, RetryDocAuditRequest, ExportUnsatisfiedReplyRequest, ExportUnsatisfiedReplyResponse, DescribeReferResponse, ListDocCateResponse, GetLikeDataCountRequest, ListAttributeLabelResponse, ModifyQAAttrRangeRequest, DeleteRejectedQuestionResponse, ListRejectedQuestionPreviewRequest, ListSelectDocRequest, ModifyAppRequest, DeleteVarResponse, DeleteDocCateRequest, DescribeConcurrencyUsageRequest, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeAppResponse, DeleteAppRequest, GetVarListResponse, DescribeNodeRunResponse, ModifyQAResponse, DeleteQAResponse, UpdateSharedKnowledgeRequest, GetMsgRecordRequest, DescribeSearchStatsGraphResponse, ModifyQAAttrRangeResponse, StopDocParseResponse, DescribeAppAgentListResponse, DescribeQAResponse, DescribeReleaseInfoRequest, ModifyQARequest, DeleteDocCateResponse, ExportAttributeLabelResponse, DescribeWorkflowRunRequest, DescribeUnsatisfiedReplyContextRequest, ListRejectedQuestionResponse, ListReleaseRequest, ListModelRequest, ListDocResponse, CreateAppResponse, CreateQARequest, RateMsgRecordRequest, RenameDocResponse, CreateReleaseRequest, ExportAttributeLabelRequest, ModifyQACateRequest, StopDocParseRequest, DeleteQACateResponse, ListChannelResponse, DescribeDocRequest, DescribeTokenUsageGraphRequest, DescribeConcurrencyUsageGraphRequest, DescribeReleaseRequest, CreateRejectedQuestionRequest, ModifyDocAttrRangeResponse, DescribeCallStatsGraphRequest, ListQAResponse, VerifyQARequest, ListAppKnowledgeDetailResponse, CreateRejectedQuestionResponse, DescribeTokenUsageGraphResponse, ModifyDocCateRequest, DeleteVarRequest, GetDocPreviewResponse, DeleteRejectedQuestionRequest, GetLikeDataCountResponse, ListChannelRequest, DeleteAttributeLabelResponse, VerifyQAResponse, DescribeSharedKnowledgeRequest, ModifyDocRequest, ListWorkflowRunsResponse, DescribeTokenUsageRequest, CreateAttributeLabelResponse, IsTransferIntentRequest, ModifyRejectedQuestionResponse, ModifyDocCateResponse, DescribeCallStatsGraphResponse, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, DescribeRobotBizIDByAppKeyRequest, CreateVarRequest, ListRejectedQuestionRequest, ModifyDocResponse,
|
|
2
|
+
import { GetWsTokenResponse, GetAppSecretRequest, ListSelectDocResponse, DeleteDocRequest, GetAppSecretResponse, UploadAttributeLabelResponse, CreateSharedKnowledgeRequest, DescribeKnowledgeUsageResponse, DeleteSharedKnowledgeResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, CreateDocCateRequest, ListRejectedQuestionPreviewResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, ListDocCateRequest, DescribeDocResponse, ListQACateResponse, CreateSharedKnowledgeResponse, RenameDocRequest, StopWorkflowRunResponse, GenerateQAResponse, SaveDocRequest, ListSharedKnowledgeResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, CallbackWorkflowToolNodeRequest, RetryDocParseResponse, DeleteAgentResponse, GroupQAResponse, RetryReleaseRequest, DescribeKnowledgeUsageRequest, DeleteSharedKnowledgeRequest, CreateAttributeLabelRequest, ListAppResponse, ExportQAListRequest, CreateReleaseResponse, GenerateQARequest, ListReferShareKnowledgeRequest, ListAttributeLabelRequest, DeleteDocResponse, DescribeSegmentsResponse, UploadAttributeLabelRequest, DescribeAppAgentListRequest, CreateQAResponse, DescribeReleaseInfoResponse, ModifyRejectedQuestionRequest, DescribeWorkflowRunResponse, ListReleaseDocPreviewRequest, DescribeStorageCredentialRequest, ListReleaseResponse, ListModelResponse, CreateVarResponse, CreateQACateRequest, DescribeSearchStatsGraphRequest, RateMsgRecordResponse, DescribeReferRequest, ReferShareKnowledgeRequest, GetAppKnowledgeCountRequest, CreateWorkflowRunResponse, GetAnswerTypeDataCountRequest, ListUnsatisfiedReplyResponse, CreateWorkflowRunRequest, DescribeQARequest, ListQARequest, ModifyAppResponse, IgnoreUnsatisfiedReplyRequest, ListReleaseConfigPreviewResponse, DescribeReleaseResponse, CheckAttributeLabelReferRequest, UpdateVarResponse, ListWorkflowRunsRequest, ListReleaseDocPreviewResponse, RetryDocAuditRequest, ExportUnsatisfiedReplyRequest, ExportUnsatisfiedReplyResponse, DescribeReferResponse, ListDocCateResponse, GetLikeDataCountRequest, ListAttributeLabelResponse, ModifyQAAttrRangeRequest, DeleteRejectedQuestionResponse, ListRejectedQuestionPreviewRequest, ListSelectDocRequest, ModifyAppRequest, DeleteVarResponse, DeleteDocCateRequest, DescribeConcurrencyUsageRequest, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeAppResponse, DeleteAppRequest, GetVarListResponse, DescribeNodeRunResponse, ModifyQAResponse, DeleteQAResponse, UpdateSharedKnowledgeRequest, GetMsgRecordRequest, UpdateSharedKnowledgeResponse, DescribeSearchStatsGraphResponse, ModifyQAAttrRangeResponse, StopDocParseResponse, DescribeAppAgentListResponse, DescribeQAResponse, DescribeReleaseInfoRequest, ModifyQARequest, DeleteDocCateResponse, ExportAttributeLabelResponse, DescribeWorkflowRunRequest, DescribeUnsatisfiedReplyContextRequest, ListRejectedQuestionResponse, ListReleaseRequest, ListModelRequest, ListDocResponse, CreateAppResponse, CreateQARequest, RateMsgRecordRequest, RenameDocResponse, CreateReleaseRequest, ExportAttributeLabelRequest, ModifyQACateRequest, StopDocParseRequest, DeleteQACateResponse, ListChannelResponse, DescribeDocRequest, DescribeTokenUsageGraphRequest, DescribeConcurrencyUsageGraphRequest, DescribeReleaseRequest, CreateRejectedQuestionRequest, ModifyDocAttrRangeResponse, DescribeCallStatsGraphRequest, ListQAResponse, VerifyQARequest, ListAppKnowledgeDetailResponse, CreateRejectedQuestionResponse, DescribeTokenUsageGraphResponse, ModifyDocCateRequest, DeleteVarRequest, GetDocPreviewResponse, DeleteRejectedQuestionRequest, GetLikeDataCountResponse, ListChannelRequest, DeleteAttributeLabelResponse, VerifyQAResponse, DescribeSharedKnowledgeRequest, ModifyDocRequest, ListWorkflowRunsResponse, DescribeTokenUsageRequest, CreateAttributeLabelResponse, IsTransferIntentRequest, ModifyRejectedQuestionResponse, ModifyDocCateResponse, DescribeCallStatsGraphResponse, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, DescribeRobotBizIDByAppKeyRequest, CreateVarRequest, ListRejectedQuestionRequest, ModifyDocResponse, DeleteAgentRequest, CheckAttributeLabelExistRequest, ListAppRequest, ListReferShareKnowledgeResponse, CreateDocCateResponse, ExportQAListResponse, CreateQACateResponse, ListDocRequest, GetAnswerTypeDataCountResponse, GetMsgRecordResponse, ReferShareKnowledgeResponse, CallbackWorkflowToolNodeResponse, GetDocPreviewRequest, DescribeAttributeLabelRequest, ListSharedKnowledgeRequest, RetryDocParseRequest, GroupDocRequest, GroupQARequest, ModifyAttributeLabelRequest, ListUsageCallDetailRequest, GetTaskStatusResponse, DescribeKnowledgeUsagePieGraphResponse, GetVarListRequest, ListReleaseQAPreviewResponse, CreateAppRequest, DeleteAppResponse, DescribeUnsatisfiedReplyContextResponse, ModifyDocAttrRangeRequest, DescribeKnowledgeUsagePieGraphRequest, IsTransferIntentResponse, DescribeAppRequest, DescribeNodeRunRequest, DescribeConcurrencyUsageGraphResponse, RetryDocAuditResponse, RetryReleaseResponse, DescribeSharedKnowledgeResponse, DescribeConcurrencyUsageResponse, UpdateVarRequest, DeleteQACateRequest, GetWsTokenRequest, DescribeTokenUsageResponse, ListReleaseConfigPreviewRequest, StopWorkflowRunRequest, GroupDocResponse, ListUsageCallDetailResponse, GetAppKnowledgeCountResponse, ListAppKnowledgeDetailRequest, SaveDocResponse, ModifyQACateResponse, CheckAttributeLabelReferResponse, DescribeSegmentsRequest, IgnoreUnsatisfiedReplyResponse } from "./lke_models";
|
|
3
3
|
/**
|
|
4
4
|
* lke client
|
|
5
5
|
* @class
|
|
@@ -885,6 +885,10 @@ export interface AgentToolInfo {
|
|
|
885
885
|
* 授权类型; 0-无鉴权;1-APIKey;2-CAM授权;3-Oauth2.0授权;
|
|
886
886
|
*/
|
|
887
887
|
AuthType?: number;
|
|
888
|
+
/**
|
|
889
|
+
* 工具授权配置状态;0:不需要授权,1:需要授权-未配置,2:需要授权-已配置
|
|
890
|
+
*/
|
|
891
|
+
AuthConfigStatus?: number;
|
|
888
892
|
}
|
|
889
893
|
/**
|
|
890
894
|
* RenameDoc请求参数结构体
|
|
@@ -2106,6 +2110,8 @@ export interface KnowledgeDetail {
|
|
|
2106
2110
|
export interface FileInfoContent {
|
|
2107
2111
|
/**
|
|
2108
2112
|
* 实时文档解析接口返回的 DocBizId
|
|
2113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2114
|
+
* @deprecated
|
|
2109
2115
|
*/
|
|
2110
2116
|
DocBizId?: number;
|
|
2111
2117
|
/**
|
|
@@ -2128,6 +2134,16 @@ export interface FileInfoContent {
|
|
|
2128
2134
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2129
2135
|
*/
|
|
2130
2136
|
FileUrl?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* 实时文档解析接口返回的 doc_id。
|
|
2139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2140
|
+
*/
|
|
2141
|
+
DocId?: number;
|
|
2142
|
+
/**
|
|
2143
|
+
* 文件创建时间
|
|
2144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2145
|
+
*/
|
|
2146
|
+
CreateTime?: number;
|
|
2131
2147
|
}
|
|
2132
2148
|
/**
|
|
2133
2149
|
* GenerateQA请求参数结构体
|
|
@@ -2530,7 +2546,8 @@ export interface DescribeStorageCredentialRequest {
|
|
|
2530
2546
|
*/
|
|
2531
2547
|
BotBizId?: string;
|
|
2532
2548
|
/**
|
|
2533
|
-
*
|
|
2549
|
+
* 文件类型,正常的文件名类型后缀,支持 docx、doc、pdf、txt、md、wps、pages、html、mhtml、epub、xml、json、log、xlsx、xls、csv、tsv、numbers、pptx、ppt、ppsx、ppsm、key、png、jpg、jpeg、gif、bmp、tiff、webp、heif、heic、jp2、eps、icns、im、pcx、ppm、xbm、xmind
|
|
2550
|
+
|
|
2534
2551
|
*/
|
|
2535
2552
|
FileType?: string;
|
|
2536
2553
|
/**
|
|
@@ -2577,6 +2594,10 @@ export interface SearchStrategy {
|
|
|
2577
2594
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2578
2595
|
*/
|
|
2579
2596
|
NatureLanguageToSqlModelConfig?: NL2SQLModelConfig;
|
|
2597
|
+
/**
|
|
2598
|
+
* 是否开启图谱检索
|
|
2599
|
+
*/
|
|
2600
|
+
GraphRetrieval?: boolean;
|
|
2580
2601
|
}
|
|
2581
2602
|
/**
|
|
2582
2603
|
* Widget输出参数配置
|
|
@@ -3068,6 +3089,11 @@ export interface Widget {
|
|
|
3068
3089
|
* Widget实例ID
|
|
3069
3090
|
*/
|
|
3070
3091
|
WidgetRunId?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Widget显示数据
|
|
3094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3095
|
+
*/
|
|
3096
|
+
View?: string;
|
|
3071
3097
|
/**
|
|
3072
3098
|
* Widget状态数据
|
|
3073
3099
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4667,13 +4693,13 @@ export interface DescribeAppResponse {
|
|
|
4667
4693
|
*/
|
|
4668
4694
|
export interface DeleteAppRequest {
|
|
4669
4695
|
/**
|
|
4670
|
-
* 应用ID
|
|
4696
|
+
* 应用ID,获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
|
|
4671
4697
|
*/
|
|
4672
4698
|
AppBizId: string;
|
|
4673
4699
|
/**
|
|
4674
|
-
*
|
|
4700
|
+
* 应用类型;`"knowledge_qa"` 知识问答应用(包含标准模式 单工作流 Multi-Agent 等模式)
|
|
4675
4701
|
*/
|
|
4676
|
-
AppType
|
|
4702
|
+
AppType?: string;
|
|
4677
4703
|
}
|
|
4678
4704
|
/**
|
|
4679
4705
|
* GetVarList返回参数结构体
|
|
@@ -4848,6 +4874,19 @@ export interface AudioTranscript {
|
|
|
4848
4874
|
*/
|
|
4849
4875
|
Transcript?: string;
|
|
4850
4876
|
}
|
|
4877
|
+
/**
|
|
4878
|
+
* UpdateSharedKnowledge返回参数结构体
|
|
4879
|
+
*/
|
|
4880
|
+
export interface UpdateSharedKnowledgeResponse {
|
|
4881
|
+
/**
|
|
4882
|
+
* 共享知识库业务ID
|
|
4883
|
+
*/
|
|
4884
|
+
KnowledgeBizId?: string;
|
|
4885
|
+
/**
|
|
4886
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4887
|
+
*/
|
|
4888
|
+
RequestId?: string;
|
|
4889
|
+
}
|
|
4851
4890
|
/**
|
|
4852
4891
|
* 输入框配置
|
|
4853
4892
|
*/
|
|
@@ -4945,6 +4984,10 @@ export interface DescribeAppAgentListResponse {
|
|
|
4945
4984
|
* Agent转交高级设置
|
|
4946
4985
|
*/
|
|
4947
4986
|
HandoffAdvancedSetting?: AgentHandoffAdvancedSetting;
|
|
4987
|
+
/**
|
|
4988
|
+
* Agent数量上限
|
|
4989
|
+
*/
|
|
4990
|
+
MaxAgentCount?: number;
|
|
4948
4991
|
/**
|
|
4949
4992
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4950
4993
|
*/
|
|
@@ -5660,6 +5703,10 @@ export interface Agent {
|
|
|
5660
5703
|
* 高级设置
|
|
5661
5704
|
*/
|
|
5662
5705
|
AdvancedConfig?: AgentAdvancedConfig;
|
|
5706
|
+
/**
|
|
5707
|
+
* 工具数量上限
|
|
5708
|
+
*/
|
|
5709
|
+
MaxToolCount?: number;
|
|
5663
5710
|
}
|
|
5664
5711
|
/**
|
|
5665
5712
|
* CreateQA请求参数结构体
|
|
@@ -7819,7 +7866,7 @@ export interface DescribeStorageCredentialResponse {
|
|
|
7819
7866
|
*/
|
|
7820
7867
|
Type?: string;
|
|
7821
7868
|
/**
|
|
7822
|
-
*
|
|
7869
|
+
* 企业主账号
|
|
7823
7870
|
*/
|
|
7824
7871
|
CorpUin?: string;
|
|
7825
7872
|
/**
|
|
@@ -7830,6 +7877,14 @@ export interface DescribeStorageCredentialResponse {
|
|
|
7830
7877
|
* 上传存储路径,到具体文件
|
|
7831
7878
|
*/
|
|
7832
7879
|
UploadPath?: string;
|
|
7880
|
+
/**
|
|
7881
|
+
* 文件上传地址,使用put请求上传文件到该地址
|
|
7882
|
+
*/
|
|
7883
|
+
UploadUrl?: string;
|
|
7884
|
+
/**
|
|
7885
|
+
* 文件的预签名地址,支持下载
|
|
7886
|
+
*/
|
|
7887
|
+
FileUrl?: string;
|
|
7833
7888
|
/**
|
|
7834
7889
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7835
7890
|
*/
|
|
@@ -8068,17 +8123,13 @@ export interface PluginToolReqParam {
|
|
|
8068
8123
|
AnyOf?: Array<PluginToolReqParam>;
|
|
8069
8124
|
}
|
|
8070
8125
|
/**
|
|
8071
|
-
*
|
|
8126
|
+
* 异步工作流的消息
|
|
8072
8127
|
*/
|
|
8073
|
-
export interface
|
|
8128
|
+
export interface AsyncWorkflowMessage {
|
|
8074
8129
|
/**
|
|
8075
|
-
*
|
|
8076
|
-
*/
|
|
8077
|
-
KnowledgeBizId?: string;
|
|
8078
|
-
/**
|
|
8079
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8130
|
+
* 内容数组,包含多个内容对象
|
|
8080
8131
|
*/
|
|
8081
|
-
|
|
8132
|
+
Contents?: Array<Content>;
|
|
8082
8133
|
}
|
|
8083
8134
|
/**
|
|
8084
8135
|
* DeleteAgent请求参数结构体
|
|
@@ -9417,6 +9468,7 @@ export interface AgentPluginInfo {
|
|
|
9417
9468
|
Headers?: Array<AgentPluginHeader>;
|
|
9418
9469
|
/**
|
|
9419
9470
|
* 插件调用LLM时使用的模型配置,一般用于指定知识库问答插件的生成模型
|
|
9471
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9420
9472
|
*/
|
|
9421
9473
|
Model?: AgentModelInfo;
|
|
9422
9474
|
/**
|
|
@@ -9425,6 +9477,7 @@ export interface AgentPluginInfo {
|
|
|
9425
9477
|
PluginInfoType?: number;
|
|
9426
9478
|
/**
|
|
9427
9479
|
* 知识库问答插件配置
|
|
9480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9428
9481
|
*/
|
|
9429
9482
|
KnowledgeQa?: AgentKnowledgeQAPlugin;
|
|
9430
9483
|
/**
|
|
@@ -10177,6 +10230,11 @@ export interface WorkflowRunDetail {
|
|
|
10177
10230
|
* 工作流的流程图
|
|
10178
10231
|
*/
|
|
10179
10232
|
WorkflowGraph?: string;
|
|
10233
|
+
/**
|
|
10234
|
+
* 当前的回复消息
|
|
10235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10236
|
+
*/
|
|
10237
|
+
LatestMessage?: AsyncWorkflowMessage;
|
|
10180
10238
|
}
|
|
10181
10239
|
/**
|
|
10182
10240
|
* 知识库详情信息
|