tencentcloud-sdk-nodejs 4.0.938 → 4.0.939
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/CHANGELOG.md +28 -0
- package/SERVICE_CHANGELOG.md +35 -154
- package/package.json +1 -1
- package/products.md +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +2 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +50 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +48 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# Release 4.0.939
|
|
2
|
+
|
|
3
|
+
## 腾讯混元大模型(hunyuan) 版本:2023-09-01
|
|
4
|
+
|
|
5
|
+
### 第 19 次发布
|
|
6
|
+
|
|
7
|
+
发布时间:2024-09-17 18:52:07
|
|
8
|
+
|
|
9
|
+
本次发布包含了以下内容:
|
|
10
|
+
|
|
11
|
+
改善已有的文档。
|
|
12
|
+
|
|
13
|
+
修改接口:
|
|
14
|
+
|
|
15
|
+
* [ChatCompletions](https://cloud.tencent.com/document/api/1729/105701)
|
|
16
|
+
|
|
17
|
+
* 新增入参:EnableMultimedia
|
|
18
|
+
|
|
19
|
+
* 新增出参:Replaces
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
新增数据结构:
|
|
23
|
+
|
|
24
|
+
* [Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)
|
|
25
|
+
* [Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
1
29
|
# Release 4.0.938
|
|
2
30
|
|
|
3
31
|
## 云数据库 MySQL(cdb) 版本:2017-03-20
|
package/SERVICE_CHANGELOG.md
CHANGED
|
@@ -1,66 +1,10 @@
|
|
|
1
1
|
# 本版本更新包含以下内容:
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### 第 166 次发布
|
|
6
|
-
|
|
7
|
-
发布时间:2024-09-16 01:16:44
|
|
8
|
-
|
|
9
|
-
本次发布包含了以下内容:
|
|
10
|
-
|
|
11
|
-
改善已有的文档。
|
|
12
|
-
|
|
13
|
-
修改接口:
|
|
14
|
-
|
|
15
|
-
* [DescribeSlowLogData](https://cloud.tencent.com/document/api/236/43060)
|
|
16
|
-
|
|
17
|
-
* 新增入参:OpResourceId
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## 云防火墙(cfw) 版本:2019-09-04
|
|
23
|
-
|
|
24
|
-
### 第 65 次发布
|
|
25
|
-
|
|
26
|
-
发布时间:2024-09-16 01:21:22
|
|
27
|
-
|
|
28
|
-
本次发布包含了以下内容:
|
|
29
|
-
|
|
30
|
-
改善已有的文档。
|
|
31
|
-
|
|
32
|
-
新增接口:
|
|
33
|
-
|
|
34
|
-
* [DescribeEnterpriseSecurityGroupRuleList](https://cloud.tencent.com/document/api/1132/110987)
|
|
35
|
-
|
|
36
|
-
新增数据结构:
|
|
37
|
-
|
|
38
|
-
* [EnterpriseSecurityGroupRuleBetaInfo](https://cloud.tencent.com/document/api/1132/49071#EnterpriseSecurityGroupRuleBetaInfo)
|
|
39
|
-
* [EnterpriseSecurityGroupRuleRuleInfo](https://cloud.tencent.com/document/api/1132/49071#EnterpriseSecurityGroupRuleRuleInfo)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## 消息队列 CKafka 版(ckafka) 版本:2019-08-19
|
|
44
|
-
|
|
45
|
-
### 第 109 次发布
|
|
46
|
-
|
|
47
|
-
发布时间:2024-09-16 01:22:56
|
|
48
|
-
|
|
49
|
-
本次发布包含了以下内容:
|
|
50
|
-
|
|
51
|
-
改善已有的文档。
|
|
52
|
-
|
|
53
|
-
新增接口:
|
|
54
|
-
|
|
55
|
-
* [FetchMessageListByTimestamp](https://cloud.tencent.com/document/api/597/47895)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## 智能推荐平台(irp) 版本:2022-08-05
|
|
3
|
+
## 腾讯混元大模型(hunyuan) 版本:2023-09-01
|
|
60
4
|
|
|
61
|
-
### 第
|
|
5
|
+
### 第 19 次发布
|
|
62
6
|
|
|
63
|
-
发布时间:2024-09-
|
|
7
|
+
发布时间:2024-09-17 18:52:07
|
|
64
8
|
|
|
65
9
|
本次发布包含了以下内容:
|
|
66
10
|
|
|
@@ -68,102 +12,17 @@
|
|
|
68
12
|
|
|
69
13
|
修改接口:
|
|
70
14
|
|
|
71
|
-
* [
|
|
72
|
-
|
|
73
|
-
* 新增入参:Extension
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## 智能推荐平台(irp) 版本:2022-03-24
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## 大模型知识引擎(lke) 版本:2023-11-30
|
|
15
|
+
* [ChatCompletions](https://cloud.tencent.com/document/api/1729/105701)
|
|
83
16
|
|
|
84
|
-
|
|
17
|
+
* 新增入参:EnableMultimedia
|
|
85
18
|
|
|
86
|
-
|
|
19
|
+
* 新增出参:Replaces
|
|
87
20
|
|
|
88
|
-
本次发布包含了以下内容:
|
|
89
|
-
|
|
90
|
-
改善已有的文档。
|
|
91
21
|
|
|
92
22
|
新增数据结构:
|
|
93
23
|
|
|
94
|
-
* [
|
|
95
|
-
|
|
96
|
-
修改数据结构:
|
|
97
|
-
|
|
98
|
-
* [Context](https://cloud.tencent.com/document/api/1759/105104#Context)
|
|
99
|
-
|
|
100
|
-
* 新增成员:ReplyMethod
|
|
101
|
-
|
|
102
|
-
* [MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord)
|
|
103
|
-
|
|
104
|
-
* 新增成员:QuoteInfos
|
|
105
|
-
|
|
106
|
-
* [ReferDetail](https://cloud.tencent.com/document/api/1759/105104#ReferDetail)
|
|
107
|
-
|
|
108
|
-
* 新增成员:PageInfos, SheetInfos, DocBizId
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
## 文字识别(ocr) 版本:2018-11-19
|
|
114
|
-
|
|
115
|
-
### 第 151 次发布
|
|
116
|
-
|
|
117
|
-
发布时间:2024-09-16 02:10:16
|
|
118
|
-
|
|
119
|
-
本次发布包含了以下内容:
|
|
120
|
-
|
|
121
|
-
改善已有的文档。
|
|
122
|
-
|
|
123
|
-
修改接口:
|
|
124
|
-
|
|
125
|
-
* [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215)
|
|
126
|
-
|
|
127
|
-
* 新增出参:Electronic
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## 腾讯健康组学平台(omics) 版本:2022-11-28
|
|
133
|
-
|
|
134
|
-
### 第 16 次发布
|
|
135
|
-
|
|
136
|
-
发布时间:2024-09-16 02:11:25
|
|
137
|
-
|
|
138
|
-
本次发布包含了以下内容:
|
|
139
|
-
|
|
140
|
-
改善已有的文档。
|
|
141
|
-
|
|
142
|
-
修改数据结构:
|
|
143
|
-
|
|
144
|
-
* [NFOption](https://cloud.tencent.com/document/api/1643/89100#NFOption)
|
|
145
|
-
|
|
146
|
-
* 新增成员:LaunchDir
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
## 向量数据库(vdb) 版本:2023-06-16
|
|
152
|
-
|
|
153
|
-
### 第 5 次发布
|
|
154
|
-
|
|
155
|
-
发布时间:2024-09-16 02:39:09
|
|
156
|
-
|
|
157
|
-
本次发布包含了以下内容:
|
|
158
|
-
|
|
159
|
-
改善已有的文档。
|
|
160
|
-
|
|
161
|
-
修改接口:
|
|
162
|
-
|
|
163
|
-
* [DescribeInstanceNodes](https://cloud.tencent.com/document/api/1709/110879)
|
|
164
|
-
|
|
165
|
-
* 新增入参:InstanceId
|
|
166
|
-
|
|
24
|
+
* [Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)
|
|
25
|
+
* [Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)
|
|
167
26
|
|
|
168
27
|
|
|
169
28
|
|
|
@@ -25641,12 +25500,12 @@
|
|
|
25641
25500
|
|
|
25642
25501
|
新增接口:
|
|
25643
25502
|
|
|
25644
|
-
* [
|
|
25503
|
+
* [DescribeEnterpriseSecurityGroupRuleList](https://cloud.tencent.com/document/api/1132/110987)
|
|
25645
25504
|
|
|
25646
25505
|
新增数据结构:
|
|
25647
25506
|
|
|
25648
|
-
* [
|
|
25649
|
-
* [
|
|
25507
|
+
* [EnterpriseSecurityGroupRuleBetaInfo](https://cloud.tencent.com/document/api/1132/49071#EnterpriseSecurityGroupRuleBetaInfo)
|
|
25508
|
+
* [EnterpriseSecurityGroupRuleRuleInfo](https://cloud.tencent.com/document/api/1132/49071#EnterpriseSecurityGroupRuleRuleInfo)
|
|
25650
25509
|
|
|
25651
25510
|
### 第 64 次发布
|
|
25652
25511
|
|
|
@@ -27883,7 +27742,7 @@
|
|
|
27883
27742
|
|
|
27884
27743
|
新增接口:
|
|
27885
27744
|
|
|
27886
|
-
* [
|
|
27745
|
+
* [FetchMessageListByTimestamp](https://cloud.tencent.com/document/api/597/47895)
|
|
27887
27746
|
|
|
27888
27747
|
### 第 108 次发布
|
|
27889
27748
|
|
|
@@ -77751,6 +77610,28 @@
|
|
|
77751
77610
|
|
|
77752
77611
|
## 腾讯混元大模型(hunyuan) 版本:2023-09-01
|
|
77753
77612
|
|
|
77613
|
+
### 第 19 次发布
|
|
77614
|
+
|
|
77615
|
+
发布时间:2024-09-17 18:52:07
|
|
77616
|
+
|
|
77617
|
+
本次发布包含了以下内容:
|
|
77618
|
+
|
|
77619
|
+
改善已有的文档。
|
|
77620
|
+
|
|
77621
|
+
修改接口:
|
|
77622
|
+
|
|
77623
|
+
* [ChatCompletions](https://cloud.tencent.com/document/api/1729/105701)
|
|
77624
|
+
|
|
77625
|
+
* 新增入参:EnableMultimedia
|
|
77626
|
+
|
|
77627
|
+
* 新增出参:Replaces
|
|
77628
|
+
|
|
77629
|
+
|
|
77630
|
+
新增数据结构:
|
|
77631
|
+
|
|
77632
|
+
* [[Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)](https://cloud.tencent.com/document/api/1729/101838#[Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia))
|
|
77633
|
+
* [[Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)](https://cloud.tencent.com/document/api/1729/101838#[Replace](https://cloud.tencent.com/document/api/1729/101838#Replace))
|
|
77634
|
+
|
|
77754
77635
|
### 第 18 次发布
|
|
77755
77636
|
|
|
77756
77637
|
发布时间:2024-08-28 11:17:28
|
|
@@ -91675,7 +91556,7 @@
|
|
|
91675
91556
|
|
|
91676
91557
|
新增数据结构:
|
|
91677
91558
|
|
|
91678
|
-
* [
|
|
91559
|
+
* [QuoteInfo](https://cloud.tencent.com/document/api/1759/105104#QuoteInfo)
|
|
91679
91560
|
|
|
91680
91561
|
修改数据结构:
|
|
91681
91562
|
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
|
|
116
116
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
117
117
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
|
|
118
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-09-
|
|
118
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-09-17 18:52:07 |
|
|
119
119
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
|
|
120
120
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
121
121
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.939"
|
|
@@ -22,10 +22,12 @@ import {
|
|
|
22
22
|
LogoParam,
|
|
23
23
|
GetEmbeddingRequest,
|
|
24
24
|
ImageUrl,
|
|
25
|
+
Multimedia,
|
|
25
26
|
ActivateServiceRequest,
|
|
26
27
|
Content,
|
|
27
28
|
SubmitHunyuanImageJobRequest,
|
|
28
29
|
Usage,
|
|
30
|
+
Replace,
|
|
29
31
|
SubmitHunyuanImageChatJobResponse,
|
|
30
32
|
QueryHunyuanImageChatJobRequest,
|
|
31
33
|
SubmitHunyuanImageChatJobRequest,
|
|
@@ -84,13 +84,13 @@ export interface ChatCompletionsRequest {
|
|
|
84
84
|
*/
|
|
85
85
|
EnableEnhancement?: boolean
|
|
86
86
|
/**
|
|
87
|
-
* 可调用的工具列表,仅对 hunyuan-functioncall 模型生效。
|
|
87
|
+
* 可调用的工具列表,仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
|
88
88
|
*/
|
|
89
89
|
Tools?: Array<Tool>
|
|
90
90
|
/**
|
|
91
91
|
* 工具使用选项,可选值包括 none、auto、custom。
|
|
92
92
|
说明:
|
|
93
|
-
1. 仅对 hunyuan-functioncall 模型生效。
|
|
93
|
+
1. 仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
|
94
94
|
2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。
|
|
95
95
|
3. 未设置时,默认值为auto
|
|
96
96
|
*/
|
|
@@ -115,6 +115,15 @@ export interface ChatCompletionsRequest {
|
|
|
115
115
|
* 是否开启极速版搜索,默认false,不开启;在开启且命中搜索时,会启用极速版搜索,流式输出首字返回更快。
|
|
116
116
|
*/
|
|
117
117
|
EnableSpeedSearch?: boolean
|
|
118
|
+
/**
|
|
119
|
+
* 图文并茂开关。
|
|
120
|
+
说明:
|
|
121
|
+
1. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)时生效。
|
|
122
|
+
2. hunyuan-lite 无图文并茂能力,该参数对 hunyuan-lite 版本不生效。
|
|
123
|
+
3. 未传值时默认关闭。
|
|
124
|
+
4. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。
|
|
125
|
+
*/
|
|
126
|
+
EnableMultimedia?: boolean
|
|
118
127
|
}
|
|
119
128
|
|
|
120
129
|
/**
|
|
@@ -156,6 +165,24 @@ export interface ImageUrl {
|
|
|
156
165
|
Url: string
|
|
157
166
|
}
|
|
158
167
|
|
|
168
|
+
/**
|
|
169
|
+
* 图文并茂详情
|
|
170
|
+
*/
|
|
171
|
+
export interface Multimedia {
|
|
172
|
+
/**
|
|
173
|
+
* 多媒体类型,image:图片。
|
|
174
|
+
*/
|
|
175
|
+
Type?: string
|
|
176
|
+
/**
|
|
177
|
+
* 多媒体预览地址。
|
|
178
|
+
*/
|
|
179
|
+
Url?: string
|
|
180
|
+
/**
|
|
181
|
+
* 多媒体详情地址。
|
|
182
|
+
*/
|
|
183
|
+
JumpUrl?: string
|
|
184
|
+
}
|
|
185
|
+
|
|
159
186
|
/**
|
|
160
187
|
* ActivateService请求参数结构体
|
|
161
188
|
*/
|
|
@@ -262,6 +289,20 @@ export interface Usage {
|
|
|
262
289
|
TotalTokens?: number
|
|
263
290
|
}
|
|
264
291
|
|
|
292
|
+
/**
|
|
293
|
+
* 图文并茂占位符替换信息
|
|
294
|
+
*/
|
|
295
|
+
export interface Replace {
|
|
296
|
+
/**
|
|
297
|
+
* 占位符序号
|
|
298
|
+
*/
|
|
299
|
+
Id?: string
|
|
300
|
+
/**
|
|
301
|
+
* 多媒体详情
|
|
302
|
+
*/
|
|
303
|
+
Multimedia?: Array<Multimedia>
|
|
304
|
+
}
|
|
305
|
+
|
|
265
306
|
/**
|
|
266
307
|
* SubmitHunyuanImageChatJob返回参数结构体
|
|
267
308
|
*/
|
|
@@ -874,6 +915,13 @@ export interface ChatCompletionsResponse {
|
|
|
874
915
|
* 搜索结果信息
|
|
875
916
|
*/
|
|
876
917
|
SearchInfo?: SearchInfo
|
|
918
|
+
/**
|
|
919
|
+
* 多媒体信息。
|
|
920
|
+
说明:
|
|
921
|
+
1. 可以用多媒体信息替换回复内容里的占位符,得到完整的图文信息。
|
|
922
|
+
2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。
|
|
923
|
+
*/
|
|
924
|
+
Replaces?: Array<Replace>
|
|
877
925
|
/**
|
|
878
926
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
|
879
927
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.939";
|
|
@@ -67,13 +67,13 @@ export interface ChatCompletionsRequest {
|
|
|
67
67
|
*/
|
|
68
68
|
EnableEnhancement?: boolean;
|
|
69
69
|
/**
|
|
70
|
-
* 可调用的工具列表,仅对 hunyuan-functioncall 模型生效。
|
|
70
|
+
* 可调用的工具列表,仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
|
71
71
|
*/
|
|
72
72
|
Tools?: Array<Tool>;
|
|
73
73
|
/**
|
|
74
74
|
* 工具使用选项,可选值包括 none、auto、custom。
|
|
75
75
|
说明:
|
|
76
|
-
1. 仅对 hunyuan-functioncall 模型生效。
|
|
76
|
+
1. 仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
|
77
77
|
2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。
|
|
78
78
|
3. 未设置时,默认值为auto
|
|
79
79
|
*/
|
|
@@ -98,6 +98,15 @@ export interface ChatCompletionsRequest {
|
|
|
98
98
|
* 是否开启极速版搜索,默认false,不开启;在开启且命中搜索时,会启用极速版搜索,流式输出首字返回更快。
|
|
99
99
|
*/
|
|
100
100
|
EnableSpeedSearch?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* 图文并茂开关。
|
|
103
|
+
说明:
|
|
104
|
+
1. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)时生效。
|
|
105
|
+
2. hunyuan-lite 无图文并茂能力,该参数对 hunyuan-lite 版本不生效。
|
|
106
|
+
3. 未传值时默认关闭。
|
|
107
|
+
4. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。
|
|
108
|
+
*/
|
|
109
|
+
EnableMultimedia?: boolean;
|
|
101
110
|
}
|
|
102
111
|
/**
|
|
103
112
|
* logo参数
|
|
@@ -135,6 +144,23 @@ export interface ImageUrl {
|
|
|
135
144
|
*/
|
|
136
145
|
Url: string;
|
|
137
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* 图文并茂详情
|
|
149
|
+
*/
|
|
150
|
+
export interface Multimedia {
|
|
151
|
+
/**
|
|
152
|
+
* 多媒体类型,image:图片。
|
|
153
|
+
*/
|
|
154
|
+
Type?: string;
|
|
155
|
+
/**
|
|
156
|
+
* 多媒体预览地址。
|
|
157
|
+
*/
|
|
158
|
+
Url?: string;
|
|
159
|
+
/**
|
|
160
|
+
* 多媒体详情地址。
|
|
161
|
+
*/
|
|
162
|
+
JumpUrl?: string;
|
|
163
|
+
}
|
|
138
164
|
/**
|
|
139
165
|
* ActivateService请求参数结构体
|
|
140
166
|
*/
|
|
@@ -237,6 +263,19 @@ export interface Usage {
|
|
|
237
263
|
*/
|
|
238
264
|
TotalTokens?: number;
|
|
239
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* 图文并茂占位符替换信息
|
|
268
|
+
*/
|
|
269
|
+
export interface Replace {
|
|
270
|
+
/**
|
|
271
|
+
* 占位符序号
|
|
272
|
+
*/
|
|
273
|
+
Id?: string;
|
|
274
|
+
/**
|
|
275
|
+
* 多媒体详情
|
|
276
|
+
*/
|
|
277
|
+
Multimedia?: Array<Multimedia>;
|
|
278
|
+
}
|
|
240
279
|
/**
|
|
241
280
|
* SubmitHunyuanImageChatJob返回参数结构体
|
|
242
281
|
*/
|
|
@@ -821,6 +860,13 @@ export interface ChatCompletionsResponse {
|
|
|
821
860
|
* 搜索结果信息
|
|
822
861
|
*/
|
|
823
862
|
SearchInfo?: SearchInfo;
|
|
863
|
+
/**
|
|
864
|
+
* 多媒体信息。
|
|
865
|
+
说明:
|
|
866
|
+
1. 可以用多媒体信息替换回复内容里的占位符,得到完整的图文信息。
|
|
867
|
+
2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。
|
|
868
|
+
*/
|
|
869
|
+
Replaces?: Array<Replace>;
|
|
824
870
|
/**
|
|
825
871
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
|
826
872
|
*/
|