Class: TencentCloud::Ccc::V20200210::ControlAIConversationRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::ControlAIConversationRequest
- Defined in:
- lib/v20200210/models.rb
Overview
ControlAIConversation请求参数结构体
Instance Attribute Summary collapse
-
#Command ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本 - InvokeLLM,服务端发送文本给大模型,触发对话.
-
-
#InvokeLLM ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本 - InvokeLLM,服务端发送文本给大模型,触发对话.
-
-
#SdkAppId ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本 - InvokeLLM,服务端发送文本给大模型,触发对话.
-
-
#ServerPushText ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本 - InvokeLLM,服务端发送文本给大模型,触发对话.
-
-
#SessionId ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本 - InvokeLLM,服务端发送文本给大模型,触发对话.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sessionid = nil, sdkappid = nil, command = nil, serverpushtext = nil, invokellm = nil) ⇒ ControlAIConversationRequest
constructor
A new instance of ControlAIConversationRequest.
Constructor Details
#initialize(sessionid = nil, sdkappid = nil, command = nil, serverpushtext = nil, invokellm = nil) ⇒ ControlAIConversationRequest
Returns a new instance of ControlAIConversationRequest.
1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/v20200210/models.rb', line 1045 def initialize(sessionid=nil, sdkappid=nil, command=nil, serverpushtext=nil, invokellm=nil) @SessionId = sessionid @SdkAppId = sdkappid @Command = command @ServerPushText = serverpushtext @InvokeLLM = invokellm end |
Instance Attribute Details
#Command ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
-
InvokeLLM,服务端发送文本给大模型,触发对话
1043 1044 1045 |
# File 'lib/v20200210/models.rb', line 1043 def Command @Command end |
#InvokeLLM ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
-
InvokeLLM,服务端发送文本给大模型,触发对话
1043 1044 1045 |
# File 'lib/v20200210/models.rb', line 1043 def InvokeLLM @InvokeLLM end |
#SdkAppId ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
-
InvokeLLM,服务端发送文本给大模型,触发对话
1043 1044 1045 |
# File 'lib/v20200210/models.rb', line 1043 def SdkAppId @SdkAppId end |
#ServerPushText ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
-
InvokeLLM,服务端发送文本给大模型,触发对话
1043 1044 1045 |
# File 'lib/v20200210/models.rb', line 1043 def ServerPushText @ServerPushText end |
#SessionId ⇒ Object
-
ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
-
InvokeLLM,服务端发送文本给大模型,触发对话
1043 1044 1045 |
# File 'lib/v20200210/models.rb', line 1043 def SessionId @SessionId end |
Instance Method Details
#deserialize(params) ⇒ Object
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'lib/v20200210/models.rb', line 1053 def deserialize(params) @SessionId = params['SessionId'] @SdkAppId = params['SdkAppId'] @Command = params['Command'] unless params['ServerPushText'].nil? @ServerPushText = ServerPushText.new @ServerPushText.deserialize(params['ServerPushText']) end unless params['InvokeLLM'].nil? @InvokeLLM = InvokeLLM.new @InvokeLLM.deserialize(params['InvokeLLM']) end end |