tencentcloud-sdk-nodejs 4.1.316 → 4.1.318
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/es/common/sdk_version.js +1 -1
- package/es/services/apm/v20210622/apm_client.js +3 -0
- package/es/services/dlc/v20210125/dlc_client.js +57 -9
- package/es/services/index.js +1 -0
- package/es/services/ioa/v20220601/ioa_client.js +17 -2
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +3 -0
- package/es/services/live/v20180801/live_client.js +37 -10
- package/es/services/tcb/v20180608/tcb_client.js +9 -0
- package/es/services/teo/v20220901/teo_client.js +15 -6
- package/es/services/workbuddyenterprise/index.js +4 -0
- package/es/services/workbuddyenterprise/v20260709/index.js +6 -0
- package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +84 -0
- package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +1 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_client.d.ts +20 -20
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +1177 -160
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +21 -0
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +11 -14
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +30 -22
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +139 -16
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +241 -1
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +2 -2
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +72 -27
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +45 -0
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +34 -36
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +30 -25
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +75 -11
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +111 -15
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2336 -714
- package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +6 -6
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +10 -15
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +3 -3
- package/tencentcloud/services/hai/v20230812/hai_client.js +2 -2
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +26 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +63 -21
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +63 -21
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +1 -0
- package/tencentcloud/services/iai/v20200303/iai_client.js +1 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +3 -1
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +23 -3
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +33 -3
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +518 -4
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +190 -49
- package/tencentcloud/services/live/v20180801/live_client.d.ts +47 -11
- package/tencentcloud/services/live/v20180801/live_client.js +69 -15
- package/tencentcloud/services/live/v20180801/live_models.d.ts +547 -177
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +14 -12
- package/tencentcloud/services/rce/v20260130/rce_client.d.ts +3 -3
- package/tencentcloud/services/rce/v20260130/rce_client.js +3 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +13 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +18 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +131 -0
- package/tencentcloud/services/tdai/v20250717/tdai_client.d.ts +1 -1
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +132 -99
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +26 -10
- package/tencentcloud/services/teo/v20220901/teo_client.js +34 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +428 -135
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +6 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +3 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +3 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +15 -16
- package/tencentcloud/services/workbuddyenterprise/index.d.ts +6 -0
- package/tencentcloud/services/workbuddyenterprise/index.js +7 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/index.d.ts +6 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/index.js +10 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +114 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +187 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +2113 -0
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +18 -0
|
@@ -1122,7 +1122,7 @@ export interface CommonFilter {
|
|
|
1122
1122
|
*/
|
|
1123
1123
|
Values?: Array<string>;
|
|
1124
1124
|
/**
|
|
1125
|
-
* 操作类型:1
|
|
1125
|
+
* 操作类型:1=精确匹配,7=in,9=模糊匹配
|
|
1126
1126
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1127
1127
|
*/
|
|
1128
1128
|
OperatorType?: number;
|
|
@@ -1311,23 +1311,23 @@ export interface DescribeRiskCategoryStatsResponse {
|
|
|
1311
1311
|
*/
|
|
1312
1312
|
export interface MemberInfo {
|
|
1313
1313
|
/**
|
|
1314
|
-
*
|
|
1314
|
+
* 成员 AppId
|
|
1315
1315
|
*/
|
|
1316
1316
|
AppId?: string;
|
|
1317
1317
|
/**
|
|
1318
|
-
*
|
|
1318
|
+
* 成员 Uin
|
|
1319
1319
|
*/
|
|
1320
1320
|
Uin?: string;
|
|
1321
1321
|
/**
|
|
1322
|
-
*
|
|
1322
|
+
* 成员昵称
|
|
1323
1323
|
*/
|
|
1324
1324
|
Nickname?: string;
|
|
1325
1325
|
/**
|
|
1326
|
-
*
|
|
1326
|
+
* 成员 ID(个人场景为空)
|
|
1327
1327
|
*/
|
|
1328
1328
|
MemberId?: string;
|
|
1329
1329
|
/**
|
|
1330
|
-
*
|
|
1330
|
+
* 所属部门
|
|
1331
1331
|
*/
|
|
1332
1332
|
NodeName?: string;
|
|
1333
1333
|
}
|
|
@@ -1687,40 +1687,35 @@ export interface RestoreAndroidInstanceFromStorageResponse {
|
|
|
1687
1687
|
*/
|
|
1688
1688
|
export interface DescribeAndroidInstancesRequest {
|
|
1689
1689
|
/**
|
|
1690
|
-
*
|
|
1690
|
+
* <p>偏移量,默认为 0</p>
|
|
1691
1691
|
*/
|
|
1692
1692
|
Offset?: number;
|
|
1693
1693
|
/**
|
|
1694
|
-
*
|
|
1694
|
+
* <p>限制量,默认为20,最大值为100</p>
|
|
1695
1695
|
*/
|
|
1696
1696
|
Limit?: number;
|
|
1697
1697
|
/**
|
|
1698
|
-
*
|
|
1698
|
+
* <p>实例ID。每次请求的实例的上限为100。</p>
|
|
1699
1699
|
*/
|
|
1700
1700
|
AndroidInstanceIds?: Array<string>;
|
|
1701
1701
|
/**
|
|
1702
|
-
*
|
|
1702
|
+
* <p>实例地域。目前还不支持按地域进行聚合查询</p>
|
|
1703
1703
|
*/
|
|
1704
1704
|
AndroidInstanceRegion?: string;
|
|
1705
1705
|
/**
|
|
1706
|
-
*
|
|
1706
|
+
* <p>实例可用区</p>
|
|
1707
1707
|
*/
|
|
1708
1708
|
AndroidInstanceZone?: string;
|
|
1709
1709
|
/**
|
|
1710
|
-
*
|
|
1710
|
+
* <p>实例分组 ID 列表</p>
|
|
1711
1711
|
*/
|
|
1712
1712
|
AndroidInstanceGroupIds?: Array<string>;
|
|
1713
1713
|
/**
|
|
1714
|
-
*
|
|
1714
|
+
* <p>实例标签选择器</p>
|
|
1715
1715
|
*/
|
|
1716
1716
|
LabelSelector?: Array<LabelRequirement>;
|
|
1717
1717
|
/**
|
|
1718
|
-
*
|
|
1719
|
-
Name:实例名称
|
|
1720
|
-
UserId:实例用户ID
|
|
1721
|
-
HostSerialNumber:宿主机序列号
|
|
1722
|
-
HostServerSerialNumber:机箱序列号
|
|
1723
|
-
AndroidInstanceModel:实例型号
|
|
1718
|
+
* <p>字段过滤器。Filter 的 Name 有以下值:<br>Name:实例名称<br>UserId:实例用户ID<br>HostSerialNumber:宿主机序列号<br>HostServerSerialNumber:机箱序列号<br>AndroidInstanceModel:实例型号</p>
|
|
1724
1719
|
*/
|
|
1725
1720
|
Filters?: Array<Filter>;
|
|
1726
1721
|
}
|
|
@@ -1729,11 +1724,11 @@ export interface DescribeAndroidInstancesRequest {
|
|
|
1729
1724
|
*/
|
|
1730
1725
|
export interface DescribeAndroidInstancesResponse {
|
|
1731
1726
|
/**
|
|
1732
|
-
*
|
|
1727
|
+
* <p>实例总数量</p>
|
|
1733
1728
|
*/
|
|
1734
1729
|
TotalCount?: number;
|
|
1735
1730
|
/**
|
|
1736
|
-
*
|
|
1731
|
+
* <p>实例列表</p>
|
|
1737
1732
|
*/
|
|
1738
1733
|
AndroidInstances?: Array<AndroidInstance>;
|
|
1739
1734
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class Client extends AbstractClient {
|
|
|
16
16
|
*/
|
|
17
17
|
ResizeInstanceDisk(req: ResizeInstanceDiskRequest, cb?: (error: string, rep: ResizeInstanceDiskResponse) => void): Promise<ResizeInstanceDiskResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* 本接口(DescribeDeployTemplates)
|
|
19
|
+
* 本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
|
|
20
20
|
*/
|
|
21
21
|
DescribeDeployTemplates(req: DescribeDeployTemplatesRequest, cb?: (error: string, rep: DescribeDeployTemplatesResponse) => void): Promise<DescribeDeployTemplatesResponse>;
|
|
22
22
|
/**
|
|
@@ -75,7 +75,7 @@ export declare class Client extends AbstractClient {
|
|
|
75
75
|
/**
|
|
76
76
|
* 本接口(GetServicePodLogs)用于查询推理服务Pod日志
|
|
77
77
|
*/
|
|
78
|
-
GetServicePodLogs(req
|
|
78
|
+
GetServicePodLogs(req: GetServicePodLogsRequest, cb?: (error: string, rep: GetServicePodLogsResponse) => void): Promise<GetServicePodLogsResponse>;
|
|
79
79
|
/**
|
|
80
80
|
* 本接口 (DescribeServices) 用于查询一个或多个服务
|
|
81
81
|
*/
|
|
@@ -94,7 +94,7 @@ export declare class Client extends AbstractClient {
|
|
|
94
94
|
*/
|
|
95
95
|
CreateApplication(req: CreateApplicationRequest, cb?: (error: string, rep: CreateApplicationResponse) => void): Promise<CreateApplicationResponse>;
|
|
96
96
|
/**
|
|
97
|
-
* 本接口(DescribeModels)
|
|
97
|
+
* 本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
|
|
98
98
|
*/
|
|
99
99
|
DescribeModels(req: DescribeModelsRequest, cb?: (error: string, rep: DescribeModelsResponse) => void): Promise<DescribeModelsResponse>;
|
|
100
100
|
/**
|
|
@@ -40,7 +40,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
40
|
return this.request("ResizeInstanceDisk", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* 本接口(DescribeDeployTemplates)
|
|
43
|
+
* 本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
|
|
44
44
|
*/
|
|
45
45
|
async DescribeDeployTemplates(req, cb) {
|
|
46
46
|
return this.request("DescribeDeployTemplates", req, cb);
|
|
@@ -156,7 +156,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
156
156
|
return this.request("CreateApplication", req, cb);
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* 本接口(DescribeModels)
|
|
159
|
+
* 本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
|
|
160
160
|
*/
|
|
161
161
|
async DescribeModels(req, cb) {
|
|
162
162
|
return this.request("DescribeModels", req, cb);
|
|
@@ -982,6 +982,10 @@ export interface EnvParam {
|
|
|
982
982
|
* GetServicePodLogs返回参数结构体
|
|
983
983
|
*/
|
|
984
984
|
export interface GetServicePodLogsResponse {
|
|
985
|
+
/**
|
|
986
|
+
* <p>日志内容</p>
|
|
987
|
+
*/
|
|
988
|
+
LogLines?: Array<string>;
|
|
985
989
|
/**
|
|
986
990
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
987
991
|
*/
|
|
@@ -1199,6 +1203,10 @@ export interface DescribeDeployTemplatesRequest {
|
|
|
1199
1203
|
* 模型ID
|
|
1200
1204
|
*/
|
|
1201
1205
|
ModelId: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* 可选。传入当前推理服务 ID 时,仅返回与该服务占用兼容的模板:同一 Scene、卡型家族兼容、机数相等、非机密计算。
|
|
1208
|
+
*/
|
|
1209
|
+
ServiceId?: string;
|
|
1202
1210
|
}
|
|
1203
1211
|
/**
|
|
1204
1212
|
* ResizeInstanceDisk返回参数结构体
|
|
@@ -1259,6 +1267,10 @@ export interface DescribeModelsRequest {
|
|
|
1259
1267
|
* 返回量,不得大于100,默认为20
|
|
1260
1268
|
*/
|
|
1261
1269
|
Limit?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* 可选。传入当前推理服务 ID 时,仅返回与该服务同一 Scene、且至少有一条兼容重装模板的模型。自定义部署、机密计算、具身智能服务返回空列表。
|
|
1272
|
+
*/
|
|
1273
|
+
ServiceId?: string;
|
|
1262
1274
|
}
|
|
1263
1275
|
/**
|
|
1264
1276
|
* CreateMuskPrompt请求参数结构体
|
|
@@ -1331,7 +1343,20 @@ export interface ServiceChargePrepaid {
|
|
|
1331
1343
|
/**
|
|
1332
1344
|
* GetServicePodLogs请求参数结构体
|
|
1333
1345
|
*/
|
|
1334
|
-
export
|
|
1346
|
+
export interface GetServicePodLogsRequest {
|
|
1347
|
+
/**
|
|
1348
|
+
* <p>服务Id</p>
|
|
1349
|
+
*/
|
|
1350
|
+
ServiceId: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* <p>Pod名称</p>
|
|
1353
|
+
*/
|
|
1354
|
+
PodName: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>日志行数</p>
|
|
1357
|
+
*/
|
|
1358
|
+
TailLines?: string;
|
|
1359
|
+
}
|
|
1335
1360
|
/**
|
|
1336
1361
|
* InquirePriceRunInstances返回参数结构体
|
|
1337
1362
|
*/
|
|
@@ -8,7 +8,9 @@ import { DeleteGlossaryResponse, CreateGlossaryEntryRequest, RunThreadRequest, S
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
12
|
+
|
|
13
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
12
14
|
|
|
13
15
|
1. 本接口暂不支持返回图片内容。
|
|
14
16
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -31,15 +33,21 @@ export declare class Client extends AbstractClient {
|
|
|
31
33
|
*/
|
|
32
34
|
QueryHunyuanImageJob(req: QueryHunyuanImageJobRequest, cb?: (error: string, rep: QueryHunyuanImageJobResponse) => void): Promise<QueryHunyuanImageJobResponse>;
|
|
33
35
|
/**
|
|
34
|
-
*
|
|
36
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
37
|
+
|
|
38
|
+
查询术语库。
|
|
35
39
|
*/
|
|
36
40
|
ListGlossary(req: ListGlossaryRequest, cb?: (error: string, rep: ListGlossaryResponse) => void): Promise<ListGlossaryResponse>;
|
|
37
41
|
/**
|
|
38
|
-
*
|
|
42
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
43
|
+
|
|
44
|
+
查询术语条目。
|
|
39
45
|
*/
|
|
40
46
|
ListGlossaryEntry(req: ListGlossaryEntryRequest, cb?: (error: string, rep: ListGlossaryEntryResponse) => void): Promise<ListGlossaryEntryResponse>;
|
|
41
47
|
/**
|
|
42
|
-
*
|
|
48
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
49
|
+
|
|
50
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
43
51
|
|
|
44
52
|
1. 本接口暂不支持返回图片内容。
|
|
45
53
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -48,7 +56,9 @@ export declare class Client extends AbstractClient {
|
|
|
48
56
|
*/
|
|
49
57
|
ChatTranslations(req: ChatTranslationsRequest, cb?: (error: string, rep: ChatTranslationsResponse) => void): Promise<ChatTranslationsResponse>;
|
|
50
58
|
/**
|
|
51
|
-
*
|
|
59
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
60
|
+
|
|
61
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
52
62
|
|
|
53
63
|
1. 本接口暂不支持返回图片内容。
|
|
54
64
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -57,11 +67,15 @@ export declare class Client extends AbstractClient {
|
|
|
57
67
|
*/
|
|
58
68
|
GetThreadMessageList(req: GetThreadMessageListRequest, cb?: (error: string, rep: GetThreadMessageListResponse) => void): Promise<GetThreadMessageListResponse>;
|
|
59
69
|
/**
|
|
60
|
-
*
|
|
70
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
71
|
+
|
|
72
|
+
腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
61
73
|
*/
|
|
62
74
|
GetEmbedding(req: GetEmbeddingRequest, cb?: (error: string, rep: GetEmbeddingResponse) => void): Promise<GetEmbeddingResponse>;
|
|
63
75
|
/**
|
|
64
|
-
*
|
|
76
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
77
|
+
|
|
78
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
65
79
|
|
|
66
80
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
67
81
|
|
|
@@ -72,15 +86,21 @@ export declare class Client extends AbstractClient {
|
|
|
72
86
|
*/
|
|
73
87
|
ImageQuestion(req: ImageQuestionRequest, cb?: (error: string, rep: ImageQuestionResponse) => void): Promise<ImageQuestionResponse>;
|
|
74
88
|
/**
|
|
75
|
-
*
|
|
89
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
90
|
+
|
|
91
|
+
添加术语条目。
|
|
76
92
|
*/
|
|
77
93
|
CreateGlossaryEntry(req: CreateGlossaryEntryRequest, cb?: (error: string, rep: CreateGlossaryEntryResponse) => void): Promise<CreateGlossaryEntryResponse>;
|
|
78
94
|
/**
|
|
79
|
-
*
|
|
95
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
96
|
+
|
|
97
|
+
更新术语条目。
|
|
80
98
|
*/
|
|
81
99
|
UpdateGlossaryEntry(req: UpdateGlossaryEntryRequest, cb?: (error: string, rep: UpdateGlossaryEntryResponse) => void): Promise<UpdateGlossaryEntryResponse>;
|
|
82
100
|
/**
|
|
83
|
-
*
|
|
101
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
102
|
+
|
|
103
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
84
104
|
|
|
85
105
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
86
106
|
|
|
@@ -91,7 +111,9 @@ export declare class Client extends AbstractClient {
|
|
|
91
111
|
*/
|
|
92
112
|
GroupChatCompletions(req: GroupChatCompletionsRequest, cb?: (error: string, rep: GroupChatCompletionsResponse) => void): Promise<GroupChatCompletionsResponse>;
|
|
93
113
|
/**
|
|
94
|
-
*
|
|
114
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
115
|
+
|
|
116
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
95
117
|
|
|
96
118
|
1. 本接口暂不支持返回图片内容。
|
|
97
119
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -111,7 +133,9 @@ export declare class Client extends AbstractClient {
|
|
|
111
133
|
*/
|
|
112
134
|
QueryHunyuanImageChatJob(req: QueryHunyuanImageChatJobRequest, cb?: (error: string, rep: QueryHunyuanImageChatJobResponse) => void): Promise<QueryHunyuanImageChatJobResponse>;
|
|
113
135
|
/**
|
|
114
|
-
*
|
|
136
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
137
|
+
|
|
138
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
115
139
|
|
|
116
140
|
1. 本接口暂不支持返回图片内容。
|
|
117
141
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -120,11 +144,15 @@ export declare class Client extends AbstractClient {
|
|
|
120
144
|
*/
|
|
121
145
|
CreateThread(req?: CreateThreadRequest, cb?: (error: string, rep: CreateThreadResponse) => void): Promise<CreateThreadResponse>;
|
|
122
146
|
/**
|
|
123
|
-
*
|
|
147
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
148
|
+
|
|
149
|
+
删除文件。
|
|
124
150
|
*/
|
|
125
151
|
FilesDeletions(req: FilesDeletionsRequest, cb?: (error: string, rep: FilesDeletionsResponse) => void): Promise<FilesDeletionsResponse>;
|
|
126
152
|
/**
|
|
127
|
-
*
|
|
153
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
154
|
+
|
|
155
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
128
156
|
|
|
129
157
|
1. 本接口暂不支持返回图片内容。
|
|
130
158
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -133,15 +161,21 @@ export declare class Client extends AbstractClient {
|
|
|
133
161
|
*/
|
|
134
162
|
GetThreadMessage(req: GetThreadMessageRequest, cb?: (error: string, rep: GetThreadMessageResponse) => void): Promise<GetThreadMessageResponse>;
|
|
135
163
|
/**
|
|
136
|
-
*
|
|
164
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
165
|
+
|
|
166
|
+
创建自定义术语库,在翻译时自动将源语言术语替换为指定的目标语言译文,确保专业术语翻译的一致性和准确性。
|
|
137
167
|
*/
|
|
138
168
|
CreateGlossary(req: CreateGlossaryRequest, cb?: (error: string, rep: CreateGlossaryResponse) => void): Promise<CreateGlossaryResponse>;
|
|
139
169
|
/**
|
|
140
|
-
*
|
|
170
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
171
|
+
|
|
172
|
+
删除术语库。
|
|
141
173
|
*/
|
|
142
174
|
DeleteGlossary(req: DeleteGlossaryRequest, cb?: (error: string, rep: DeleteGlossaryResponse) => void): Promise<DeleteGlossaryResponse>;
|
|
143
175
|
/**
|
|
144
|
-
*
|
|
176
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
177
|
+
|
|
178
|
+
上传用于不同用途的文件。
|
|
145
179
|
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
146
180
|
*/
|
|
147
181
|
FilesUploads(req: FilesUploadsRequest, cb?: (error: string, rep: FilesUploadsResponse) => void): Promise<FilesUploadsResponse>;
|
|
@@ -150,11 +184,15 @@ export declare class Client extends AbstractClient {
|
|
|
150
184
|
*/
|
|
151
185
|
ActivateService(req: ActivateServiceRequest, cb?: (error: string, rep: ActivateServiceResponse) => void): Promise<ActivateServiceResponse>;
|
|
152
186
|
/**
|
|
153
|
-
*
|
|
187
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
188
|
+
|
|
189
|
+
删除术语条目。
|
|
154
190
|
*/
|
|
155
191
|
DeleteGlossaryEntry(req: DeleteGlossaryEntryRequest, cb?: (error: string, rep: DeleteGlossaryEntryResponse) => void): Promise<DeleteGlossaryEntryResponse>;
|
|
156
192
|
/**
|
|
157
|
-
*
|
|
193
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
194
|
+
|
|
195
|
+
文件列表。
|
|
158
196
|
*/
|
|
159
197
|
FilesList(req: FilesListRequest, cb?: (error: string, rep: FilesListResponse) => void): Promise<FilesListResponse>;
|
|
160
198
|
/**
|
|
@@ -165,7 +203,9 @@ export declare class Client extends AbstractClient {
|
|
|
165
203
|
*/
|
|
166
204
|
SubmitHunyuanImageChatJob(req: SubmitHunyuanImageChatJobRequest, cb?: (error: string, rep: SubmitHunyuanImageChatJobResponse) => void): Promise<SubmitHunyuanImageChatJobResponse>;
|
|
167
205
|
/**
|
|
168
|
-
*
|
|
206
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
207
|
+
|
|
208
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
169
209
|
|
|
170
210
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
171
211
|
|
|
@@ -176,7 +216,9 @@ export declare class Client extends AbstractClient {
|
|
|
176
216
|
*/
|
|
177
217
|
ChatCompletions(req: ChatCompletionsRequest, cb?: (error: string, rep: ChatCompletionsResponse) => void): Promise<ChatCompletionsResponse>;
|
|
178
218
|
/**
|
|
179
|
-
*
|
|
219
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
220
|
+
|
|
221
|
+
该接口用于计算文本对应Token数、字符数。
|
|
180
222
|
*/
|
|
181
223
|
GetTokenCount(req: GetTokenCountRequest, cb?: (error: string, rep: GetTokenCountResponse) => void): Promise<GetTokenCountResponse>;
|
|
182
224
|
/**
|
|
@@ -28,7 +28,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("hunyuan.tencentcloudapi.com", "2023-09-01", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
32
|
+
|
|
33
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
32
34
|
|
|
33
35
|
1. 本接口暂不支持返回图片内容。
|
|
34
36
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -57,19 +59,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
59
|
return this.request("QueryHunyuanImageJob", req, cb);
|
|
58
60
|
}
|
|
59
61
|
/**
|
|
60
|
-
*
|
|
62
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
63
|
+
|
|
64
|
+
查询术语库。
|
|
61
65
|
*/
|
|
62
66
|
async ListGlossary(req, cb) {
|
|
63
67
|
return this.request("ListGlossary", req, cb);
|
|
64
68
|
}
|
|
65
69
|
/**
|
|
66
|
-
*
|
|
70
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
71
|
+
|
|
72
|
+
查询术语条目。
|
|
67
73
|
*/
|
|
68
74
|
async ListGlossaryEntry(req, cb) {
|
|
69
75
|
return this.request("ListGlossaryEntry", req, cb);
|
|
70
76
|
}
|
|
71
77
|
/**
|
|
72
|
-
*
|
|
78
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
79
|
+
|
|
80
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
73
81
|
|
|
74
82
|
1. 本接口暂不支持返回图片内容。
|
|
75
83
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -80,7 +88,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
80
88
|
return this.request("ChatTranslations", req, cb);
|
|
81
89
|
}
|
|
82
90
|
/**
|
|
83
|
-
*
|
|
91
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
92
|
+
|
|
93
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
84
94
|
|
|
85
95
|
1. 本接口暂不支持返回图片内容。
|
|
86
96
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -91,13 +101,17 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
91
101
|
return this.request("GetThreadMessageList", req, cb);
|
|
92
102
|
}
|
|
93
103
|
/**
|
|
94
|
-
*
|
|
104
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
105
|
+
|
|
106
|
+
腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
95
107
|
*/
|
|
96
108
|
async GetEmbedding(req, cb) {
|
|
97
109
|
return this.request("GetEmbedding", req, cb);
|
|
98
110
|
}
|
|
99
111
|
/**
|
|
100
|
-
*
|
|
112
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
113
|
+
|
|
114
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
101
115
|
|
|
102
116
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
103
117
|
|
|
@@ -110,19 +124,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
110
124
|
return this.request("ImageQuestion", req, cb);
|
|
111
125
|
}
|
|
112
126
|
/**
|
|
113
|
-
*
|
|
127
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
128
|
+
|
|
129
|
+
添加术语条目。
|
|
114
130
|
*/
|
|
115
131
|
async CreateGlossaryEntry(req, cb) {
|
|
116
132
|
return this.request("CreateGlossaryEntry", req, cb);
|
|
117
133
|
}
|
|
118
134
|
/**
|
|
119
|
-
*
|
|
135
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
136
|
+
|
|
137
|
+
更新术语条目。
|
|
120
138
|
*/
|
|
121
139
|
async UpdateGlossaryEntry(req, cb) {
|
|
122
140
|
return this.request("UpdateGlossaryEntry", req, cb);
|
|
123
141
|
}
|
|
124
142
|
/**
|
|
125
|
-
*
|
|
143
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
144
|
+
|
|
145
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
126
146
|
|
|
127
147
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
128
148
|
|
|
@@ -135,7 +155,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
135
155
|
return this.request("GroupChatCompletions", req, cb);
|
|
136
156
|
}
|
|
137
157
|
/**
|
|
138
|
-
*
|
|
158
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
159
|
+
|
|
160
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
139
161
|
|
|
140
162
|
1. 本接口暂不支持返回图片内容。
|
|
141
163
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -161,7 +183,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
161
183
|
return this.request("QueryHunyuanImageChatJob", req, cb);
|
|
162
184
|
}
|
|
163
185
|
/**
|
|
164
|
-
*
|
|
186
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
187
|
+
|
|
188
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
165
189
|
|
|
166
190
|
1. 本接口暂不支持返回图片内容。
|
|
167
191
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -172,13 +196,17 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
172
196
|
return this.request("CreateThread", req, cb);
|
|
173
197
|
}
|
|
174
198
|
/**
|
|
175
|
-
*
|
|
199
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
200
|
+
|
|
201
|
+
删除文件。
|
|
176
202
|
*/
|
|
177
203
|
async FilesDeletions(req, cb) {
|
|
178
204
|
return this.request("FilesDeletions", req, cb);
|
|
179
205
|
}
|
|
180
206
|
/**
|
|
181
|
-
*
|
|
207
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
208
|
+
|
|
209
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
182
210
|
|
|
183
211
|
1. 本接口暂不支持返回图片内容。
|
|
184
212
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
@@ -189,19 +217,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
189
217
|
return this.request("GetThreadMessage", req, cb);
|
|
190
218
|
}
|
|
191
219
|
/**
|
|
192
|
-
*
|
|
220
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
221
|
+
|
|
222
|
+
创建自定义术语库,在翻译时自动将源语言术语替换为指定的目标语言译文,确保专业术语翻译的一致性和准确性。
|
|
193
223
|
*/
|
|
194
224
|
async CreateGlossary(req, cb) {
|
|
195
225
|
return this.request("CreateGlossary", req, cb);
|
|
196
226
|
}
|
|
197
227
|
/**
|
|
198
|
-
*
|
|
228
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
229
|
+
|
|
230
|
+
删除术语库。
|
|
199
231
|
*/
|
|
200
232
|
async DeleteGlossary(req, cb) {
|
|
201
233
|
return this.request("DeleteGlossary", req, cb);
|
|
202
234
|
}
|
|
203
235
|
/**
|
|
204
|
-
*
|
|
236
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
237
|
+
|
|
238
|
+
上传用于不同用途的文件。
|
|
205
239
|
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
206
240
|
*/
|
|
207
241
|
async FilesUploads(req, cb) {
|
|
@@ -214,13 +248,17 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
214
248
|
return this.request("ActivateService", req, cb);
|
|
215
249
|
}
|
|
216
250
|
/**
|
|
217
|
-
*
|
|
251
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
252
|
+
|
|
253
|
+
删除术语条目。
|
|
218
254
|
*/
|
|
219
255
|
async DeleteGlossaryEntry(req, cb) {
|
|
220
256
|
return this.request("DeleteGlossaryEntry", req, cb);
|
|
221
257
|
}
|
|
222
258
|
/**
|
|
223
|
-
*
|
|
259
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
260
|
+
|
|
261
|
+
文件列表。
|
|
224
262
|
*/
|
|
225
263
|
async FilesList(req, cb) {
|
|
226
264
|
return this.request("FilesList", req, cb);
|
|
@@ -235,7 +273,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
235
273
|
return this.request("SubmitHunyuanImageChatJob", req, cb);
|
|
236
274
|
}
|
|
237
275
|
/**
|
|
238
|
-
*
|
|
276
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
277
|
+
|
|
278
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
239
279
|
|
|
240
280
|
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
241
281
|
|
|
@@ -248,7 +288,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
248
288
|
return this.request("ChatCompletions", req, cb);
|
|
249
289
|
}
|
|
250
290
|
/**
|
|
251
|
-
*
|
|
291
|
+
* 混元大模型老控制台将于9月30日下线,5月已发对外公告并通知客户,现将API接口文档变更为预下线状态
|
|
292
|
+
|
|
293
|
+
该接口用于计算文本对应Token数、字符数。
|
|
252
294
|
*/
|
|
253
295
|
async GetTokenCount(req, cb) {
|
|
254
296
|
return this.request("GetTokenCount", req, cb);
|
|
@@ -171,6 +171,7 @@ export declare class Client extends AbstractClient {
|
|
|
171
171
|
|
|
172
172
|
>
|
|
173
173
|
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
174
|
+
- 注:对比[人脸比对](https://cloud.tencent.com/document/product/867/44987)接口,该版本算法版本更新,功能一样。
|
|
174
175
|
*/
|
|
175
176
|
DetectFaceSimilarity(req: DetectFaceSimilarityRequest, cb?: (error: string, rep: DetectFaceSimilarityResponse) => void): Promise<DetectFaceSimilarityResponse>;
|
|
176
177
|
/**
|
|
@@ -233,6 +233,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
233
233
|
|
|
234
234
|
>
|
|
235
235
|
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
236
|
+
- 注:对比[人脸比对](https://cloud.tencent.com/document/product/867/44987)接口,该版本算法版本更新,功能一样。
|
|
236
237
|
*/
|
|
237
238
|
async DetectFaceSimilarity(req, cb) {
|
|
238
239
|
return this.request("DetectFaceSimilarity", req, cb);
|
|
@@ -254,6 +254,7 @@ export { wav } from "./wav";
|
|
|
254
254
|
export { wedata } from "./wedata";
|
|
255
255
|
export { weilingwith } from "./weilingwith";
|
|
256
256
|
export { wimgs } from "./wimgs";
|
|
257
|
+
export { workbuddyenterprise } from "./workbuddyenterprise";
|
|
257
258
|
export { wsa } from "./wsa";
|
|
258
259
|
export { wss } from "./wss";
|
|
259
260
|
export { yinsuda } from "./yinsuda";
|