tencentcloud-sdk-nodejs-lke 4.1.208 → 4.1.209
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,
|
|
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, 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, ListReleaseDocPreviewRequest, ExportUnsatisfiedReplyResponse, DescribeStorageCredentialResponse, 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, 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
|
|
@@ -2114,41 +2114,41 @@ export interface KnowledgeDetail {
|
|
|
2114
2114
|
*/
|
|
2115
2115
|
export interface FileInfoContent {
|
|
2116
2116
|
/**
|
|
2117
|
-
*
|
|
2117
|
+
* <p>实时文档解析接口返回的 DocBizId</p>
|
|
2118
2118
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2119
2119
|
* @deprecated
|
|
2120
2120
|
*/
|
|
2121
|
-
DocBizId?:
|
|
2121
|
+
DocBizId?: string;
|
|
2122
2122
|
/**
|
|
2123
|
-
*
|
|
2123
|
+
* <p>文件名称</p>
|
|
2124
2124
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2125
2125
|
*/
|
|
2126
2126
|
FileName?: string;
|
|
2127
2127
|
/**
|
|
2128
|
-
*
|
|
2128
|
+
* <p>文件类型</p>
|
|
2129
2129
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2130
2130
|
*/
|
|
2131
2131
|
FileType?: string;
|
|
2132
2132
|
/**
|
|
2133
|
-
*
|
|
2133
|
+
* <p>文件大小,单位为Byte</p>
|
|
2134
2134
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2135
2135
|
*/
|
|
2136
|
-
FileSize?:
|
|
2136
|
+
FileSize?: string;
|
|
2137
2137
|
/**
|
|
2138
|
-
*
|
|
2138
|
+
* <p>文件 URL</p>
|
|
2139
2139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2140
2140
|
*/
|
|
2141
2141
|
FileUrl?: string;
|
|
2142
2142
|
/**
|
|
2143
|
-
*
|
|
2143
|
+
* <p>实时文档解析接口返回的 doc_id。</p>
|
|
2144
2144
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2145
2145
|
*/
|
|
2146
|
-
DocId?:
|
|
2146
|
+
DocId?: string;
|
|
2147
2147
|
/**
|
|
2148
|
-
*
|
|
2148
|
+
* <p>文件创建时间</p>
|
|
2149
2149
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2150
2150
|
*/
|
|
2151
|
-
CreateTime?:
|
|
2151
|
+
CreateTime?: string;
|
|
2152
2152
|
}
|
|
2153
2153
|
/**
|
|
2154
2154
|
* GenerateQA请求参数结构体
|
|
@@ -2481,41 +2481,69 @@ export interface OptionCardIndex {
|
|
|
2481
2481
|
Index?: number;
|
|
2482
2482
|
}
|
|
2483
2483
|
/**
|
|
2484
|
-
*
|
|
2484
|
+
* 当前执行的 token 统计信息
|
|
2485
2485
|
*/
|
|
2486
|
-
export interface
|
|
2486
|
+
export interface TokenStat {
|
|
2487
2487
|
/**
|
|
2488
|
-
*
|
|
2488
|
+
* 会话 ID
|
|
2489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2489
2490
|
*/
|
|
2490
|
-
|
|
2491
|
+
SessionId?: string;
|
|
2491
2492
|
/**
|
|
2492
|
-
*
|
|
2493
|
+
* 请求 ID
|
|
2494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2493
2495
|
*/
|
|
2494
|
-
|
|
2496
|
+
RequestId?: string;
|
|
2495
2497
|
/**
|
|
2496
|
-
*
|
|
2498
|
+
* 对应哪条会话, 会话 ID, 用于回答的消息存储使用, 可提前生成, 保存消息时使用
|
|
2499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2497
2500
|
*/
|
|
2498
|
-
|
|
2501
|
+
RecordId?: string;
|
|
2499
2502
|
/**
|
|
2500
|
-
*
|
|
2503
|
+
* token 已使用数
|
|
2504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2501
2505
|
*/
|
|
2502
|
-
|
|
2506
|
+
UsedCount?: number;
|
|
2503
2507
|
/**
|
|
2504
|
-
*
|
|
2508
|
+
* 免费 token 数
|
|
2509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2505
2510
|
*/
|
|
2506
|
-
|
|
2511
|
+
FreeCount?: number;
|
|
2507
2512
|
/**
|
|
2508
|
-
*
|
|
2513
|
+
* 订单总 token 数
|
|
2514
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2509
2515
|
*/
|
|
2510
|
-
|
|
2516
|
+
OrderCount?: number;
|
|
2511
2517
|
/**
|
|
2512
|
-
*
|
|
2518
|
+
* 当前执行状态汇总, 常量: 使用中: processing, 成功: success, 失败: failed
|
|
2519
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2513
2520
|
*/
|
|
2514
|
-
|
|
2521
|
+
StatusSummary?: string;
|
|
2515
2522
|
/**
|
|
2516
|
-
*
|
|
2523
|
+
* 当前执行状态汇总后中文展示
|
|
2524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2517
2525
|
*/
|
|
2518
|
-
|
|
2526
|
+
StatusSummaryTitle?: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* 当前请求执行时间, 单位 ms
|
|
2529
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2530
|
+
*/
|
|
2531
|
+
Elapsed?: number;
|
|
2532
|
+
/**
|
|
2533
|
+
* 当前请求消耗 token 数
|
|
2534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2535
|
+
*/
|
|
2536
|
+
TokenCount?: number;
|
|
2537
|
+
/**
|
|
2538
|
+
* 执行过程信息
|
|
2539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2540
|
+
*/
|
|
2541
|
+
Procedures?: Array<Procedure>;
|
|
2542
|
+
/**
|
|
2543
|
+
* 执行过程信息TraceId
|
|
2544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2545
|
+
*/
|
|
2546
|
+
TraceId?: string;
|
|
2519
2547
|
}
|
|
2520
2548
|
/**
|
|
2521
2549
|
* 应用配置MCP插件header信息
|
|
@@ -3774,69 +3802,54 @@ export interface FileCollection {
|
|
|
3774
3802
|
SupportedFileTypes: Array<string>;
|
|
3775
3803
|
}
|
|
3776
3804
|
/**
|
|
3777
|
-
*
|
|
3805
|
+
* ListReleaseDocPreview请求参数结构体
|
|
3778
3806
|
*/
|
|
3779
|
-
export interface
|
|
3780
|
-
/**
|
|
3781
|
-
* 会话 ID
|
|
3782
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3783
|
-
*/
|
|
3784
|
-
SessionId?: string;
|
|
3785
|
-
/**
|
|
3786
|
-
* 请求 ID
|
|
3787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3788
|
-
*/
|
|
3789
|
-
RequestId?: string;
|
|
3807
|
+
export interface ListReleaseDocPreviewRequest {
|
|
3790
3808
|
/**
|
|
3791
|
-
*
|
|
3792
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3809
|
+
* 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
|
|
3793
3810
|
*/
|
|
3794
|
-
|
|
3811
|
+
BotBizId: string;
|
|
3795
3812
|
/**
|
|
3796
|
-
*
|
|
3797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3813
|
+
* 页码(必须大于0)
|
|
3798
3814
|
*/
|
|
3799
|
-
|
|
3815
|
+
PageNumber: number;
|
|
3800
3816
|
/**
|
|
3801
|
-
*
|
|
3802
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3817
|
+
* 每页数量(取值范围为1-200)
|
|
3803
3818
|
*/
|
|
3804
|
-
|
|
3819
|
+
PageSize: number;
|
|
3805
3820
|
/**
|
|
3806
|
-
*
|
|
3807
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3821
|
+
* 查询内容关键字,用于模糊查询,若未提供该参数,默认为查询全部。
|
|
3808
3822
|
*/
|
|
3809
|
-
|
|
3823
|
+
Query?: string;
|
|
3810
3824
|
/**
|
|
3811
|
-
*
|
|
3812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3825
|
+
* 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
|
|
3813
3826
|
*/
|
|
3814
|
-
|
|
3827
|
+
ReleaseBizId?: string;
|
|
3815
3828
|
/**
|
|
3816
|
-
*
|
|
3817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3829
|
+
* 开始时间。Unix 时间戳,单位是秒,默认为空。
|
|
3818
3830
|
*/
|
|
3819
|
-
|
|
3831
|
+
StartTime?: string;
|
|
3820
3832
|
/**
|
|
3821
|
-
*
|
|
3822
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3833
|
+
* 结束时间。Unix 时间戳,单位是秒,默认为空。
|
|
3823
3834
|
*/
|
|
3824
|
-
|
|
3835
|
+
EndTime?: string;
|
|
3825
3836
|
/**
|
|
3826
|
-
*
|
|
3827
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3837
|
+
* 状态(1新增2修改3删除),其和ReleaseStatus的区别为: Actions表示的是对数据/内容的操作状态,ReleaseStatus表示数据 / 内容本身的发布状态
|
|
3828
3838
|
*/
|
|
3829
|
-
|
|
3839
|
+
Actions?: Array<number | bigint>;
|
|
3840
|
+
}
|
|
3841
|
+
/**
|
|
3842
|
+
* 问题可选项
|
|
3843
|
+
*/
|
|
3844
|
+
export interface QuestionOption {
|
|
3830
3845
|
/**
|
|
3831
|
-
*
|
|
3832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3846
|
+
* <p>选项的标签</p>
|
|
3833
3847
|
*/
|
|
3834
|
-
|
|
3848
|
+
Label?: string;
|
|
3835
3849
|
/**
|
|
3836
|
-
*
|
|
3837
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3850
|
+
* <p>选项的描述</p>
|
|
3838
3851
|
*/
|
|
3839
|
-
|
|
3852
|
+
Description?: string;
|
|
3840
3853
|
}
|
|
3841
3854
|
/**
|
|
3842
3855
|
* 数智人配置
|
|
@@ -3868,6 +3881,63 @@ export interface ExportUnsatisfiedReplyResponse {
|
|
|
3868
3881
|
*/
|
|
3869
3882
|
RequestId?: string;
|
|
3870
3883
|
}
|
|
3884
|
+
/**
|
|
3885
|
+
* DescribeStorageCredential返回参数结构体
|
|
3886
|
+
*/
|
|
3887
|
+
export interface DescribeStorageCredentialResponse {
|
|
3888
|
+
/**
|
|
3889
|
+
* 密钥信息
|
|
3890
|
+
*/
|
|
3891
|
+
Credentials?: Credentials;
|
|
3892
|
+
/**
|
|
3893
|
+
* 失效时间
|
|
3894
|
+
*/
|
|
3895
|
+
ExpiredTime?: number;
|
|
3896
|
+
/**
|
|
3897
|
+
* 开始时间
|
|
3898
|
+
*/
|
|
3899
|
+
StartTime?: number;
|
|
3900
|
+
/**
|
|
3901
|
+
* 对象存储桶
|
|
3902
|
+
*/
|
|
3903
|
+
Bucket?: string;
|
|
3904
|
+
/**
|
|
3905
|
+
* 对象存储可用区
|
|
3906
|
+
*/
|
|
3907
|
+
Region?: string;
|
|
3908
|
+
/**
|
|
3909
|
+
* 文件存储目录
|
|
3910
|
+
*/
|
|
3911
|
+
FilePath?: string;
|
|
3912
|
+
/**
|
|
3913
|
+
* 存储类型
|
|
3914
|
+
*/
|
|
3915
|
+
Type?: string;
|
|
3916
|
+
/**
|
|
3917
|
+
* 企业主账号
|
|
3918
|
+
*/
|
|
3919
|
+
CorpUin?: string;
|
|
3920
|
+
/**
|
|
3921
|
+
* 图片存储目录
|
|
3922
|
+
*/
|
|
3923
|
+
ImagePath?: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* 上传存储路径,到具体文件
|
|
3926
|
+
*/
|
|
3927
|
+
UploadPath?: string;
|
|
3928
|
+
/**
|
|
3929
|
+
* 文件上传地址,使用put请求上传文件到该地址
|
|
3930
|
+
*/
|
|
3931
|
+
UploadUrl?: string;
|
|
3932
|
+
/**
|
|
3933
|
+
* 文件的预签名地址,支持下载
|
|
3934
|
+
*/
|
|
3935
|
+
FileUrl?: string;
|
|
3936
|
+
/**
|
|
3937
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3938
|
+
*/
|
|
3939
|
+
RequestId?: string;
|
|
3940
|
+
}
|
|
3871
3941
|
/**
|
|
3872
3942
|
* DescribeRefer返回参数结构体
|
|
3873
3943
|
*/
|
|
@@ -3919,6 +3989,31 @@ export interface ListDocCateResponse {
|
|
|
3919
3989
|
*/
|
|
3920
3990
|
RequestId?: string;
|
|
3921
3991
|
}
|
|
3992
|
+
/**
|
|
3993
|
+
* 问卷的问题
|
|
3994
|
+
*/
|
|
3995
|
+
export interface QuestionnaireQuestion {
|
|
3996
|
+
/**
|
|
3997
|
+
* <p>问题的序号</p>
|
|
3998
|
+
*/
|
|
3999
|
+
Index?: number;
|
|
4000
|
+
/**
|
|
4001
|
+
* <p>问题的内容</p>
|
|
4002
|
+
*/
|
|
4003
|
+
Question?: string;
|
|
4004
|
+
/**
|
|
4005
|
+
* <p>问题类型</p>
|
|
4006
|
+
*/
|
|
4007
|
+
Type?: number;
|
|
4008
|
+
/**
|
|
4009
|
+
* <p>是否必选</p>
|
|
4010
|
+
*/
|
|
4011
|
+
Required?: boolean;
|
|
4012
|
+
/**
|
|
4013
|
+
* <p>问题的选项</p>
|
|
4014
|
+
*/
|
|
4015
|
+
Options?: Array<QuestionOption>;
|
|
4016
|
+
}
|
|
3922
4017
|
/**
|
|
3923
4018
|
* 知识检索筛选范围
|
|
3924
4019
|
*/
|
|
@@ -5980,6 +6075,23 @@ export interface ExportAttributeLabelRequest {
|
|
|
5980
6075
|
*/
|
|
5981
6076
|
Filters?: AttributeFilters;
|
|
5982
6077
|
}
|
|
6078
|
+
/**
|
|
6079
|
+
* 智能体任务信息
|
|
6080
|
+
*/
|
|
6081
|
+
export interface AgentTask {
|
|
6082
|
+
/**
|
|
6083
|
+
* <p>任务序号</p>
|
|
6084
|
+
*/
|
|
6085
|
+
Index?: number;
|
|
6086
|
+
/**
|
|
6087
|
+
* <p>任务内容</p>
|
|
6088
|
+
*/
|
|
6089
|
+
Content?: string;
|
|
6090
|
+
/**
|
|
6091
|
+
* <p>任务状态</p>
|
|
6092
|
+
*/
|
|
6093
|
+
Status?: string;
|
|
6094
|
+
}
|
|
5983
6095
|
/**
|
|
5984
6096
|
* ModifyQACate请求参数结构体
|
|
5985
6097
|
*/
|
|
@@ -7288,6 +7400,23 @@ export interface DescribeSharedKnowledgeRequest {
|
|
|
7288
7400
|
*/
|
|
7289
7401
|
KnowledgeBizId: string;
|
|
7290
7402
|
}
|
|
7403
|
+
/**
|
|
7404
|
+
* 问卷信息
|
|
7405
|
+
*/
|
|
7406
|
+
export interface Questionnaire {
|
|
7407
|
+
/**
|
|
7408
|
+
* <p>问卷的标题</p>
|
|
7409
|
+
*/
|
|
7410
|
+
Title?: string;
|
|
7411
|
+
/**
|
|
7412
|
+
* <p>问卷的问题列表</p>
|
|
7413
|
+
*/
|
|
7414
|
+
Questions?: Array<QuestionnaireQuestion>;
|
|
7415
|
+
/**
|
|
7416
|
+
* <p>问卷的答案列表</p>
|
|
7417
|
+
*/
|
|
7418
|
+
Answers?: Array<QuestionnaireQuestionAnswer>;
|
|
7419
|
+
}
|
|
7291
7420
|
/**
|
|
7292
7421
|
* ModifyDoc请求参数结构体
|
|
7293
7422
|
*/
|
|
@@ -7593,85 +7722,88 @@ export interface MsgFileInfo {
|
|
|
7593
7722
|
*/
|
|
7594
7723
|
export interface Content {
|
|
7595
7724
|
/**
|
|
7596
|
-
*
|
|
7597
|
-
text:文本
|
|
7598
|
-
image:图片
|
|
7599
|
-
file:文件
|
|
7600
|
-
option_cards:选项卡
|
|
7601
|
-
custom_params:用户自定义业务参数
|
|
7602
|
-
sandbox:云桌面
|
|
7603
|
-
custom_variables:自定义输入参数
|
|
7604
|
-
web_search: 网页搜索内容
|
|
7605
|
-
file_collection:文件收集信息
|
|
7606
|
-
widget:widget信息
|
|
7607
|
-
widget_action:用户端widget动作信息
|
|
7725
|
+
* <p>消息内容类型<br>text:文本<br>image:图片<br>file:文件<br>option_cards:选项卡<br>custom_params:用户自定义业务参数<br>sandbox:云桌面<br>custom_variables:自定义输入参数<br>web_search: 网页搜索内容<br>file_collection:文件收集信息<br>widget:widget信息<br>widget_action:用户端widget动作信息</p>
|
|
7608
7726
|
*/
|
|
7609
7727
|
Type?: string;
|
|
7610
7728
|
/**
|
|
7611
|
-
*
|
|
7729
|
+
* <p>文本内容</p>
|
|
7612
7730
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7613
7731
|
*/
|
|
7614
7732
|
Text?: string;
|
|
7615
7733
|
/**
|
|
7616
|
-
*
|
|
7734
|
+
* <p>引用信息</p>
|
|
7617
7735
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7618
7736
|
*/
|
|
7619
7737
|
QuoteInfos?: Array<QuoteInfo>;
|
|
7620
7738
|
/**
|
|
7621
|
-
*
|
|
7739
|
+
* <p>参考文献信息</p>
|
|
7622
7740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7623
7741
|
*/
|
|
7624
7742
|
References?: Array<ContentReference>;
|
|
7625
7743
|
/**
|
|
7626
|
-
*
|
|
7744
|
+
* <p>图片信息</p>
|
|
7627
7745
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7628
7746
|
*/
|
|
7629
7747
|
Image?: ImageInfoContent;
|
|
7630
7748
|
/**
|
|
7631
|
-
*
|
|
7749
|
+
* <p>文件信息</p>
|
|
7632
7750
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7633
7751
|
*/
|
|
7634
7752
|
File?: FileInfoContent;
|
|
7635
7753
|
/**
|
|
7636
|
-
*
|
|
7754
|
+
* <p>选项卡信息</p>
|
|
7637
7755
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7638
7756
|
*/
|
|
7639
7757
|
OptionCards?: Array<string>;
|
|
7640
7758
|
/**
|
|
7641
|
-
*
|
|
7759
|
+
* <p>用户自定义业务参数信息</p>
|
|
7642
7760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7643
7761
|
*/
|
|
7644
7762
|
CustomParams?: Array<string>;
|
|
7645
7763
|
/**
|
|
7646
|
-
*
|
|
7764
|
+
* <p>自定义变量</p>
|
|
7647
7765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7648
7766
|
*/
|
|
7649
7767
|
CustomVariables?: Array<string>;
|
|
7650
7768
|
/**
|
|
7651
|
-
*
|
|
7769
|
+
* <p>沙盒信息</p>
|
|
7652
7770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7653
7771
|
*/
|
|
7654
7772
|
Sandbox?: SandboxContent;
|
|
7655
7773
|
/**
|
|
7656
|
-
*
|
|
7774
|
+
* <p>网页搜索内容</p>
|
|
7657
7775
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7658
7776
|
*/
|
|
7659
7777
|
WebSearch?: WebSearchContent;
|
|
7660
7778
|
/**
|
|
7661
|
-
*
|
|
7779
|
+
* <p>文件收集信息</p>
|
|
7662
7780
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7663
7781
|
*/
|
|
7664
7782
|
FileCollection?: FileCollection;
|
|
7665
7783
|
/**
|
|
7666
|
-
* Widget
|
|
7784
|
+
* <p>Widget信息</p>
|
|
7667
7785
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7668
7786
|
*/
|
|
7669
7787
|
Widget?: Widget;
|
|
7670
7788
|
/**
|
|
7671
|
-
* Widget
|
|
7789
|
+
* <p>Widget动作信息</p>
|
|
7672
7790
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7673
7791
|
*/
|
|
7674
7792
|
WidgetAction?: WidgetAction;
|
|
7793
|
+
/**
|
|
7794
|
+
* <p>任务列表</p>
|
|
7795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7796
|
+
*/
|
|
7797
|
+
Tasks?: Array<AgentTask>;
|
|
7798
|
+
/**
|
|
7799
|
+
* <p>问卷信息</p>
|
|
7800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7801
|
+
*/
|
|
7802
|
+
Questionnaire?: Questionnaire;
|
|
7803
|
+
/**
|
|
7804
|
+
* <p>选项卡模式</p>
|
|
7805
|
+
*/
|
|
7806
|
+
OptionMode?: number;
|
|
7675
7807
|
}
|
|
7676
7808
|
/**
|
|
7677
7809
|
* DescribeTokenUsage请求参数结构体
|
|
@@ -7848,61 +7980,78 @@ export interface DescribeCallStatsGraphResponse {
|
|
|
7848
7980
|
RequestId?: string;
|
|
7849
7981
|
}
|
|
7850
7982
|
/**
|
|
7851
|
-
*
|
|
7983
|
+
* 引用来源详情
|
|
7852
7984
|
*/
|
|
7853
|
-
export interface
|
|
7985
|
+
export interface ReferDetail {
|
|
7854
7986
|
/**
|
|
7855
|
-
*
|
|
7987
|
+
* 引用ID
|
|
7988
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7856
7989
|
*/
|
|
7857
|
-
|
|
7990
|
+
ReferBizId?: string;
|
|
7858
7991
|
/**
|
|
7859
|
-
*
|
|
7992
|
+
* 文档类型 (1 QA, 2 文档段)
|
|
7993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7860
7994
|
*/
|
|
7861
|
-
|
|
7995
|
+
DocType?: number;
|
|
7862
7996
|
/**
|
|
7863
|
-
*
|
|
7997
|
+
* 文档名称
|
|
7998
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7864
7999
|
*/
|
|
7865
|
-
|
|
8000
|
+
DocName?: string;
|
|
7866
8001
|
/**
|
|
7867
|
-
*
|
|
8002
|
+
* 分片内容
|
|
8003
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7868
8004
|
*/
|
|
7869
|
-
|
|
8005
|
+
PageContent?: string;
|
|
7870
8006
|
/**
|
|
7871
|
-
*
|
|
8007
|
+
* 问题
|
|
8008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7872
8009
|
*/
|
|
7873
|
-
|
|
8010
|
+
Question?: string;
|
|
7874
8011
|
/**
|
|
7875
|
-
*
|
|
8012
|
+
* 答案
|
|
8013
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7876
8014
|
*/
|
|
7877
|
-
|
|
8015
|
+
Answer?: string;
|
|
7878
8016
|
/**
|
|
7879
|
-
*
|
|
8017
|
+
* 置信度
|
|
8018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7880
8019
|
*/
|
|
7881
|
-
|
|
8020
|
+
Confidence?: number;
|
|
7882
8021
|
/**
|
|
7883
|
-
*
|
|
8022
|
+
* 标记
|
|
8023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7884
8024
|
*/
|
|
7885
|
-
|
|
8025
|
+
Mark?: number;
|
|
7886
8026
|
/**
|
|
7887
|
-
*
|
|
8027
|
+
* 分片高亮内容
|
|
8028
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7888
8029
|
*/
|
|
7889
|
-
|
|
8030
|
+
Highlights?: Array<Highlight>;
|
|
7890
8031
|
/**
|
|
7891
|
-
*
|
|
8032
|
+
* 原始内容
|
|
8033
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7892
8034
|
*/
|
|
7893
|
-
|
|
8035
|
+
OrgData?: string;
|
|
7894
8036
|
/**
|
|
7895
|
-
*
|
|
8037
|
+
* 页码信息
|
|
8038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7896
8039
|
*/
|
|
7897
|
-
|
|
8040
|
+
PageInfos?: Array<number | bigint>;
|
|
7898
8041
|
/**
|
|
7899
|
-
*
|
|
8042
|
+
* sheet信息
|
|
8043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7900
8044
|
*/
|
|
7901
|
-
|
|
8045
|
+
SheetInfos?: Array<string>;
|
|
7902
8046
|
/**
|
|
7903
|
-
*
|
|
8047
|
+
* 文档ID
|
|
8048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7904
8049
|
*/
|
|
7905
|
-
|
|
8050
|
+
DocBizId?: string;
|
|
8051
|
+
/**
|
|
8052
|
+
* 知识库ID
|
|
8053
|
+
*/
|
|
8054
|
+
KnowledgeBizId?: string;
|
|
7906
8055
|
}
|
|
7907
8056
|
/**
|
|
7908
8057
|
* CheckAttributeLabelExist返回参数结构体
|
|
@@ -8630,78 +8779,17 @@ export interface SandboxContent {
|
|
|
8630
8779
|
Content?: string;
|
|
8631
8780
|
}
|
|
8632
8781
|
/**
|
|
8633
|
-
*
|
|
8782
|
+
* 问卷问题的答案
|
|
8634
8783
|
*/
|
|
8635
|
-
export interface
|
|
8636
|
-
/**
|
|
8637
|
-
* 引用ID
|
|
8638
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8639
|
-
*/
|
|
8640
|
-
ReferBizId?: string;
|
|
8641
|
-
/**
|
|
8642
|
-
* 文档类型 (1 QA, 2 文档段)
|
|
8643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8644
|
-
*/
|
|
8645
|
-
DocType?: number;
|
|
8646
|
-
/**
|
|
8647
|
-
* 文档名称
|
|
8648
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8649
|
-
*/
|
|
8650
|
-
DocName?: string;
|
|
8784
|
+
export interface QuestionnaireQuestionAnswer {
|
|
8651
8785
|
/**
|
|
8652
|
-
*
|
|
8653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8654
|
-
*/
|
|
8655
|
-
PageContent?: string;
|
|
8656
|
-
/**
|
|
8657
|
-
* 问题
|
|
8658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8786
|
+
* <p>问题</p>
|
|
8659
8787
|
*/
|
|
8660
8788
|
Question?: string;
|
|
8661
8789
|
/**
|
|
8662
|
-
*
|
|
8663
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8664
|
-
*/
|
|
8665
|
-
Answer?: string;
|
|
8666
|
-
/**
|
|
8667
|
-
* 置信度
|
|
8668
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8669
|
-
*/
|
|
8670
|
-
Confidence?: number;
|
|
8671
|
-
/**
|
|
8672
|
-
* 标记
|
|
8673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8674
|
-
*/
|
|
8675
|
-
Mark?: number;
|
|
8676
|
-
/**
|
|
8677
|
-
* 分片高亮内容
|
|
8678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8790
|
+
* <p>选中的答案标签</p>
|
|
8679
8791
|
*/
|
|
8680
|
-
|
|
8681
|
-
/**
|
|
8682
|
-
* 原始内容
|
|
8683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8684
|
-
*/
|
|
8685
|
-
OrgData?: string;
|
|
8686
|
-
/**
|
|
8687
|
-
* 页码信息
|
|
8688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8689
|
-
*/
|
|
8690
|
-
PageInfos?: Array<number | bigint>;
|
|
8691
|
-
/**
|
|
8692
|
-
* sheet信息
|
|
8693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8694
|
-
*/
|
|
8695
|
-
SheetInfos?: Array<string>;
|
|
8696
|
-
/**
|
|
8697
|
-
* 文档ID
|
|
8698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8699
|
-
*/
|
|
8700
|
-
DocBizId?: string;
|
|
8701
|
-
/**
|
|
8702
|
-
* 知识库ID
|
|
8703
|
-
*/
|
|
8704
|
-
KnowledgeBizId?: string;
|
|
8792
|
+
SelectedLabels?: Array<string>;
|
|
8705
8793
|
}
|
|
8706
8794
|
/**
|
|
8707
8795
|
* 共享知识库更新信息
|
|
@@ -9474,38 +9562,38 @@ export interface DescribeConcurrencyUsageGraphResponse {
|
|
|
9474
9562
|
*/
|
|
9475
9563
|
export interface AgentPluginInfo {
|
|
9476
9564
|
/**
|
|
9477
|
-
*
|
|
9565
|
+
* <p>插件id</p>
|
|
9478
9566
|
*/
|
|
9479
9567
|
PluginId?: string;
|
|
9480
9568
|
/**
|
|
9481
|
-
*
|
|
9569
|
+
* <p>应用配置的插件header信息</p>
|
|
9482
9570
|
*/
|
|
9483
9571
|
Headers?: Array<AgentPluginHeader>;
|
|
9484
9572
|
/**
|
|
9485
|
-
*
|
|
9573
|
+
* <p>插件调用LLM时使用的模型配置,一般用于指定知识库问答插件的生成模型</p>
|
|
9486
9574
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9487
9575
|
*/
|
|
9488
9576
|
Model?: AgentModelInfo;
|
|
9489
9577
|
/**
|
|
9490
|
-
*
|
|
9578
|
+
* <p>插件信息类型; 0: 未指定类型; 1: 知识库问答插件</p>
|
|
9491
9579
|
*/
|
|
9492
9580
|
PluginInfoType?: number;
|
|
9493
9581
|
/**
|
|
9494
|
-
*
|
|
9582
|
+
* <p>知识库问答插件配置</p>
|
|
9495
9583
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9496
9584
|
*/
|
|
9497
9585
|
KnowledgeQa?: AgentKnowledgeQAPlugin;
|
|
9498
9586
|
/**
|
|
9499
|
-
*
|
|
9587
|
+
* <p>是否使用一键授权</p>
|
|
9500
9588
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9501
9589
|
*/
|
|
9502
9590
|
EnableRoleAuth?: boolean;
|
|
9503
9591
|
/**
|
|
9504
|
-
*
|
|
9592
|
+
* <p>应用配置的插件query信息</p>
|
|
9505
9593
|
*/
|
|
9506
9594
|
Query?: Array<AgentPluginQuery>;
|
|
9507
9595
|
/**
|
|
9508
|
-
* MCP
|
|
9596
|
+
* <p>MCP类型</p><p>枚举值:</p><ul><li>0: SSE 模式</li><li>1: Streamable Http 模式</li></ul>
|
|
9509
9597
|
*/
|
|
9510
9598
|
McpType?: number;
|
|
9511
9599
|
}
|