public class ControlAIConversationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ControlAIConversationRequest() |
ControlAIConversationRequest(ControlAIConversationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Get 控制命令,目前支持命令如下:
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
Long |
getSdkAppId()
Get 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
ServerPushText |
getServerPushText()
Get 服务端发送播报文本命令,当Command为ServerPushText时必填
|
String |
getSessionId()
Get 会话 ID
|
void |
setCommand(String Command)
Set 控制命令,目前支持命令如下:
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
void |
setSdkAppId(Long SdkAppId)
Set 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
void |
setServerPushText(ServerPushText ServerPushText)
Set 服务端发送播报文本命令,当Command为ServerPushText时必填
|
void |
setSessionId(String SessionId)
Set 会话 ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ControlAIConversationRequest()
public ControlAIConversationRequest(ControlAIConversationRequest source)
public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- 会话 IDpublic Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- 应用 ID(必填),可以查看 https://console.cloud.tencent.com/cccpublic String getCommand()
public void setCommand(String Command)
Command
- 控制命令,目前支持命令如下:
- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本public ServerPushText getServerPushText()
public void setServerPushText(ServerPushText ServerPushText)
ServerPushText
- 服务端发送播报文本命令,当Command为ServerPushText时必填Copyright © 2025. All rights reserved.