tencentcloud-sdk-nodejs-trtc 4.1.159 → 4.1.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-trtc",
3
- "version": "4.1.159",
3
+ "version": "4.1.165",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -2251,6 +2251,10 @@ export interface AudioFormat {
2251
2251
  - 24000
2252
2252
  */
2253
2253
  SampleRate?: number;
2254
+ /**
2255
+ * MP3 比特率 (kbps),仅对 MP3 格式生效, 可以选: `64`, `128`, `192`, `256` , 默认: `128`
2256
+ */
2257
+ Bitrate?: number;
2254
2258
  }
2255
2259
  /**
2256
2260
  * 混流布局参数。
@@ -3474,17 +3478,10 @@ export interface RecognizeConfig {
3474
3478
 
3475
3479
  **基础语言引擎**:
3476
3480
  - "zh": 中文(简体)
3477
- - "zh-TW": 中文(繁体)
3478
- - "en": 英语
3479
- - "16k_zh_edu":中文教育
3480
- - "16k_zh_medical":中文医疗
3481
- - "16k_zh_court":中文法庭
3482
3481
 
3483
3482
  **标准语言引擎:**
3484
3483
  - "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
3485
3484
  - "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
3486
- - "16k_multi_lang": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).
3487
- - "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
3488
3485
 
3489
3486
  **高级语言引擎:**
3490
3487
  - "zh-dialect": 中国方言
@@ -3621,13 +3618,11 @@ export interface StartAIConversationRequest {
3621
3618
  */
3622
3619
  STTConfig?: STTConfig;
3623
3620
  /**
3624
- * LLM配置。需符合openai规范,为JSON字符串,示例如下:
3625
- <pre> { <br> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
3626
-
3621
+ * 必填参数,LLM配置。需符合openai规范,为JSON字符串,示例如下:<pre> { <br> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
3627
3622
  */
3628
3623
  LLMConfig?: string;
3629
3624
  /**
3630
- * TTS配置,为JSON字符串,腾讯云TTS示例如下: <pre>{ <br> &emsp; "AppId": 您的应用ID, // Integer 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SecretId": "您的密钥ID", // String 必填<br> &emsp; "SecretKey": "您的密钥Key", // String 必填<br> &emsp; "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br> &emsp; "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等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "EmotionCategory": "angry", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br> &emsp; "EmotionIntensity": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br> &emsp; }</pre>
3625
+ * 必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS的配置如下:```{ "TTSType": "flow", // 【必填】固定为此值 "VoiceId": "v-female-R2s4N9qJ", // 【必填】精品音色 ID /克隆音色 ID, 可选择不同音色, ID 库参考下方音色列表 "Model": "flow_01_turbo", // 【必填】当前默认的 TTS 模型版本(对应 Flash 版本) "Speed": 1.0, //【可选】调节语速 范围 [0.5-2.0],默认 1.0; 取值越大,语速越快 "Volume": 1.0, // 【可选】调节音量 [0, 10] 默认值 1.0; 取值越大,音量越高 "Pitch": 0, // 【可选】调节语调 [-12,12],默认值为 0,其中 0 为原音色输出。 "Language": "zh" //【可选】建议填写,目前支持填写中文:zh 英文:en 粤语方言:yue; 参数参考:(ISO 639-1) }```
3631
3626
  */
3632
3627
  TTSConfig?: string;
3633
3628
  /**
@@ -3758,6 +3753,10 @@ export interface RowValues {
3758
3753
  注意:此字段可能返回 null,表示取不到有效值。
3759
3754
  */
3760
3755
  RowValue?: Array<number | bigint>;
3756
+ /**
3757
+ * 数据值
3758
+ */
3759
+ RowValueFloat?: Array<number>;
3761
3760
  }
3762
3761
  /**
3763
3762
  * 腾讯云对象存储COS以及第三方云存储的账号信息
@@ -4451,6 +4450,10 @@ export interface DescribeTRTCMarketQualityDataRequest {
4451
4450
  h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数据。
4452
4451
  */
4453
4452
  Period: string;
4453
+ /**
4454
+ * 返回数据是否为小数
4455
+ */
4456
+ IsFloat?: boolean;
4454
4457
  }
4455
4458
  /**
4456
4459
  * UpdatePublishCdnStream请求参数结构体