Add bot message
From UBot Studio
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.