Add bot message

From UBot Studio
Revision as of 16:06, 30 June 2023 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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