Add user message

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "'''add user message''' is a command used to add a user message to the conversation for a given agent. This command allows you to simulate a user messaging an agent by provid...")
 
Line 1: Line 1:
'''add user message''' is a command used to add a user message to the conversation for a given agent.  
+
'''add user message''' adds a user message to the conversation for a specific agent.  
  
This command allows you to simulate a user messaging an agent by providing some text as input for the agent to respond to.
+
This command is used to supply another message from the user side in a conversation with a designated agent, often in the context of a chatbot.
  
 
== Parameters ==
 
== Parameters ==
  
'''User Message:''' The message from the user that you want to add to the conversation.  
+
'''User Message:''' This is the message from the user that you want to add to the conversation.
  
'''Agent Name (Optional):''' The name of the agent. By default, this is set to ChatGPT.
+
'''Agent Name:''' This parameter identifies the target agent of the conversation. The default value is "ChatGPT".
  
 
== Example ==
 
== Example ==
  
 
<pre>
 
<pre>
add user message("Hello, how can I help?", "Customer Support Agent")
+
add user message("Hello, how are you?", "ChatGPT")
 
</pre>
 
</pre>
  
In this example, a new user message "Hello, how can I help?" is added into the conversation by the "Customer Support Agent".
+
This command adds the message "Hello, how are you?" to the conversation with the agent "ChatGPT".

Revision as of 16:14, 30 June 2023

add user message adds a user message to the conversation for a specific agent.

This command is used to supply another message from the user side in a conversation with a designated agent, often in the context of a chatbot.

Parameters

User Message: This is the message from the user that you want to add to the conversation.

Agent Name: This parameter identifies the target agent of the conversation. The default value is "ChatGPT".

Example

add user message("Hello, how are you?", "ChatGPT")

This command adds the message "Hello, how are you?" to the conversation with the agent "ChatGPT".

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox