tencentcloud-sdk-nodejs-trtc 4.1.84 → 4.1.91

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.84",
3
+ "version": "4.1.91",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -4021,15 +4021,17 @@ export interface ControlAIConversationRequest {
4021
4021
  */
4022
4022
  TaskId: string;
4023
4023
  /**
4024
- * 控制命令,目前支持命令如下:
4025
-
4026
- - ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
4024
+ * 控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话
4027
4025
  */
4028
4026
  Command: string;
4029
4027
  /**
4030
4028
  * 服务端发送播报文本命令,当Command为ServerPushText时必填
4031
4029
  */
4032
4030
  ServerPushText?: ServerPushText;
4031
+ /**
4032
+ * 服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"
4033
+ */
4034
+ InvokeLLM?: InvokeLLM;
4033
4035
  }
4034
4036
  /**
4035
4037
  * DismissRoomByStrRoomId返回参数结构体
@@ -4327,6 +4329,19 @@ export interface UpdatePublishCdnStreamRequest {
4327
4329
  */
4328
4330
  FeedBackRoomParams?: Array<McuFeedBackRoomParams>;
4329
4331
  }
4332
+ /**
4333
+ * 调用服务端主动发起请求到LLM
4334
+ */
4335
+ export interface InvokeLLM {
4336
+ /**
4337
+ * 请求LLM的内容
4338
+ */
4339
+ Content?: string;
4340
+ /**
4341
+ * 是否允许该文本打断机器人说话
4342
+ */
4343
+ Interrupt?: boolean;
4344
+ }
4330
4345
  /**
4331
4346
  * 切片存储参数
4332
4347
  */