tencentcloud-sdk-nodejs-lke 4.1.42 → 4.1.44

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-lke",
3
- "version": "4.1.42",
3
+ "version": "4.1.44",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -306,9 +306,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
306
306
  /**
307
307
  * 知识库文档问答保存。
308
308
  将文件存储到应用的知识库内需要三步:
309
- 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [知识引擎操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
310
- 2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
311
- 3.调用本接口,将文件的基础信息存储到知识引擎中。
309
+ 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [智能体开发平台操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
310
+ 2.调用腾讯云提供的 cos 存储接口,将文件存储到智能体开发平台 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
311
+ 3.调用本接口,将文件的基础信息存储到智能体开发平台中。
312
312
  以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
313
313
  */
314
314
  SaveDoc(req: SaveDocRequest, cb?: (error: string, rep: SaveDocResponse) => void): Promise<SaveDocResponse>;
@@ -474,9 +474,9 @@ class Client extends TencentCloudCommon.AbstractClient {
474
474
  /**
475
475
  * 知识库文档问答保存。
476
476
  将文件存储到应用的知识库内需要三步:
477
- 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [知识引擎操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
478
- 2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
479
- 3.调用本接口,将文件的基础信息存储到知识引擎中。
477
+ 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [智能体开发平台操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
478
+ 2.调用腾讯云提供的 cos 存储接口,将文件存储到智能体开发平台 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
479
+ 3.调用本接口,将文件的基础信息存储到智能体开发平台中。
480
480
  以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
481
481
  */
482
482
  async SaveDoc(req, cb) {
@@ -2214,14 +2214,6 @@ export interface DescribeDocResponse {
2214
2214
  * 分类ID
2215
2215
  */
2216
2216
  CateBizId?: string;
2217
- /**
2218
- * 文档的用户自定义ID
2219
- */
2220
- CustomerKnowledgeId?: string;
2221
- /**
2222
- * 文档的属性标记,0: 不做用户外部权限校验
2223
- */
2224
- AttributeFlags?: Array<number | bigint>;
2225
2217
  /**
2226
2218
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2227
2219
  */
@@ -3102,21 +3094,13 @@ export interface SaveDocRequest {
3102
3094
  */
3103
3095
  IsRefer?: boolean;
3104
3096
  /**
3105
- * 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为1 <br> 请注意,opt=1的时候请从知识引擎页面下载excel模板
3097
+ * 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为1 <br> 请注意,opt=1的时候请从腾讯云智能体开发平台页面下载excel模板
3106
3098
  */
3107
3099
  Opt?: number;
3108
3100
  /**
3109
3101
  * 分类ID
3110
3102
  */
3111
3103
  CateBizId?: string;
3112
- /**
3113
- * 文档的用户自定义ID
3114
- */
3115
- CustomerKnowledgeId?: string;
3116
- /**
3117
- * 文档的属性标记,0: 不做用户外部权限校验
3118
- */
3119
- AttributeFlags?: Array<number | bigint>;
3120
3104
  }
3121
3105
  /**
3122
3106
  * RetryDocParse请求参数结构体
@@ -6015,14 +5999,6 @@ export interface ModifyDocRequest {
6015
5999
  * 分类ID
6016
6000
  */
6017
6001
  CateBizId?: string;
6018
- /**
6019
- * 文档的用户自定义ID
6020
- */
6021
- CustomerKnowledgeId?: string;
6022
- /**
6023
- * 文档的属性标记,0: 不做用户外部权限校验
6024
- */
6025
- AttributeFlags?: Array<number | bigint>;
6026
6002
  }
6027
6003
  /**
6028
6004
  * DescribeTokenUsage返回参数结构体