Add bot message

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "'''add_bot_message''' adds a bot message to the conversation for a given agent. The command helps in creating a conversation with bot agents by adding messages on behalf of t...")
 
Line 1: Line 1:
'''add_bot_message''' adds a bot message to the conversation for a given agent.
+
'''add bot message''' adds a bot message to the conversation for a given agent.
  
 
The command helps in creating a conversation with bot agents by adding messages on behalf of the bot. This can be useful in simulating responses or interactions with the bot.
 
The command helps in creating a conversation with bot agents by adding messages on behalf of the bot. This can be useful in simulating responses or interactions with the bot.
Line 12: Line 12:
  
 
<pre>
 
<pre>
add_bot_message("Hello! How can I assist you today?", "ChatGPT")
+
add bot message("Hello! How can I assist you today?", "ChatGPT")
 
</pre>
 
</pre>
  
 
This script adds the message "Hello! How can I assist you today?" to the conversation for the "ChatGPT" agent.
 
This script adds the message "Hello! How can I assist you today?" to the conversation for the "ChatGPT" agent.

Revision as of 16:08, 30 June 2023

add bot message adds a bot message to the conversation for a given agent.

The command helps in creating a conversation with bot agents by adding messages on behalf of the bot. This can be useful in simulating responses or interactions with the bot.

Parameters

Message: The message that the bot will add to the conversation. Input should be a string.

Agent Name: (Optional) The name of the agent. Default is "ChatGPT". This parameter defines for which agent the message will be added.

Example

add bot message("Hello! How can I assist you today?", "ChatGPT")

This script adds the message "Hello! How can I assist you today?" to the conversation for the "ChatGPT" agent.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox