tencentcloud-sdk-nodejs-lke 4.1.2 → 4.1.4
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.
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
11
|
"build:cjs": "tsc -p tsconfig.json",
|
|
12
12
|
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:slim": "node ./scripts/build_slim.js",
|
|
13
14
|
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
14
15
|
"clean": "rimraf tencentcloud es"
|
|
15
16
|
},
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
"babel-eslint": "^10.0.2",
|
|
54
55
|
"chai": "^4.2.0",
|
|
55
56
|
"concurrently": "^6.5.1",
|
|
57
|
+
"esbuild": "^0.25.0",
|
|
56
58
|
"eslint": "^6.8.0",
|
|
57
59
|
"eslint-plugin-react": "^7.17.0",
|
|
58
60
|
"mocha": "^8.4.0",
|
|
@@ -306,8 +306,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
306
306
|
/**
|
|
307
307
|
* 知识库文档问答保存。
|
|
308
308
|
将文件存储到应用的知识库内需要三步:
|
|
309
|
-
1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)
|
|
310
|
-
2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos
|
|
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
311
|
3.调用本接口,将文件的基础信息存储到知识引擎中。
|
|
312
312
|
以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
|
313
313
|
*/
|
|
@@ -474,8 +474,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
474
474
|
/**
|
|
475
475
|
* 知识库文档问答保存。
|
|
476
476
|
将文件存储到应用的知识库内需要三步:
|
|
477
|
-
1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)
|
|
478
|
-
2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos
|
|
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
479
|
3.调用本接口,将文件的基础信息存储到知识引擎中。
|
|
480
480
|
以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
|
481
481
|
*/
|
|
@@ -140,8 +140,7 @@ export interface DescribeQAResponse {
|
|
|
140
140
|
*/
|
|
141
141
|
CustomParam?: string;
|
|
142
142
|
/**
|
|
143
|
-
* 来源
|
|
144
|
-
|
|
143
|
+
* 来源 1-文档生成问答对 2-批量导入问答对 3-单条手动录入问答对
|
|
145
144
|
*/
|
|
146
145
|
Source?: number;
|
|
147
146
|
/**
|
|
@@ -155,8 +154,7 @@ export interface DescribeQAResponse {
|
|
|
155
154
|
*/
|
|
156
155
|
UpdateTime?: string;
|
|
157
156
|
/**
|
|
158
|
-
* 状态
|
|
159
|
-
|
|
157
|
+
* 状态 <br>1-未校验 2-未发布 3-发布中 4-已发布 5-发布失败 6-不采纳 7-审核中 8-审核失败 9-审核失败申诉后人工审核中 11-审核失败申诉后人工审核不通过 12-已过期 13-超量失效 14-超量失效恢复 19-学习中 20-学习失败
|
|
160
158
|
*/
|
|
161
159
|
Status?: number;
|
|
162
160
|
/**
|