Add user message
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
− | '''add user message''' | + | The '''add user message''' command is used to add a user message into the conversation for a given agent. After the message is added, the agent can respond accordingly. |
− | + | ||
− | + | ||
== Parameters == | == Parameters == | ||
− | '''User Message:''' This is | + | '''User Message:''' This is the user's message that you want to add to the conversation. |
− | '''Agent Name:''' This | + | '''Agent Name:''' This refers to the name of the agent where the user's message will be added. The default agent is ChatGPT. |
− | == | + | == Usage == |
<pre> | <pre> | ||
Line 15: | Line 13: | ||
</pre> | </pre> | ||
− | + | In this example, the user message "Hello, how are you?" is added to the agent named "ChatGPT". The agent can then respond to this message as specified in its algorithm. |
Revision as of 16:17, 30 June 2023
The add user message command is used to add a user message into the conversation for a given agent. After the message is added, the agent can respond accordingly.
Parameters
User Message: This is the user's message that you want to add to the conversation.
Agent Name: This refers to the name of the agent where the user's message will be added. The default agent is ChatGPT.
Usage
add user message("Hello, how are you?", "ChatGPT")
In this example, the user message "Hello, how are you?" is added to the agent named "ChatGPT". The agent can then respond to this message as specified in its algorithm.