tencentcloud-sdk-nodejs-trtc 4.1.306 → 4.1.310
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
|
@@ -963,6 +963,15 @@ export interface ControlAIConversationResponse {
|
|
|
963
963
|
*/
|
|
964
964
|
RequestId?: string;
|
|
965
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* ai对话需要透传给客户端的数据
|
|
968
|
+
*/
|
|
969
|
+
export interface TransparentData {
|
|
970
|
+
/**
|
|
971
|
+
* <p>透传给客户端的信息</p>
|
|
972
|
+
*/
|
|
973
|
+
Data: string;
|
|
974
|
+
}
|
|
966
975
|
/**
|
|
967
976
|
* StopAIConversation请求参数结构体
|
|
968
977
|
*/
|
|
@@ -4797,21 +4806,25 @@ export interface DescribeScaleInfoRequest {
|
|
|
4797
4806
|
*/
|
|
4798
4807
|
export interface ControlAIConversationRequest {
|
|
4799
4808
|
/**
|
|
4800
|
-
*
|
|
4809
|
+
* <p>任务唯一标识</p>
|
|
4801
4810
|
*/
|
|
4802
4811
|
TaskId: string;
|
|
4803
4812
|
/**
|
|
4804
|
-
*
|
|
4813
|
+
* <p>控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话。- TransparentData,透传信息给客户端。</p>
|
|
4805
4814
|
*/
|
|
4806
4815
|
Command: string;
|
|
4807
4816
|
/**
|
|
4808
|
-
*
|
|
4817
|
+
* <p>服务端发送播报文本命令,当Command为ServerPushText时必填</p>
|
|
4809
4818
|
*/
|
|
4810
4819
|
ServerPushText?: ServerPushText;
|
|
4811
4820
|
/**
|
|
4812
|
-
*
|
|
4821
|
+
* <p>服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"</p>
|
|
4813
4822
|
*/
|
|
4814
4823
|
InvokeLLM?: InvokeLLM;
|
|
4824
|
+
/**
|
|
4825
|
+
* <p>ai对话需要透传给客户端的信息</p>
|
|
4826
|
+
*/
|
|
4827
|
+
TransparentData?: TransparentData;
|
|
4815
4828
|
}
|
|
4816
4829
|
/**
|
|
4817
4830
|
* DismissRoomByStrRoomId返回参数结构体
|