Add user message
From UBot Studio
(Difference between revisions)
(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''' | + | '''add user message''' adds a user message to the conversation for a specific agent. |
− | This command | + | 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:''' | + | '''User Message:''' This is the message from the user that you want to add to the conversation. |
− | '''Agent Name | + | '''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 | + | add user message("Hello, how are you?", "ChatGPT") |
</pre> | </pre> | ||
− | + | 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".