tencentcloud-sdk-nodejs-tcb 4.1.232 → 4.1.234
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
|
@@ -43,7 +43,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
43
43
|
|
|
44
44
|
通常在以下场景中使用:
|
|
45
45
|
|
|
46
|
-
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [
|
|
46
|
+
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
47
47
|
*/
|
|
48
48
|
DescribeManagedAIModelList(req: DescribeManagedAIModelListRequest, cb?: (error: string, rep: DescribeManagedAIModelListResponse) => void): Promise<DescribeManagedAIModelListResponse>;
|
|
49
49
|
/**
|
|
@@ -82,9 +82,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
82
82
|
|
|
83
83
|
支持自定义类型(custom):用户自行提供模型服务地址(baseUrl)和访问密钥,分组名可自由命名,适用于接入第三方或自建模型服务。
|
|
84
84
|
|
|
85
|
-
注意:内置类型(builtin)分组由云开发平台统一创建和管理,不支持通过此接口创建。如需修改内置分组的模型列表或启用状态,请使用 [UpdateAIModel]() 接口。
|
|
85
|
+
注意:内置类型(builtin)分组由云开发平台统一创建和管理,不支持通过此接口创建。如需修改内置分组的模型列表或启用状态,请使用 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口。
|
|
86
86
|
|
|
87
|
-
创建成功后,可通过 [
|
|
87
|
+
创建成功后,可通过 [DescribeAIModels](https://cloud.tencent.com/document/product/876/131318) 接口查询分组信息,并在云开发 AI+ 功能中使用所配置的模型。
|
|
88
88
|
*/
|
|
89
89
|
CreateAIModel(req: CreateAIModelRequest, cb?: (error: string, rep: CreateAIModelResponse) => void): Promise<CreateAIModelResponse>;
|
|
90
90
|
/**
|
|
@@ -255,9 +255,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
255
255
|
|
|
256
256
|
(2) custom → builtin(自定义恢复内置托管)
|
|
257
257
|
仅当分组的原始类型(OriginType)为 builtin 时,支持将分组恢复为内置托管类型。将 BaseUrl 传入固定值 http://default.tcb,且不传入 Secret,系统将自动将该分组转换回内置托管类型(Type = builtin),平台重新接管其服务地址和访问密钥。
|
|
258
|
-
若 OriginType 为 CUSTOM(即用户通过 CreateAIModel 接口自行创建的自定义分组),不支持恢复为内置托管类型。
|
|
258
|
+
若 OriginType 为 CUSTOM(即用户通过 [CreateAIModel](https://cloud.tencent.com/document/product/876/131320) 接口自行创建的自定义分组),不支持恢复为内置托管类型。
|
|
259
259
|
|
|
260
|
-
更新成功后,可通过 [
|
|
260
|
+
更新成功后,可通过 [DescribeAIModels](https://cloud.tencent.com/document/product/876/131318) 接口查询最新分组配置。
|
|
261
261
|
*/
|
|
262
262
|
UpdateAIModel(req: UpdateAIModelRequest, cb?: (error: string, rep: UpdateAIModelResponse) => void): Promise<UpdateAIModelResponse>;
|
|
263
263
|
/**
|
|
@@ -75,7 +75,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
75
75
|
|
|
76
76
|
通常在以下场景中使用:
|
|
77
77
|
|
|
78
|
-
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [
|
|
78
|
+
开通托管模型前:通过本接口查询平台支持的托管模型及其规格,结合 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口完成模型配置。
|
|
79
79
|
*/
|
|
80
80
|
async DescribeManagedAIModelList(req, cb) {
|
|
81
81
|
return this.request("DescribeManagedAIModelList", req, cb);
|
|
@@ -126,9 +126,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
126
126
|
|
|
127
127
|
支持自定义类型(custom):用户自行提供模型服务地址(baseUrl)和访问密钥,分组名可自由命名,适用于接入第三方或自建模型服务。
|
|
128
128
|
|
|
129
|
-
注意:内置类型(builtin)分组由云开发平台统一创建和管理,不支持通过此接口创建。如需修改内置分组的模型列表或启用状态,请使用 [UpdateAIModel]() 接口。
|
|
129
|
+
注意:内置类型(builtin)分组由云开发平台统一创建和管理,不支持通过此接口创建。如需修改内置分组的模型列表或启用状态,请使用 [UpdateAIModel](https://cloud.tencent.com/document/product/876/131316) 接口。
|
|
130
130
|
|
|
131
|
-
创建成功后,可通过 [
|
|
131
|
+
创建成功后,可通过 [DescribeAIModels](https://cloud.tencent.com/document/product/876/131318) 接口查询分组信息,并在云开发 AI+ 功能中使用所配置的模型。
|
|
132
132
|
*/
|
|
133
133
|
async CreateAIModel(req, cb) {
|
|
134
134
|
return this.request("CreateAIModel", req, cb);
|
|
@@ -357,9 +357,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
357
357
|
|
|
358
358
|
(2) custom → builtin(自定义恢复内置托管)
|
|
359
359
|
仅当分组的原始类型(OriginType)为 builtin 时,支持将分组恢复为内置托管类型。将 BaseUrl 传入固定值 http://default.tcb,且不传入 Secret,系统将自动将该分组转换回内置托管类型(Type = builtin),平台重新接管其服务地址和访问密钥。
|
|
360
|
-
若 OriginType 为 CUSTOM(即用户通过 CreateAIModel 接口自行创建的自定义分组),不支持恢复为内置托管类型。
|
|
360
|
+
若 OriginType 为 CUSTOM(即用户通过 [CreateAIModel](https://cloud.tencent.com/document/product/876/131320) 接口自行创建的自定义分组),不支持恢复为内置托管类型。
|
|
361
361
|
|
|
362
|
-
更新成功后,可通过 [
|
|
362
|
+
更新成功后,可通过 [DescribeAIModels](https://cloud.tencent.com/document/product/876/131318) 接口查询最新分组配置。
|
|
363
363
|
*/
|
|
364
364
|
async UpdateAIModel(req, cb) {
|
|
365
365
|
return this.request("UpdateAIModel", req, cb);
|