tencentcloud-sdk-nodejs-lke 4.1.41 → 4.1.43

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.41",
3
+ "version": "4.1.43",
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
  */
@@ -3109,14 +3101,6 @@ export interface SaveDocRequest {
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返回参数结构体
@@ -7073,17 +7049,13 @@ export interface GetMsgRecordRequest {
7073
7049
  */
7074
7050
  Type: number;
7075
7051
  /**
7076
- * 数量, 数量需大于2
7052
+ * 数量, 数量需大于2, 最大1000
7077
7053
  */
7078
7054
  Count: number;
7079
7055
  /**
7080
7056
  * 会话sessionid
7081
7057
  */
7082
7058
  SessionId: string;
7083
- /**
7084
- * 最后一条记录ID
7085
- */
7086
- LastRecordId?: string;
7087
7059
  /**
7088
7060
  * 应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
7089
7061
  */
@@ -7092,8 +7064,18 @@ export interface GetMsgRecordRequest {
7092
7064
  * 场景, 体验: 1; 正式: 2
7093
7065
  */
7094
7066
  Scene?: number;
7067
+ /**
7068
+ * 最后一条记录ID, 消息从后往前获取
7069
+
7070
+ MidRecordId与LastRecordId只能选择一个
7071
+
7072
+ */
7073
+ LastRecordId?: string;
7095
7074
  /**
7096
7075
  * 传该值,代表拉取该记录id的前后总共count条消息记录
7076
+
7077
+ MidRecordId与LastRecordId只能选择一个
7078
+
7097
7079
  */
7098
7080
  MidRecordId?: string;
7099
7081
  }