tccli 3.0.1387.1__py2.py3-none-any.whl → 3.0.1389.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/bi/v20220105/api.json +8 -8
- tccli/services/bi/v20220105/examples.json +4 -4
- tccli/services/cdc/v20201214/api.json +1 -1
- tccli/services/cdc/v20201214/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/chc/v20230418/api.json +69 -1
- tccli/services/ckafka/v20190819/api.json +112 -103
- tccli/services/ckafka/v20190819/examples.json +7 -7
- tccli/services/cls/v20201016/api.json +81 -4
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/ctem/v20231128/api.json +40 -0
- tccli/services/dc/v20180410/api.json +26 -6
- tccli/services/dts/v20211206/api.json +6 -6
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +172 -11
- tccli/services/es/v20180416/api.json +4 -4
- tccli/services/es/v20250101/api.json +119 -8
- tccli/services/ess/v20201111/api.json +30 -1
- tccli/services/essbasic/v20210526/api.json +21 -3
- tccli/services/gme/gme_client.py +509 -32
- tccli/services/gme/v20180711/api.json +1172 -46
- tccli/services/gme/v20180711/examples.json +72 -0
- tccli/services/hunyuan/v20230901/api.json +18 -0
- tccli/services/ioa/v20220601/api.json +44 -8
- tccli/services/ioa/v20220601/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +432 -8
- tccli/services/iotexplorer/v20190423/api.json +979 -43
- tccli/services/iotexplorer/v20190423/examples.json +64 -0
- tccli/services/lighthouse/v20200324/api.json +18 -0
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +18 -0
- tccli/services/mqtt/v20240516/api.json +89 -0
- tccli/services/ocr/ocr_client.py +114 -8
- tccli/services/ocr/v20181119/api.json +225 -0
- tccli/services/ocr/v20181119/examples.json +28 -0
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/thpc/v20230321/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +9 -9
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/wsa/v20250508/api.json +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ControlAIConversation": {
|
4
|
+
"document": "提供服务端控制机器人的功能",
|
5
|
+
"input": "ControlAIConversationRequest",
|
6
|
+
"name": "操作AI对话机器人",
|
7
|
+
"output": "ControlAIConversationResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"CreateAgeDetectTask": {
|
4
11
|
"document": "目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。\n\n用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。\n</br>\n<h4><b>接口功能说明:</b></h4>\n<li>支持对语音文件进行检测,判断是否为未成年人。</li>\n<li>支持批量提交检测子任务。检测子任务列表最多支持100个。</li>\n</br>\n<h4><b>音频文件限制说明:</b></h4>\n<li>音频文件大小限制:10 M</li>\n<li>音频文件时长限制:3分钟</li>\n<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>\n</br>",
|
5
12
|
"input": "CreateAgeDetectTaskRequest",
|
@@ -49,6 +56,20 @@
|
|
49
56
|
"output": "DeleteScanUserResponse",
|
50
57
|
"status": "online"
|
51
58
|
},
|
59
|
+
"DeleteVoicePrint": {
|
60
|
+
"document": "传入声纹ID,删除之前注册的声纹信息",
|
61
|
+
"input": "DeleteVoicePrintRequest",
|
62
|
+
"name": "删除声纹信息",
|
63
|
+
"output": "DeleteVoicePrintResponse",
|
64
|
+
"status": "online"
|
65
|
+
},
|
66
|
+
"DescribeAIConversation": {
|
67
|
+
"document": "查询AI对话任务状态。",
|
68
|
+
"input": "DescribeAIConversationRequest",
|
69
|
+
"name": "查询AI对话任务状态",
|
70
|
+
"output": "DescribeAIConversationResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
52
73
|
"DescribeAgeDetectTask": {
|
53
74
|
"document": "目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。\n\n查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。",
|
54
75
|
"input": "DescribeAgeDetectTaskRequest",
|
@@ -119,6 +140,13 @@
|
|
119
140
|
"output": "DescribeUserInAndOutTimeResponse",
|
120
141
|
"status": "online"
|
121
142
|
},
|
143
|
+
"DescribeVoicePrint": {
|
144
|
+
"document": "查询先前注册的声纹信息",
|
145
|
+
"input": "DescribeVoicePrintRequest",
|
146
|
+
"name": "查询声纹信息",
|
147
|
+
"output": "DescribeVoicePrintResponse",
|
148
|
+
"status": "online"
|
149
|
+
},
|
122
150
|
"GetCustomizationList": {
|
123
151
|
"document": "查询语音消息转文本热句模型列表",
|
124
152
|
"input": "GetCustomizationListRequest",
|
@@ -161,6 +189,13 @@
|
|
161
189
|
"output": "ModifyUserMicStatusResponse",
|
162
190
|
"status": "online"
|
163
191
|
},
|
192
|
+
"RegisterVoicePrint": {
|
193
|
+
"document": "传入音频base64串,注册声纹信息,返回声纹ID",
|
194
|
+
"input": "RegisterVoicePrintRequest",
|
195
|
+
"name": "注册声纹信息",
|
196
|
+
"output": "RegisterVoicePrintResponse",
|
197
|
+
"status": "online"
|
198
|
+
},
|
164
199
|
"ScanVoice": {
|
165
200
|
"document": "本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音内容安全服务。\n</br></br>\n\n<h4><b>功能试用说明:</b></h4>\n<li>打开前往<a href=\"https://console.cloud.tencent.com/gamegme/tryout\">控制台 - 产品试用</a>免费试用语音内容安全服务。</li>\n</br>\n\n<h4><b>接口功能说明:</b></h4>\n<li>支持对语音流或语音文件进行检测,判断其中是否包含违规内容。</li>\n<li>支持设置回调地址 Callback 获取检测结果,同时支持通过接口(查询语音检测结果)主动轮询获取检测结果。</li>\n<li>支持场景输入,包括:谩骂、色情等场景</li>\n<li>支持批量提交检测任务。检测任务列表最多支持100个。</li>\n</br>\n<h4><b>音频文件限制说明:</b></h4>\n<li>音频文件大小限制:100 M</li>\n<li>音频文件时长限制:30分钟</li>\n<li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>\n</br>\n<h4><b>语音流限制说明:</b></h4>\n<li>语音流格式支持的类型:.m3u8、.flv</li>\n<li>语音流支持的传输协议:RTMP、HTTP、HTTPS</li>\n<li>语音流时长限制:4小时</li>\n<li>支持音视频流分离并对音频流进行分析</li>\n</br>\n<h4 id=\"Label_Value\"><b>Scenes 与 Label 参数说明:</b></h4>\n<p>提交语音检测任务时,需要指定 Scenes 场景参数,<font color=\"red\">目前要求您设置 Scenes 参数值为:[\"default\"]</font>;而在检测结果中,则包含请求时指定的场景,以及对应类型的检测结果。</p>\n<table>\n<thread>\n<tr>\n<th>场景</th>\n<th>描述</th>\n<th>Label</th>\n</tr>\n</thread>\n<tbody>\n<tr>\n<td>语音检测</td>\n<td>语音检测的检测类型</td>\n<td>\n<p>normal:正常文本</p>\n<p>porn:色情</p>\n<p>abuse:谩骂</p>\n<p>ad :广告</p>\n<p>illegal :违法</p>\n<p>moan :呻吟</p>\n<p>customized:自定义词库</p>\n</td>\n</tr>\n</tbody>\n</table>\n</br>\n<h4 id=\"Callback_Declare\"><b>回调相关说明:</b></h4>\n<li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>\n<li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>\n<li>HTTP 请求参数(query)说明:</li>\n<table>\n<thread>\n<tr>\n<th>名称</th>\n<th>类型</th>\n<th>是否必需</th>\n<th>描述</th>\n</tr>\n</thread>\n<tbody>\n<tr>\n<td>Signatue</td>\n<td>string</td>\n<td>是</td>\n<td>签名,具体见<a href=\"#Callback_Signatue\">签名生成说明</a></td>\n</tr>\n</tbody>\n</table>\n<ul id=\"Callback_Signatue\">\n\t<li>签名生成说明:</li>\n\t<ul>\n\t\t<li>使用 HMAC-SH1 算法, 最终结果做 BASE64 编码;</li>\n\t\t<li>签名原文串为 POST+body 的整个json内容(长度以 Content-Length 为准);</li>\n\t\t<li>签名key为应用的 SecretKey,可以通过控制台查看。</li>\n\t</ul>\n</ul>\n\n<li>回调示例如下<font color=\"red\">(详细字段说明见结构:\n<a href=\"https://cloud.tencent.com/document/api/607/35375#DescribeScanResult\" target=\"_blank\">DescribeScanResult</a>)</font>:</li>\n<pre><code>{\n\t\"Code\": 0,\n\t\"DataId\": \"1400000000_test_data_id\",\n\t\"ScanFinishTime\": 1566720906,\n\t\"HitFlag\": true,\n\t\"Live\": false,\n\t\"Msg\": \"\",\n\t\"ScanPiece\": [{\n\t\t\"DumpUrl\": \"\",\n\t\t\"HitFlag\": true,\n\t\t\"MainType\": \"abuse\",\n\t\t\"RoomId\": \"123\",\n\t\t\"OpenId\": \"111\",\n\t\t\"Info\":\"\",\n\t\t\"Offset\": 0,\n\t\t\"Duration\": 3400,\n\t\t\"PieceStartTime\":1574684231,\n\t\t\"ScanDetail\": [{\n\t\t\t\"EndTime\": 1110,\n\t\t\t\"KeyWord\": \"违规字\",\n\t\t\t\"Label\": \"abuse\",\n\t\t\t\"Rate\": \"90.00\",\n\t\t\t\"StartTime\": 1110\n\t\t}, {\n\t\t\t\"EndTime\": 1380,\n\t\t\t\"KeyWord\": \"违规字\",\n\t\t\t\"Label\": \"abuse\",\n\t\t\t\"Rate\": \"90.00\",\n\t\t\t\"StartTime\": 930\n\t\t}, {\n\t\t\t\"EndTime\": 1560,\n\t\t\t\"KeyWord\": \"违规字\",\n\t\t\t\"Label\": \"abuse\",\n\t\t\t\"Rate\": \"90.00\",\n\t\t\t\"StartTime\": 930\n\t\t}, {\n\t\t\t\"EndTime\": 2820,\n\t\t\t\"KeyWord\": \"违规字\",\n\t\t\t\"Label\": \"abuse\",\n\t\t\t\"Rate\": \"90.00\",\n\t\t\t\"StartTime\": 2490\n\t\t}]\n\t}],\n\t\"ScanStartTime\": 1566720905,\n\t\"Scenes\": [\n\t\t\"default\"\n\t],\n\t\"Status\": \"Success\",\n\t\"TaskId\": \"6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b\",\n\t\"Url\": \"https://xxx/xxx.m4a\"\n}\n</code></pre>",
|
166
201
|
"input": "ScanVoiceRequest",
|
@@ -168,6 +203,13 @@
|
|
168
203
|
"output": "ScanVoiceResponse",
|
169
204
|
"status": "online"
|
170
205
|
},
|
206
|
+
"StartAIConversation": {
|
207
|
+
"document": "启动AI对话任务,AI通道机器人进入GME房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景\n\nGME AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。",
|
208
|
+
"input": "StartAIConversationRequest",
|
209
|
+
"name": "开始AI对话任务",
|
210
|
+
"output": "StartAIConversationResponse",
|
211
|
+
"status": "online"
|
212
|
+
},
|
171
213
|
"StartRecord": {
|
172
214
|
"document": "开启录制",
|
173
215
|
"input": "StartRecordRequest",
|
@@ -175,6 +217,13 @@
|
|
175
217
|
"output": "StartRecordResponse",
|
176
218
|
"status": "online"
|
177
219
|
},
|
220
|
+
"StopAIConversation": {
|
221
|
+
"document": "停止AI对话任务",
|
222
|
+
"input": "StopAIConversationRequest",
|
223
|
+
"name": "停止AI对话任务",
|
224
|
+
"output": "StopAIConversationResponse",
|
225
|
+
"status": "online"
|
226
|
+
},
|
178
227
|
"StopRecord": {
|
179
228
|
"document": "停止录制\n",
|
180
229
|
"input": "StopRecordRequest",
|
@@ -182,6 +231,13 @@
|
|
182
231
|
"output": "StopRecordResponse",
|
183
232
|
"status": "online"
|
184
233
|
},
|
234
|
+
"UpdateAIConversation": {
|
235
|
+
"document": "更新AIConversation参数",
|
236
|
+
"input": "UpdateAIConversationRequest",
|
237
|
+
"name": "更新AI对话任务配置",
|
238
|
+
"output": "UpdateAIConversationResponse",
|
239
|
+
"status": "online"
|
240
|
+
},
|
185
241
|
"UpdateScanRooms": {
|
186
242
|
"document": "更新自定义送检房间号。**接口使用前提**:目前 UpdateScanRooms 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。",
|
187
243
|
"input": "UpdateScanRoomsRequest",
|
@@ -195,6 +251,13 @@
|
|
195
251
|
"name": "更新送检用户号",
|
196
252
|
"output": "UpdateScanUsersResponse",
|
197
253
|
"status": "online"
|
254
|
+
},
|
255
|
+
"UpdateVoicePrint": {
|
256
|
+
"document": "传入声纹ID以及对应音频信息,更新对应声纹信息",
|
257
|
+
"input": "UpdateVoicePrintRequest",
|
258
|
+
"name": "更新声纹信息",
|
259
|
+
"output": "UpdateVoicePrintResponse",
|
260
|
+
"status": "online"
|
198
261
|
}
|
199
262
|
},
|
200
263
|
"metadata": {
|
@@ -276,6 +339,216 @@
|
|
276
339
|
],
|
277
340
|
"usage": "out"
|
278
341
|
},
|
342
|
+
"AgentConfig": {
|
343
|
+
"document": "机器人参数",
|
344
|
+
"members": [
|
345
|
+
{
|
346
|
+
"disabled": false,
|
347
|
+
"document": "机器人的UserId,用于进房发起任务。【注意】这个UserId不能与当前房间内的主播观众UserId重复。如果一个房间发起多个任务时,机器人的UserId也不能相互重复,否则会中断前一个任务。需要保证机器人UserId在房间内唯一。",
|
348
|
+
"example": "user_124",
|
349
|
+
"member": "string",
|
350
|
+
"name": "UserId",
|
351
|
+
"output_required": false,
|
352
|
+
"required": true,
|
353
|
+
"type": "string",
|
354
|
+
"value_allowed_null": false
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"disabled": false,
|
358
|
+
"document": "机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码。",
|
359
|
+
"example": "ehbciOiJS",
|
360
|
+
"member": "string",
|
361
|
+
"name": "UserSig",
|
362
|
+
"output_required": false,
|
363
|
+
"required": true,
|
364
|
+
"type": "string",
|
365
|
+
"value_allowed_null": false
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"disabled": false,
|
369
|
+
"document": "机器人拉流的UserId, 填写后,机器人会拉取该UserId的流进行实时处理",
|
370
|
+
"example": "user_124",
|
371
|
+
"member": "string",
|
372
|
+
"name": "TargetUserId",
|
373
|
+
"output_required": false,
|
374
|
+
"required": true,
|
375
|
+
"type": "string",
|
376
|
+
"value_allowed_null": false
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"disabled": false,
|
380
|
+
"document": "房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。",
|
381
|
+
"example": "60",
|
382
|
+
"member": "uint64",
|
383
|
+
"name": "MaxIdleTime",
|
384
|
+
"output_required": false,
|
385
|
+
"required": false,
|
386
|
+
"type": "int",
|
387
|
+
"value_allowed_null": false
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"disabled": false,
|
391
|
+
"document": "机器人的欢迎语",
|
392
|
+
"example": "你好呀",
|
393
|
+
"member": "string",
|
394
|
+
"name": "WelcomeMessage",
|
395
|
+
"output_required": false,
|
396
|
+
"required": false,
|
397
|
+
"type": "string",
|
398
|
+
"value_allowed_null": false
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"disabled": false,
|
402
|
+
"document": "智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
|
403
|
+
"example": "0",
|
404
|
+
"member": "uint64",
|
405
|
+
"name": "InterruptMode",
|
406
|
+
"output_required": false,
|
407
|
+
"required": false,
|
408
|
+
"type": "int",
|
409
|
+
"value_allowed_null": false
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"disabled": false,
|
413
|
+
"document": "InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。",
|
414
|
+
"example": "500",
|
415
|
+
"member": "uint64",
|
416
|
+
"name": "InterruptSpeechDuration",
|
417
|
+
"output_required": false,
|
418
|
+
"required": false,
|
419
|
+
"type": "int",
|
420
|
+
"value_allowed_null": false
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"disabled": false,
|
424
|
+
"document": "控制新一轮对话的触发方式,默认为0。\n- 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。\n- 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。",
|
425
|
+
"example": "0",
|
426
|
+
"member": "uint64",
|
427
|
+
"name": "TurnDetectionMode",
|
428
|
+
"output_required": false,
|
429
|
+
"required": false,
|
430
|
+
"type": "int",
|
431
|
+
"value_allowed_null": false
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"disabled": false,
|
435
|
+
"document": "是否过滤掉用户只说了一个字的句子,true表示过滤,false表示不过滤,默认值为true",
|
436
|
+
"example": "true",
|
437
|
+
"member": "bool",
|
438
|
+
"name": "FilterOneWord",
|
439
|
+
"output_required": false,
|
440
|
+
"required": false,
|
441
|
+
"type": "bool",
|
442
|
+
"value_allowed_null": false
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"disabled": false,
|
446
|
+
"document": "欢迎消息优先级,0默认,1高优,高优不能被打断。",
|
447
|
+
"example": "0",
|
448
|
+
"member": "uint64",
|
449
|
+
"name": "WelcomeMessagePriority",
|
450
|
+
"output_required": false,
|
451
|
+
"required": false,
|
452
|
+
"type": "int",
|
453
|
+
"value_allowed_null": false
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"disabled": false,
|
457
|
+
"document": "用于过滤LLM返回内容,不播放括号中的内容。\n1:中文括号()\n2:英文括号()\n3:中文方括号【】\n4:英文方括号[]\n5:英文花括号{}\n默认值为空,表示不进行过滤。",
|
458
|
+
"example": "1",
|
459
|
+
"member": "uint64",
|
460
|
+
"name": "FilterBracketsContent",
|
461
|
+
"output_required": false,
|
462
|
+
"required": false,
|
463
|
+
"type": "int",
|
464
|
+
"value_allowed_null": false
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"disabled": false,
|
468
|
+
"document": "环境音设置\t",
|
469
|
+
"example": "无",
|
470
|
+
"member": "AmbientSound",
|
471
|
+
"name": "AmbientSound",
|
472
|
+
"output_required": false,
|
473
|
+
"required": false,
|
474
|
+
"type": "object",
|
475
|
+
"value_allowed_null": false
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"disabled": false,
|
479
|
+
"document": "声纹配置\t",
|
480
|
+
"example": "无",
|
481
|
+
"member": "VoicePrint",
|
482
|
+
"name": "VoicePrint",
|
483
|
+
"output_required": false,
|
484
|
+
"required": false,
|
485
|
+
"type": "object",
|
486
|
+
"value_allowed_null": false
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"disabled": false,
|
490
|
+
"document": "与WelcomeMessage参数互斥,当该参数有值时,WelcomeMessage将失效。\\n在对话开始后把该消息送到大模型来获取欢迎语。\t",
|
491
|
+
"example": "你好呀\t",
|
492
|
+
"member": "string",
|
493
|
+
"name": "InitLLMMessage",
|
494
|
+
"output_required": false,
|
495
|
+
"required": false,
|
496
|
+
"type": "string",
|
497
|
+
"value_allowed_null": false
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"disabled": false,
|
501
|
+
"document": "语义断句检测\t",
|
502
|
+
"example": "无",
|
503
|
+
"member": "TurnDetection",
|
504
|
+
"name": "TurnDetection",
|
505
|
+
"output_required": false,
|
506
|
+
"required": false,
|
507
|
+
"type": "object",
|
508
|
+
"value_allowed_null": false
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"disabled": false,
|
512
|
+
"document": "机器人字幕显示模式。 - 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。 - 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。\t",
|
513
|
+
"example": "1",
|
514
|
+
"member": "uint64",
|
515
|
+
"name": "SubtitleMode",
|
516
|
+
"output_required": false,
|
517
|
+
"required": false,
|
518
|
+
"type": "int",
|
519
|
+
"value_allowed_null": false
|
520
|
+
}
|
521
|
+
],
|
522
|
+
"usage": "both"
|
523
|
+
},
|
524
|
+
"AmbientSound": {
|
525
|
+
"document": "背景音设置,将在通话中添加环境音效,使体验更加逼真。目前支持以下选项:\ncoffee_shops: 咖啡店氛围,背景中有人聊天。\nbusy_office: 客服中心\nstreet_traffic: 户外街道\nevening_mountain: 户外山林",
|
526
|
+
"members": [
|
527
|
+
{
|
528
|
+
"disabled": false,
|
529
|
+
"document": "环境场景选择",
|
530
|
+
"example": "coffee_shops",
|
531
|
+
"member": "string",
|
532
|
+
"name": "Scene",
|
533
|
+
"output_required": false,
|
534
|
+
"required": true,
|
535
|
+
"type": "string",
|
536
|
+
"value_allowed_null": false
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"disabled": false,
|
540
|
+
"document": "控制环境音的音量。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。",
|
541
|
+
"example": "1.0",
|
542
|
+
"member": "float",
|
543
|
+
"name": "Volume",
|
544
|
+
"output_required": false,
|
545
|
+
"required": false,
|
546
|
+
"type": "float",
|
547
|
+
"value_allowed_null": false
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"usage": "both"
|
551
|
+
},
|
279
552
|
"AppStatisticsItem": {
|
280
553
|
"document": "应用用量统计数据",
|
281
554
|
"members": [
|
@@ -646,6 +919,60 @@
|
|
646
919
|
],
|
647
920
|
"usage": "out"
|
648
921
|
},
|
922
|
+
"ControlAIConversationRequest": {
|
923
|
+
"document": "ControlAIConversation请求参数结构体",
|
924
|
+
"members": [
|
925
|
+
{
|
926
|
+
"disabled": false,
|
927
|
+
"document": "任务唯一标识",
|
928
|
+
"example": "v2*****test",
|
929
|
+
"member": "string",
|
930
|
+
"name": "TaskId",
|
931
|
+
"required": true,
|
932
|
+
"type": "string"
|
933
|
+
},
|
934
|
+
{
|
935
|
+
"disabled": false,
|
936
|
+
"document": "控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话",
|
937
|
+
"example": "ServerPushText",
|
938
|
+
"member": "string",
|
939
|
+
"name": "Command",
|
940
|
+
"required": true,
|
941
|
+
"type": "string"
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"disabled": false,
|
945
|
+
"document": "服务端发送播报文本命令,当Command为ServerPushText时必填",
|
946
|
+
"example": "无",
|
947
|
+
"member": "ServerPushText",
|
948
|
+
"name": "ServerPushText",
|
949
|
+
"required": false,
|
950
|
+
"type": "object"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"disabled": false,
|
954
|
+
"document": "服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM=\"1\"",
|
955
|
+
"example": "无",
|
956
|
+
"member": "InvokeLLM",
|
957
|
+
"name": "InvokeLLM",
|
958
|
+
"required": false,
|
959
|
+
"type": "object"
|
960
|
+
}
|
961
|
+
],
|
962
|
+
"type": "object"
|
963
|
+
},
|
964
|
+
"ControlAIConversationResponse": {
|
965
|
+
"document": "ControlAIConversation返回参数结构体",
|
966
|
+
"members": [
|
967
|
+
{
|
968
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
969
|
+
"member": "string",
|
970
|
+
"name": "RequestId",
|
971
|
+
"type": "string"
|
972
|
+
}
|
973
|
+
],
|
974
|
+
"type": "object"
|
975
|
+
},
|
649
976
|
"CreateAgeDetectTaskRequest": {
|
650
977
|
"document": "CreateAgeDetectTask请求参数结构体",
|
651
978
|
"members": [
|
@@ -1296,51 +1623,24 @@
|
|
1296
1623
|
],
|
1297
1624
|
"type": "object"
|
1298
1625
|
},
|
1299
|
-
"
|
1300
|
-
"document": "
|
1626
|
+
"DeleteVoicePrintRequest": {
|
1627
|
+
"document": "DeleteVoicePrint请求参数结构体",
|
1301
1628
|
"members": [
|
1302
1629
|
{
|
1303
1630
|
"disabled": false,
|
1304
|
-
"document": "
|
1305
|
-
"example": "
|
1306
|
-
"member": "int64",
|
1307
|
-
"name": "BizId",
|
1308
|
-
"required": true,
|
1309
|
-
"type": "int"
|
1310
|
-
},
|
1311
|
-
{
|
1312
|
-
"disabled": false,
|
1313
|
-
"document": "[创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid",
|
1314
|
-
"example": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b",
|
1631
|
+
"document": "声纹信息ID",
|
1632
|
+
"example": "20250529_xxxxxx",
|
1315
1633
|
"member": "string",
|
1316
|
-
"name": "
|
1634
|
+
"name": "VoicePrintId",
|
1317
1635
|
"required": true,
|
1318
1636
|
"type": "string"
|
1319
1637
|
}
|
1320
1638
|
],
|
1321
1639
|
"type": "object"
|
1322
1640
|
},
|
1323
|
-
"
|
1324
|
-
"document": "
|
1641
|
+
"DeleteVoicePrintResponse": {
|
1642
|
+
"document": "DeleteVoicePrint返回参数结构体",
|
1325
1643
|
"members": [
|
1326
|
-
{
|
1327
|
-
"disabled": false,
|
1328
|
-
"document": "任务ID",
|
1329
|
-
"example": "xxx-yyy-zzz",
|
1330
|
-
"member": "string",
|
1331
|
-
"name": "TaskId",
|
1332
|
-
"type": "string",
|
1333
|
-
"value_allowed_null": false
|
1334
|
-
},
|
1335
|
-
{
|
1336
|
-
"disabled": false,
|
1337
|
-
"document": "语音检测返回。Results 字段是 JSON 数组,每一个元素包含:\nDataId: 请求中对应的 DataId。\nUrl :该请求中对应的 Url。\nStatus :子任务状态,0:已创建,1:运行中,2:已完成,3:任务异常,4:任务超时。\nAge :子任务完成后的结果,0:成年人,1:未成年人,100:未知结果。",
|
1338
|
-
"example": "无",
|
1339
|
-
"member": "AgeDetectTaskResult",
|
1340
|
-
"name": "Results",
|
1341
|
-
"type": "list",
|
1342
|
-
"value_allowed_null": false
|
1343
|
-
},
|
1344
1644
|
{
|
1345
1645
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1346
1646
|
"member": "string",
|
@@ -1350,16 +1650,146 @@
|
|
1350
1650
|
],
|
1351
1651
|
"type": "object"
|
1352
1652
|
},
|
1353
|
-
"
|
1354
|
-
"document": "
|
1653
|
+
"DescribeAIConversationRequest": {
|
1654
|
+
"document": "DescribeAIConversation请求参数结构体",
|
1355
1655
|
"members": [
|
1356
1656
|
{
|
1357
1657
|
"disabled": false,
|
1358
|
-
"document": "GME
|
1359
|
-
"example": "
|
1658
|
+
"document": "GME的SdkAppId,和开启转录任务的房间使用的SdkAppId相同。",
|
1659
|
+
"example": "1400000000",
|
1360
1660
|
"member": "uint64",
|
1361
|
-
"name": "
|
1362
|
-
"required":
|
1661
|
+
"name": "SdkAppId",
|
1662
|
+
"required": false,
|
1663
|
+
"type": "int"
|
1664
|
+
},
|
1665
|
+
{
|
1666
|
+
"disabled": false,
|
1667
|
+
"document": "唯一标识一次任务。",
|
1668
|
+
"example": "SV1FR+XTtvzAjRxZZ+aof1DfJF00VSBBNE0zR9W-PEpgCPBmt402BbnqMCdom79LtZO-VbLyV1nhVY1pFauWgrW12BevPvJ5Zn010nD6vj3hgfbVH0.",
|
1669
|
+
"member": "string",
|
1670
|
+
"name": "TaskId",
|
1671
|
+
"required": false,
|
1672
|
+
"type": "string"
|
1673
|
+
}
|
1674
|
+
],
|
1675
|
+
"type": "object"
|
1676
|
+
},
|
1677
|
+
"DescribeAIConversationResponse": {
|
1678
|
+
"document": "DescribeAIConversation返回参数结构体",
|
1679
|
+
"members": [
|
1680
|
+
{
|
1681
|
+
"disabled": false,
|
1682
|
+
"document": "任务开始时间。",
|
1683
|
+
"example": "2023-09-11",
|
1684
|
+
"member": "string",
|
1685
|
+
"name": "StartTime",
|
1686
|
+
"output_required": false,
|
1687
|
+
"type": "string",
|
1688
|
+
"value_allowed_null": false
|
1689
|
+
},
|
1690
|
+
{
|
1691
|
+
"disabled": false,
|
1692
|
+
"document": "任务状态。有4个值:1、Idle表示任务未开始2、Preparing表示任务准备中3、InProgress表示任务正在运行4、Stopped表示任务已停止,正在清理资源中",
|
1693
|
+
"example": "1",
|
1694
|
+
"member": "string",
|
1695
|
+
"name": "Status",
|
1696
|
+
"output_required": false,
|
1697
|
+
"type": "string",
|
1698
|
+
"value_allowed_null": false
|
1699
|
+
},
|
1700
|
+
{
|
1701
|
+
"disabled": false,
|
1702
|
+
"document": "唯一标识一次任务。",
|
1703
|
+
"example": "SV1FR+XTtvzAjRxZZ+aof1DfJF00VSBBNE0zR9W-PEpgCPBmt402BbnqMCdom79LtZO-VbLyV1nhVY1pFauWgrW12BevPvJ5Zn010nD6vj3hgfbVH0.",
|
1704
|
+
"member": "string",
|
1705
|
+
"name": "TaskId",
|
1706
|
+
"output_required": false,
|
1707
|
+
"type": "string",
|
1708
|
+
"value_allowed_null": false
|
1709
|
+
},
|
1710
|
+
{
|
1711
|
+
"disabled": false,
|
1712
|
+
"document": "开启对话任务时填写的SessionId,如果没写则不返回。",
|
1713
|
+
"example": "conversation_1_2",
|
1714
|
+
"member": "string",
|
1715
|
+
"name": "SessionId",
|
1716
|
+
"output_required": false,
|
1717
|
+
"type": "string",
|
1718
|
+
"value_allowed_null": false
|
1719
|
+
},
|
1720
|
+
{
|
1721
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1722
|
+
"member": "string",
|
1723
|
+
"name": "RequestId",
|
1724
|
+
"type": "string"
|
1725
|
+
}
|
1726
|
+
],
|
1727
|
+
"type": "object"
|
1728
|
+
},
|
1729
|
+
"DescribeAgeDetectTaskRequest": {
|
1730
|
+
"document": "DescribeAgeDetectTask请求参数结构体",
|
1731
|
+
"members": [
|
1732
|
+
{
|
1733
|
+
"disabled": false,
|
1734
|
+
"document": "应用id",
|
1735
|
+
"example": "123456",
|
1736
|
+
"member": "int64",
|
1737
|
+
"name": "BizId",
|
1738
|
+
"required": true,
|
1739
|
+
"type": "int"
|
1740
|
+
},
|
1741
|
+
{
|
1742
|
+
"disabled": false,
|
1743
|
+
"document": "[创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid",
|
1744
|
+
"example": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b",
|
1745
|
+
"member": "string",
|
1746
|
+
"name": "TaskId",
|
1747
|
+
"required": true,
|
1748
|
+
"type": "string"
|
1749
|
+
}
|
1750
|
+
],
|
1751
|
+
"type": "object"
|
1752
|
+
},
|
1753
|
+
"DescribeAgeDetectTaskResponse": {
|
1754
|
+
"document": "DescribeAgeDetectTask返回参数结构体",
|
1755
|
+
"members": [
|
1756
|
+
{
|
1757
|
+
"disabled": false,
|
1758
|
+
"document": "任务ID",
|
1759
|
+
"example": "xxx-yyy-zzz",
|
1760
|
+
"member": "string",
|
1761
|
+
"name": "TaskId",
|
1762
|
+
"type": "string",
|
1763
|
+
"value_allowed_null": false
|
1764
|
+
},
|
1765
|
+
{
|
1766
|
+
"disabled": false,
|
1767
|
+
"document": "语音检测返回。Results 字段是 JSON 数组,每一个元素包含:\nDataId: 请求中对应的 DataId。\nUrl :该请求中对应的 Url。\nStatus :子任务状态,0:已创建,1:运行中,2:已完成,3:任务异常,4:任务超时。\nAge :子任务完成后的结果,0:成年人,1:未成年人,100:未知结果。",
|
1768
|
+
"example": "无",
|
1769
|
+
"member": "AgeDetectTaskResult",
|
1770
|
+
"name": "Results",
|
1771
|
+
"type": "list",
|
1772
|
+
"value_allowed_null": false
|
1773
|
+
},
|
1774
|
+
{
|
1775
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1776
|
+
"member": "string",
|
1777
|
+
"name": "RequestId",
|
1778
|
+
"type": "string"
|
1779
|
+
}
|
1780
|
+
],
|
1781
|
+
"type": "object"
|
1782
|
+
},
|
1783
|
+
"DescribeAppStatisticsRequest": {
|
1784
|
+
"document": "DescribeAppStatistics请求参数结构体",
|
1785
|
+
"members": [
|
1786
|
+
{
|
1787
|
+
"disabled": false,
|
1788
|
+
"document": "GME应用ID",
|
1789
|
+
"example": "140000001",
|
1790
|
+
"member": "uint64",
|
1791
|
+
"name": "BizId",
|
1792
|
+
"required": true,
|
1363
1793
|
"type": "int"
|
1364
1794
|
},
|
1365
1795
|
{
|
@@ -2142,6 +2572,80 @@
|
|
2142
2572
|
],
|
2143
2573
|
"type": "object"
|
2144
2574
|
},
|
2575
|
+
"DescribeVoicePrintRequest": {
|
2576
|
+
"document": "DescribeVoicePrint请求参数结构体",
|
2577
|
+
"members": [
|
2578
|
+
{
|
2579
|
+
"disabled": false,
|
2580
|
+
"document": "查询方式,0表示查询特定VoicePrintId,1表示分页查询",
|
2581
|
+
"example": "1",
|
2582
|
+
"member": "uint64",
|
2583
|
+
"name": "DescribeMode",
|
2584
|
+
"required": true,
|
2585
|
+
"type": "int"
|
2586
|
+
},
|
2587
|
+
{
|
2588
|
+
"disabled": false,
|
2589
|
+
"document": "声纹ID",
|
2590
|
+
"example": "[\"13000569124-fd91f128-52a6-4692-b94a-c0f9fd3c4287\"]",
|
2591
|
+
"member": "string",
|
2592
|
+
"name": "VoicePrintIdList",
|
2593
|
+
"required": false,
|
2594
|
+
"type": "list"
|
2595
|
+
},
|
2596
|
+
{
|
2597
|
+
"disabled": false,
|
2598
|
+
"document": "当前页码,从1开始,DescribeMode为1时填写",
|
2599
|
+
"example": "1",
|
2600
|
+
"member": "uint64",
|
2601
|
+
"name": "PageIndex",
|
2602
|
+
"required": false,
|
2603
|
+
"type": "int"
|
2604
|
+
},
|
2605
|
+
{
|
2606
|
+
"disabled": false,
|
2607
|
+
"document": "每页条数 最少20,DescribeMode为1时填写",
|
2608
|
+
"example": "20",
|
2609
|
+
"member": "uint64",
|
2610
|
+
"name": "PageSize",
|
2611
|
+
"required": false,
|
2612
|
+
"type": "int"
|
2613
|
+
}
|
2614
|
+
],
|
2615
|
+
"type": "object"
|
2616
|
+
},
|
2617
|
+
"DescribeVoicePrintResponse": {
|
2618
|
+
"document": "DescribeVoicePrint返回参数结构体",
|
2619
|
+
"members": [
|
2620
|
+
{
|
2621
|
+
"disabled": false,
|
2622
|
+
"document": "总的条数",
|
2623
|
+
"example": "100",
|
2624
|
+
"member": "uint64",
|
2625
|
+
"name": "TotalCount",
|
2626
|
+
"output_required": false,
|
2627
|
+
"type": "int",
|
2628
|
+
"value_allowed_null": false
|
2629
|
+
},
|
2630
|
+
{
|
2631
|
+
"disabled": false,
|
2632
|
+
"document": "声纹信息",
|
2633
|
+
"example": "无",
|
2634
|
+
"member": "VoicePrintInfo",
|
2635
|
+
"name": "Data",
|
2636
|
+
"output_required": false,
|
2637
|
+
"type": "list",
|
2638
|
+
"value_allowed_null": false
|
2639
|
+
},
|
2640
|
+
{
|
2641
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2642
|
+
"member": "string",
|
2643
|
+
"name": "RequestId",
|
2644
|
+
"type": "string"
|
2645
|
+
}
|
2646
|
+
],
|
2647
|
+
"type": "object"
|
2648
|
+
},
|
2145
2649
|
"Filter": {
|
2146
2650
|
"document": "查找过滤",
|
2147
2651
|
"members": [
|
@@ -2229,6 +2733,30 @@
|
|
2229
2733
|
],
|
2230
2734
|
"usage": "out"
|
2231
2735
|
},
|
2736
|
+
"InvokeLLM": {
|
2737
|
+
"document": "调用服务端主动发起请求到LLM",
|
2738
|
+
"members": [
|
2739
|
+
{
|
2740
|
+
"disabled": false,
|
2741
|
+
"document": "请求LLM的内容",
|
2742
|
+
"example": "今天天气怎么样",
|
2743
|
+
"member": "string",
|
2744
|
+
"name": "Content",
|
2745
|
+
"required": false,
|
2746
|
+
"type": "string"
|
2747
|
+
},
|
2748
|
+
{
|
2749
|
+
"disabled": false,
|
2750
|
+
"document": "是否允许该文本打断机器人说话",
|
2751
|
+
"example": "false",
|
2752
|
+
"member": "bool",
|
2753
|
+
"name": "Interrupt",
|
2754
|
+
"required": false,
|
2755
|
+
"type": "bool"
|
2756
|
+
}
|
2757
|
+
],
|
2758
|
+
"usage": "in"
|
2759
|
+
},
|
2232
2760
|
"ModifyAppStatusRequest": {
|
2233
2761
|
"document": "ModifyAppStatus请求参数结构体",
|
2234
2762
|
"members": [
|
@@ -2720,6 +3248,79 @@
|
|
2720
3248
|
],
|
2721
3249
|
"usage": "out"
|
2722
3250
|
},
|
3251
|
+
"RegisterVoicePrintRequest": {
|
3252
|
+
"document": "RegisterVoicePrint请求参数结构体",
|
3253
|
+
"members": [
|
3254
|
+
{
|
3255
|
+
"disabled": false,
|
3256
|
+
"document": "整个wav音频文件的base64字符串,其中wav文件限定为16k采样率, 16bit位深, 单声道, 4到18秒音频时长,有效音频不小于3秒(不能有太多静音段), 编码数据大小不超过2M, 为了识别准确率,建议音频长度为8秒",
|
3257
|
+
"example": "kAOgA9AEA...",
|
3258
|
+
"member": "string",
|
3259
|
+
"name": "Audio",
|
3260
|
+
"required": true,
|
3261
|
+
"type": "string"
|
3262
|
+
},
|
3263
|
+
{
|
3264
|
+
"disabled": false,
|
3265
|
+
"document": "毫秒时间戳",
|
3266
|
+
"example": "1748249540000",
|
3267
|
+
"member": "uint64",
|
3268
|
+
"name": "ReqTimestamp",
|
3269
|
+
"required": true,
|
3270
|
+
"type": "int"
|
3271
|
+
},
|
3272
|
+
{
|
3273
|
+
"disabled": false,
|
3274
|
+
"document": "音频格式,目前只支持0,代表wav",
|
3275
|
+
"example": "0",
|
3276
|
+
"member": "uint64",
|
3277
|
+
"name": "AudioFormat",
|
3278
|
+
"required": true,
|
3279
|
+
"type": "int"
|
3280
|
+
},
|
3281
|
+
{
|
3282
|
+
"disabled": false,
|
3283
|
+
"document": "音频名称,长度不要超过32",
|
3284
|
+
"example": "jackson",
|
3285
|
+
"member": "string",
|
3286
|
+
"name": "AudioName",
|
3287
|
+
"required": true,
|
3288
|
+
"type": "string"
|
3289
|
+
},
|
3290
|
+
{
|
3291
|
+
"disabled": false,
|
3292
|
+
"document": "和声纹绑定的MetaInfo,长度最大不超过512",
|
3293
|
+
"example": "metainfo string",
|
3294
|
+
"member": "string",
|
3295
|
+
"name": "AudioMetaInfo",
|
3296
|
+
"required": false,
|
3297
|
+
"type": "string"
|
3298
|
+
}
|
3299
|
+
],
|
3300
|
+
"type": "object"
|
3301
|
+
},
|
3302
|
+
"RegisterVoicePrintResponse": {
|
3303
|
+
"document": "RegisterVoicePrint返回参数结构体",
|
3304
|
+
"members": [
|
3305
|
+
{
|
3306
|
+
"disabled": false,
|
3307
|
+
"document": "声纹信息ID",
|
3308
|
+
"example": "声纹信息id",
|
3309
|
+
"member": "string",
|
3310
|
+
"name": "VoicePrintId",
|
3311
|
+
"output_required": false,
|
3312
|
+
"type": "string",
|
3313
|
+
"value_allowed_null": false
|
3314
|
+
},
|
3315
|
+
{
|
3316
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3317
|
+
"member": "string",
|
3318
|
+
"name": "RequestId",
|
3319
|
+
"type": "string"
|
3320
|
+
}
|
3321
|
+
],
|
3322
|
+
"type": "object"
|
3323
|
+
},
|
2723
3324
|
"RoomUser": {
|
2724
3325
|
"document": "房间内用户信息",
|
2725
3326
|
"members": [
|
@@ -2766,16 +3367,88 @@
|
|
2766
3367
|
],
|
2767
3368
|
"usage": "out"
|
2768
3369
|
},
|
2769
|
-
"
|
2770
|
-
"document": "
|
3370
|
+
"STTConfig": {
|
3371
|
+
"document": "语音转文字参数",
|
2771
3372
|
"members": [
|
2772
3373
|
{
|
2773
3374
|
"disabled": false,
|
2774
|
-
"document": "
|
2775
|
-
"example": "
|
3375
|
+
"document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. \n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文(简体)\n- \"zh-TW\": 中文(繁体)\n- \"en\": 英语\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
|
3376
|
+
"example": "zh",
|
2776
3377
|
"member": "string",
|
2777
|
-
"name": "
|
2778
|
-
"output_required":
|
3378
|
+
"name": "Language",
|
3379
|
+
"output_required": false,
|
3380
|
+
"required": false,
|
3381
|
+
"type": "string",
|
3382
|
+
"value_allowed_null": false
|
3383
|
+
},
|
3384
|
+
{
|
3385
|
+
"disabled": false,
|
3386
|
+
"document": "**发起模糊识别为高级版能力,默认按照高级版收费,仅支持填写基础版和高级版语言.**\n注意:不支持填写\"zh-dialect\"",
|
3387
|
+
"example": "[\"AlternativeLanguage\"]",
|
3388
|
+
"member": "string",
|
3389
|
+
"name": "AlternativeLanguage",
|
3390
|
+
"output_required": false,
|
3391
|
+
"required": false,
|
3392
|
+
"type": "list",
|
3393
|
+
"value_allowed_null": false
|
3394
|
+
},
|
3395
|
+
{
|
3396
|
+
"disabled": false,
|
3397
|
+
"document": "自定义参数,联系后台使用\n",
|
3398
|
+
"example": "CustomParam",
|
3399
|
+
"member": "string",
|
3400
|
+
"name": "CustomParam",
|
3401
|
+
"output_required": false,
|
3402
|
+
"required": false,
|
3403
|
+
"type": "string",
|
3404
|
+
"value_allowed_null": false
|
3405
|
+
},
|
3406
|
+
{
|
3407
|
+
"disabled": false,
|
3408
|
+
"document": "语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。",
|
3409
|
+
"example": "1000",
|
3410
|
+
"member": "uint64",
|
3411
|
+
"name": "VadSilenceTime",
|
3412
|
+
"output_required": false,
|
3413
|
+
"required": false,
|
3414
|
+
"type": "int",
|
3415
|
+
"value_allowed_null": false
|
3416
|
+
},
|
3417
|
+
{
|
3418
|
+
"disabled": false,
|
3419
|
+
"document": "热词表:该参数用于提升识别准确率。 单个热词限制:\"热词|权重\",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;",
|
3420
|
+
"example": "腾讯云|10,语音识别|5,ASR|11",
|
3421
|
+
"member": "string",
|
3422
|
+
"name": "HotWordList",
|
3423
|
+
"output_required": false,
|
3424
|
+
"required": false,
|
3425
|
+
"type": "string",
|
3426
|
+
"value_allowed_null": false
|
3427
|
+
},
|
3428
|
+
{
|
3429
|
+
"disabled": false,
|
3430
|
+
"document": "vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。\t",
|
3431
|
+
"example": "1",
|
3432
|
+
"member": "uint64",
|
3433
|
+
"name": "VadLevel",
|
3434
|
+
"output_required": false,
|
3435
|
+
"required": false,
|
3436
|
+
"type": "int",
|
3437
|
+
"value_allowed_null": false
|
3438
|
+
}
|
3439
|
+
],
|
3440
|
+
"usage": "both"
|
3441
|
+
},
|
3442
|
+
"ScanDetail": {
|
3443
|
+
"document": "语音检测详情",
|
3444
|
+
"members": [
|
3445
|
+
{
|
3446
|
+
"disabled": false,
|
3447
|
+
"document": "违规场景,参照<a href=\"https://cloud.tencent.com/document/product/607/37622#Label_Value\">Label</a>定义",
|
3448
|
+
"example": "abuse",
|
3449
|
+
"member": "string",
|
3450
|
+
"name": "Label",
|
3451
|
+
"output_required": true,
|
2779
3452
|
"type": "string",
|
2780
3453
|
"value_allowed_null": false
|
2781
3454
|
},
|
@@ -3075,6 +3748,66 @@
|
|
3075
3748
|
],
|
3076
3749
|
"usage": "both"
|
3077
3750
|
},
|
3751
|
+
"ServerPushText": {
|
3752
|
+
"document": "服务端控制AI对话机器人播报指定文本",
|
3753
|
+
"members": [
|
3754
|
+
{
|
3755
|
+
"disabled": false,
|
3756
|
+
"document": "服务端推送播报文本",
|
3757
|
+
"example": "无",
|
3758
|
+
"member": "string",
|
3759
|
+
"name": "Text",
|
3760
|
+
"required": false,
|
3761
|
+
"type": "string"
|
3762
|
+
},
|
3763
|
+
{
|
3764
|
+
"disabled": false,
|
3765
|
+
"document": "是否允许该文本打断机器人说话",
|
3766
|
+
"example": "无",
|
3767
|
+
"member": "bool",
|
3768
|
+
"name": "Interrupt",
|
3769
|
+
"required": false,
|
3770
|
+
"type": "bool"
|
3771
|
+
},
|
3772
|
+
{
|
3773
|
+
"disabled": false,
|
3774
|
+
"document": "播报完文本后,是否自动关闭对话任务",
|
3775
|
+
"example": "无",
|
3776
|
+
"member": "bool",
|
3777
|
+
"name": "StopAfterPlay",
|
3778
|
+
"required": false,
|
3779
|
+
"type": "bool"
|
3780
|
+
},
|
3781
|
+
{
|
3782
|
+
"disabled": false,
|
3783
|
+
"document": "服务端推送播报音频\n 格式说明:音频必须为单声道,采样率必须跟对应TTS的采样率保持一致,编码为Base64字符串。\n 输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。",
|
3784
|
+
"example": "无",
|
3785
|
+
"member": "string",
|
3786
|
+
"name": "Audio",
|
3787
|
+
"required": false,
|
3788
|
+
"type": "string"
|
3789
|
+
},
|
3790
|
+
{
|
3791
|
+
"disabled": false,
|
3792
|
+
"document": "默认为0,仅在Interrupt为false时有效\n- 0表示当前有交互发生时,会丢弃Interrupt为false的消息\n- 1表示当前有交互发生时,不会丢弃Interrupt为false的消息,而是缓存下来,等待当前交互结束后,再去处理\n\n注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空",
|
3793
|
+
"example": "0",
|
3794
|
+
"member": "uint64",
|
3795
|
+
"name": "DropMode",
|
3796
|
+
"required": false,
|
3797
|
+
"type": "int"
|
3798
|
+
},
|
3799
|
+
{
|
3800
|
+
"disabled": false,
|
3801
|
+
"document": "ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。**目前仅支持传入0,如果需要传入1,请提工单联系我们添加权限。**\n注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。\n例子:\n- Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断\n- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断\n",
|
3802
|
+
"example": "0",
|
3803
|
+
"member": "uint64",
|
3804
|
+
"name": "Priority",
|
3805
|
+
"required": false,
|
3806
|
+
"type": "int"
|
3807
|
+
}
|
3808
|
+
],
|
3809
|
+
"usage": "in"
|
3810
|
+
},
|
3078
3811
|
"ServiceStatus": {
|
3079
3812
|
"document": "服务开关状态",
|
3080
3813
|
"members": [
|
@@ -3141,6 +3874,106 @@
|
|
3141
3874
|
],
|
3142
3875
|
"usage": "out"
|
3143
3876
|
},
|
3877
|
+
"StartAIConversationRequest": {
|
3878
|
+
"document": "StartAIConversation请求参数结构体",
|
3879
|
+
"members": [
|
3880
|
+
{
|
3881
|
+
"disabled": false,
|
3882
|
+
"document": "GME的SdkAppId和开启转录任务的房间使用的SdkAppId相同。",
|
3883
|
+
"example": "14000000000",
|
3884
|
+
"member": "uint64",
|
3885
|
+
"name": "SdkAppId",
|
3886
|
+
"required": true,
|
3887
|
+
"type": "int"
|
3888
|
+
},
|
3889
|
+
{
|
3890
|
+
"disabled": false,
|
3891
|
+
"document": "GME的RoomId表示开启对话任务的房间号。",
|
3892
|
+
"example": "10000",
|
3893
|
+
"member": "string",
|
3894
|
+
"name": "RoomId",
|
3895
|
+
"required": true,
|
3896
|
+
"type": "string"
|
3897
|
+
},
|
3898
|
+
{
|
3899
|
+
"disabled": false,
|
3900
|
+
"document": "机器人参数",
|
3901
|
+
"example": "无",
|
3902
|
+
"member": "AgentConfig",
|
3903
|
+
"name": "AgentConfig",
|
3904
|
+
"required": true,
|
3905
|
+
"type": "object"
|
3906
|
+
},
|
3907
|
+
{
|
3908
|
+
"disabled": false,
|
3909
|
+
"document": "语音识别配置。",
|
3910
|
+
"example": "无",
|
3911
|
+
"member": "STTConfig",
|
3912
|
+
"name": "STTConfig",
|
3913
|
+
"required": false,
|
3914
|
+
"type": "object"
|
3915
|
+
},
|
3916
|
+
{
|
3917
|
+
"disabled": false,
|
3918
|
+
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": \"大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
3919
|
+
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1/chat/completions\\\", \\\"Streaming\\\": true}",
|
3920
|
+
"member": "string",
|
3921
|
+
"name": "LLMConfig",
|
3922
|
+
"required": false,
|
3923
|
+
"type": "string"
|
3924
|
+
},
|
3925
|
+
{
|
3926
|
+
"disabled": false,
|
3927
|
+
"document": " \"description\": \"TTS配置,为JSON字符串,腾讯云TTS示例如下: <pre>{ <br>   \\\"AppId\\\": 您的应用ID, // Integer 必填<br>   \\\"TTSType\\\": \\\"TTS类型\\\", // String TTS类型, 固定为\\\"tencent\\\"<br>   \\\"SecretId\\\": \\\"您的密钥ID\\\", // String 必填<br>   \\\"SecretKey\\\": \\\"您的密钥Key\\\", // String 必填<br>   \\\"VoiceType\\\": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色。<br>   \\\"Speed\\\": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换\\\"Volume\\\": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>   \\\"EmotionCategory\\\": \\\"angry\\\", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br>   \\\"EmotionIntensity\\\": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br>   }</pre>\",",
|
3928
|
+
"example": "{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 136666666, \\\"SecretId\\\": \\\"xxxxxxx\\\", \\\"SecretKey\\\": \\\"xxxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}",
|
3929
|
+
"member": "string",
|
3930
|
+
"name": "TTSConfig",
|
3931
|
+
"required": false,
|
3932
|
+
"type": "string"
|
3933
|
+
},
|
3934
|
+
{
|
3935
|
+
"disabled": false,
|
3936
|
+
"document": "数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**",
|
3937
|
+
"example": "{\\\"AvatarType\\\": \\\"tencent\\\", \\\"Appkey\\\": \\\"数字人的appkey\\\", \\\"AccessToken\\\": \\\"token\\\",\\\"AssetVirtualmanKey\\\": \\\"2d64a32c02604b8db35d457ba0db0d75\\\", \\\"AvatarUserID\\\": \\\"robot_xiaowei\\\", \\\"DriverType\\\": 1, \\\"AvatarUserSig\\\": \\\"user_sign\\\"}",
|
3938
|
+
"member": "string",
|
3939
|
+
"name": "AvatarConfig",
|
3940
|
+
"required": false,
|
3941
|
+
"type": "string"
|
3942
|
+
},
|
3943
|
+
{
|
3944
|
+
"disabled": false,
|
3945
|
+
"document": "实验性参数,联系后台使用",
|
3946
|
+
"example": "{\"internal\": \"xxx\"}",
|
3947
|
+
"member": "string",
|
3948
|
+
"name": "ExperimentalParams",
|
3949
|
+
"required": false,
|
3950
|
+
"type": "string"
|
3951
|
+
}
|
3952
|
+
],
|
3953
|
+
"type": "object"
|
3954
|
+
},
|
3955
|
+
"StartAIConversationResponse": {
|
3956
|
+
"document": "StartAIConversation返回参数结构体",
|
3957
|
+
"members": [
|
3958
|
+
{
|
3959
|
+
"disabled": false,
|
3960
|
+
"document": "用于唯一标识对话任务。",
|
3961
|
+
"example": "SV1FR+XTtvzAjRxZZ+aof1DfJF00VSBBNE0zR9W-PEpgCPBmt402BbnqMCdom79LtZO-VbLyV1nhVY1pFauWgrW12BevPvJ5Zn010nD6vj3hgfbVH0.",
|
3962
|
+
"member": "string",
|
3963
|
+
"name": "TaskId",
|
3964
|
+
"output_required": false,
|
3965
|
+
"type": "string",
|
3966
|
+
"value_allowed_null": false
|
3967
|
+
},
|
3968
|
+
{
|
3969
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3970
|
+
"member": "string",
|
3971
|
+
"name": "RequestId",
|
3972
|
+
"type": "string"
|
3973
|
+
}
|
3974
|
+
],
|
3975
|
+
"type": "object"
|
3976
|
+
},
|
3144
3977
|
"StartRecordRequest": {
|
3145
3978
|
"document": "StartRecord请求参数结构体",
|
3146
3979
|
"members": [
|
@@ -3247,6 +4080,33 @@
|
|
3247
4080
|
],
|
3248
4081
|
"usage": "out"
|
3249
4082
|
},
|
4083
|
+
"StopAIConversationRequest": {
|
4084
|
+
"document": "StopAIConversation请求参数结构体",
|
4085
|
+
"members": [
|
4086
|
+
{
|
4087
|
+
"disabled": false,
|
4088
|
+
"document": "唯一标识任务。",
|
4089
|
+
"example": "-m97l2ZU7kOlV5cTRMoU6yoGp2nDYkzbJ13EC4K-4pycoZXVv+XVrNoUXQ8++8Z2PwUlAQ..",
|
4090
|
+
"member": "string",
|
4091
|
+
"name": "TaskId",
|
4092
|
+
"required": true,
|
4093
|
+
"type": "string"
|
4094
|
+
}
|
4095
|
+
],
|
4096
|
+
"type": "object"
|
4097
|
+
},
|
4098
|
+
"StopAIConversationResponse": {
|
4099
|
+
"document": "StopAIConversation返回参数结构体",
|
4100
|
+
"members": [
|
4101
|
+
{
|
4102
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4103
|
+
"member": "string",
|
4104
|
+
"name": "RequestId",
|
4105
|
+
"type": "string"
|
4106
|
+
}
|
4107
|
+
],
|
4108
|
+
"type": "object"
|
4109
|
+
},
|
3250
4110
|
"StopRecordRequest": {
|
3251
4111
|
"document": "StopRecord请求参数结构体",
|
3252
4112
|
"members": [
|
@@ -3397,6 +4257,95 @@
|
|
3397
4257
|
],
|
3398
4258
|
"usage": "in"
|
3399
4259
|
},
|
4260
|
+
"TurnDetection": {
|
4261
|
+
"document": "断句配置",
|
4262
|
+
"members": [
|
4263
|
+
{
|
4264
|
+
"disabled": false,
|
4265
|
+
"document": "TurnDetectionMode为3时生效,语义断句的灵敏程度\n\n\n功能简介:根据用户所说的话来判断其已完成发言来分割音频\n\n\n可选: \"low\" | \"medium\" | \"high\" | \"auto\"\n\n\nauto 是默认值,与 medium 相同。\nlow 将让用户有足够的时间说话。\nhigh 将尽快对音频进行分块。\n\n\n如果您希望模型在对话模式下更频繁地响应,可以将 SemanticEagerness 设置为 high\n如果您希望在用户停顿时,AI能够等待片刻,可以将 SemanticEagerness 设置为 low\n无论什么模式,最终都会分割送个大模型进行回复\n",
|
4266
|
+
"example": "auto",
|
4267
|
+
"member": "string",
|
4268
|
+
"name": "SemanticEagerness",
|
4269
|
+
"output_required": false,
|
4270
|
+
"required": false,
|
4271
|
+
"type": "string",
|
4272
|
+
"value_allowed_null": false
|
4273
|
+
}
|
4274
|
+
],
|
4275
|
+
"usage": "both"
|
4276
|
+
},
|
4277
|
+
"UpdateAIConversationRequest": {
|
4278
|
+
"document": "UpdateAIConversation请求参数结构体",
|
4279
|
+
"members": [
|
4280
|
+
{
|
4281
|
+
"disabled": false,
|
4282
|
+
"document": "唯一标识一个任务",
|
4283
|
+
"example": "your-taskid",
|
4284
|
+
"member": "string",
|
4285
|
+
"name": "TaskId",
|
4286
|
+
"required": true,
|
4287
|
+
"type": "string"
|
4288
|
+
},
|
4289
|
+
{
|
4290
|
+
"disabled": false,
|
4291
|
+
"document": "不填写则不进行更新,机器人的欢迎语",
|
4292
|
+
"example": "你好呀",
|
4293
|
+
"member": "string",
|
4294
|
+
"name": "WelcomeMessage",
|
4295
|
+
"required": false,
|
4296
|
+
"type": "string"
|
4297
|
+
},
|
4298
|
+
{
|
4299
|
+
"disabled": false,
|
4300
|
+
"document": "不填写则不进行更新。智能打断模式,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
|
4301
|
+
"example": "0",
|
4302
|
+
"member": "uint64",
|
4303
|
+
"name": "InterruptMode",
|
4304
|
+
"required": false,
|
4305
|
+
"type": "int"
|
4306
|
+
},
|
4307
|
+
{
|
4308
|
+
"disabled": false,
|
4309
|
+
"document": "不填写则不进行更新。InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断",
|
4310
|
+
"example": "500",
|
4311
|
+
"member": "uint64",
|
4312
|
+
"name": "InterruptSpeechDuration",
|
4313
|
+
"required": false,
|
4314
|
+
"type": "int"
|
4315
|
+
},
|
4316
|
+
{
|
4317
|
+
"disabled": false,
|
4318
|
+
"document": "不填写则不进行更新,LLM配置,详情见StartAIConversation接口",
|
4319
|
+
"example": "{\\\\\\\"LLMType\\\\\\\": \\\\\\\"openai\\\\\\\", \\\\\\\"Model\\\\\\\": \\\\\\\"gpt-xxx\\\", \\\\\\\"APIKey\\\\\\\": \\\\\\\"xxxxxxxx\\\\\\\", \\\\\\\"APIUrl\\\\\\\": \\\\\\\"https://api.xxx.com/v1/chat/completions\\\\\\\", \\\\\\\"Streaming\\\\\\\": true}",
|
4320
|
+
"member": "string",
|
4321
|
+
"name": "LLMConfig",
|
4322
|
+
"required": false,
|
4323
|
+
"type": "string"
|
4324
|
+
},
|
4325
|
+
{
|
4326
|
+
"disabled": false,
|
4327
|
+
"document": "不填写则不进行更新,TTS配置,详情见StartAIConversation接口",
|
4328
|
+
"example": "{\\\\\\\"TTSType\\\\\\\": \\\\\\\"tencent\\\\\\\", \\\\\\\"AppId\\\\\\\": 136666666, \\\\\\\"SecretId\\\\\\\": \\\\\\\"xxxxxxx\\\\\\\", \\\\\\\"SecretKey\\\\\\\": \\\\\\\"xxxxxxx\\\\\\\", \\\\\\\"VoiceType\\\\\\\": 1008, \\\\\\\"Speed\\\\\\\": 1}",
|
4329
|
+
"member": "string",
|
4330
|
+
"name": "TTSConfig",
|
4331
|
+
"required": false,
|
4332
|
+
"type": "string"
|
4333
|
+
}
|
4334
|
+
],
|
4335
|
+
"type": "object"
|
4336
|
+
},
|
4337
|
+
"UpdateAIConversationResponse": {
|
4338
|
+
"document": "UpdateAIConversation返回参数结构体",
|
4339
|
+
"members": [
|
4340
|
+
{
|
4341
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4342
|
+
"member": "string",
|
4343
|
+
"name": "RequestId",
|
4344
|
+
"type": "string"
|
4345
|
+
}
|
4346
|
+
],
|
4347
|
+
"type": "object"
|
4348
|
+
},
|
3400
4349
|
"UpdateScanRoomsRequest": {
|
3401
4350
|
"document": "UpdateScanRooms请求参数结构体",
|
3402
4351
|
"members": [
|
@@ -3507,6 +4456,69 @@
|
|
3507
4456
|
],
|
3508
4457
|
"type": "object"
|
3509
4458
|
},
|
4459
|
+
"UpdateVoicePrintRequest": {
|
4460
|
+
"document": "UpdateVoicePrint请求参数结构体",
|
4461
|
+
"members": [
|
4462
|
+
{
|
4463
|
+
"disabled": false,
|
4464
|
+
"document": "声纹信息ID",
|
4465
|
+
"example": "20250529_xxxxxx",
|
4466
|
+
"member": "string",
|
4467
|
+
"name": "VoicePrintId",
|
4468
|
+
"required": true,
|
4469
|
+
"type": "string"
|
4470
|
+
},
|
4471
|
+
{
|
4472
|
+
"disabled": false,
|
4473
|
+
"document": "毫秒时间戳",
|
4474
|
+
"example": "1748249540000",
|
4475
|
+
"member": "uint64",
|
4476
|
+
"name": "ReqTimestamp",
|
4477
|
+
"required": true,
|
4478
|
+
"type": "int"
|
4479
|
+
},
|
4480
|
+
{
|
4481
|
+
"disabled": false,
|
4482
|
+
"document": "音频格式,目前只支持0,代表wav",
|
4483
|
+
"example": "0",
|
4484
|
+
"member": "uint64",
|
4485
|
+
"name": "AudioFormat",
|
4486
|
+
"required": false,
|
4487
|
+
"type": "int"
|
4488
|
+
},
|
4489
|
+
{
|
4490
|
+
"disabled": false,
|
4491
|
+
"document": "整个wav音频文件的base64字符串,其中wav文件限定为16k采样率, 16bit位深, 单声道, 8到18秒音频时长,有效音频不小于6秒(不能有太多静音段),编码数据大小不超过2M",
|
4492
|
+
"example": "f8AAAMABwAJAAsxxxx",
|
4493
|
+
"member": "string",
|
4494
|
+
"name": "Audio",
|
4495
|
+
"required": false,
|
4496
|
+
"type": "string"
|
4497
|
+
},
|
4498
|
+
{
|
4499
|
+
"disabled": false,
|
4500
|
+
"document": "和声纹绑定的MetaInfo,长度最大不超过512",
|
4501
|
+
"example": "metainfo string",
|
4502
|
+
"member": "string",
|
4503
|
+
"name": "AudioMetaInfo",
|
4504
|
+
"required": false,
|
4505
|
+
"type": "string"
|
4506
|
+
}
|
4507
|
+
],
|
4508
|
+
"type": "object"
|
4509
|
+
},
|
4510
|
+
"UpdateVoicePrintResponse": {
|
4511
|
+
"document": "UpdateVoicePrint返回参数结构体",
|
4512
|
+
"members": [
|
4513
|
+
{
|
4514
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4515
|
+
"member": "string",
|
4516
|
+
"name": "RequestId",
|
4517
|
+
"type": "string"
|
4518
|
+
}
|
4519
|
+
],
|
4520
|
+
"type": "object"
|
4521
|
+
},
|
3510
4522
|
"UserMicStatus": {
|
3511
4523
|
"document": "用户麦克风状态",
|
3512
4524
|
"members": [
|
@@ -3630,6 +4642,120 @@
|
|
3630
4642
|
}
|
3631
4643
|
],
|
3632
4644
|
"usage": "out"
|
4645
|
+
},
|
4646
|
+
"VoicePrint": {
|
4647
|
+
"document": "声纹配置参数",
|
4648
|
+
"members": [
|
4649
|
+
{
|
4650
|
+
"disabled": false,
|
4651
|
+
"document": "默认为0,表示不启用声纹。1表示启用声纹,此时需要填写voiceprint id。",
|
4652
|
+
"example": "1",
|
4653
|
+
"member": "uint64",
|
4654
|
+
"name": "Mode",
|
4655
|
+
"output_required": false,
|
4656
|
+
"required": false,
|
4657
|
+
"type": "int",
|
4658
|
+
"value_allowed_null": false
|
4659
|
+
},
|
4660
|
+
{
|
4661
|
+
"disabled": false,
|
4662
|
+
"document": "VoicePrint Mode为1时需要填写,目前仅支持填写一个声纹id",
|
4663
|
+
"example": "[\"your-voiceprint-id\"]",
|
4664
|
+
"member": "string",
|
4665
|
+
"name": "IdList",
|
4666
|
+
"output_required": false,
|
4667
|
+
"required": false,
|
4668
|
+
"type": "list",
|
4669
|
+
"value_allowed_null": false
|
4670
|
+
}
|
4671
|
+
],
|
4672
|
+
"usage": "both"
|
4673
|
+
},
|
4674
|
+
"VoicePrintInfo": {
|
4675
|
+
"document": "声纹查询数据",
|
4676
|
+
"members": [
|
4677
|
+
{
|
4678
|
+
"disabled": false,
|
4679
|
+
"document": "声纹ID",
|
4680
|
+
"example": "1300056123-fd91f128-52a6-4692-b94a-c0f9fd3c4287",
|
4681
|
+
"member": "string",
|
4682
|
+
"name": "VoicePrintId",
|
4683
|
+
"output_required": false,
|
4684
|
+
"type": "string",
|
4685
|
+
"value_allowed_null": false
|
4686
|
+
},
|
4687
|
+
{
|
4688
|
+
"disabled": false,
|
4689
|
+
"document": "应用id",
|
4690
|
+
"example": "1300056123",
|
4691
|
+
"member": "uint64",
|
4692
|
+
"name": "AppId",
|
4693
|
+
"output_required": false,
|
4694
|
+
"type": "int",
|
4695
|
+
"value_allowed_null": false
|
4696
|
+
},
|
4697
|
+
{
|
4698
|
+
"disabled": false,
|
4699
|
+
"document": "和声纹绑定的MetaInfo",
|
4700
|
+
"example": "metainfo",
|
4701
|
+
"member": "string",
|
4702
|
+
"name": "VoicePrintMetaInfo",
|
4703
|
+
"output_required": false,
|
4704
|
+
"type": "string",
|
4705
|
+
"value_allowed_null": false
|
4706
|
+
},
|
4707
|
+
{
|
4708
|
+
"disabled": false,
|
4709
|
+
"document": "创建时间",
|
4710
|
+
"example": "2025-05-21 19:23:54",
|
4711
|
+
"member": "string",
|
4712
|
+
"name": "CreateTime",
|
4713
|
+
"output_required": false,
|
4714
|
+
"type": "string",
|
4715
|
+
"value_allowed_null": false
|
4716
|
+
},
|
4717
|
+
{
|
4718
|
+
"disabled": false,
|
4719
|
+
"document": "更新时间",
|
4720
|
+
"example": "2025-05-21 19:23:54",
|
4721
|
+
"member": "string",
|
4722
|
+
"name": "UpdateTime",
|
4723
|
+
"output_required": false,
|
4724
|
+
"type": "string",
|
4725
|
+
"value_allowed_null": false
|
4726
|
+
},
|
4727
|
+
{
|
4728
|
+
"disabled": false,
|
4729
|
+
"document": "音频格式,当前只有0(代表wav)",
|
4730
|
+
"example": "0",
|
4731
|
+
"member": "uint64",
|
4732
|
+
"name": "AudioFormat",
|
4733
|
+
"output_required": false,
|
4734
|
+
"type": "int",
|
4735
|
+
"value_allowed_null": false
|
4736
|
+
},
|
4737
|
+
{
|
4738
|
+
"disabled": false,
|
4739
|
+
"document": "音频名称",
|
4740
|
+
"example": "jackson",
|
4741
|
+
"member": "string",
|
4742
|
+
"name": "AudioName",
|
4743
|
+
"output_required": false,
|
4744
|
+
"type": "string",
|
4745
|
+
"value_allowed_null": false
|
4746
|
+
},
|
4747
|
+
{
|
4748
|
+
"disabled": false,
|
4749
|
+
"document": "请求毫秒时间戳",
|
4750
|
+
"example": "1748249540000",
|
4751
|
+
"member": "uint64",
|
4752
|
+
"name": "ReqTimestamp",
|
4753
|
+
"output_required": false,
|
4754
|
+
"type": "int",
|
4755
|
+
"value_allowed_null": false
|
4756
|
+
}
|
4757
|
+
],
|
4758
|
+
"usage": "out"
|
3633
4759
|
}
|
3634
4760
|
},
|
3635
4761
|
"version": "1.0"
|