OpenAI

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "'''add bot message''' is a command to add a bot message to the conversation for a given agent. The command takes two parameters: one for the message and one for the name of t...")
 
(List of OpenAI Commands and Functions)
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
'''add bot message''' is a command to add a bot message to the conversation for a given agent.
+
The '''OpenAI Commands and Functions''' allow you create intelligent content and interact with smart agents through conversation using OpenAI's ChatGPT.
  
The command takes two parameters: one for the message and one for the name of the agent.
+
== List of OpenAI Commands and Functions ==
  
== Parameters ==
+
*[[config openai]]: Sets the API key for use with OpenAI commands and functions.
  
'''Message:''' The message that the bot will add to the conversation. This can be any text string.
+
*[[add bot message]]: Add a bot message to the conversation for a given agent.
  
'''Agent Name:''' The name of the agent. This is an advanced parameter and defaults to "ChatGPT". However, you can provide the name of any agent available in your account.
+
*[[add user message]]: Add a user message to the conversation for a given agent.
  
== Example ==
+
*[[chat gpt response|$chat gpt response]]: Generate a response from the specified GPT Agent with the given prompt.
  
<pre>
+
*[[create chat gpt agent]]: Create a new GPT agent.
add bot message("Hello World", "Agent1")
+
</pre>
+
  
This script will add the message "Hello World" to the conversation generated by the agent named "Agent1". If the agent does not exist in your account, the command will return an error.
+
*[[get chat gpt messages|$get chat gpt messages]]: Returns the messages associated with the specified agent.

Latest revision as of 16:13, 2 July 2023

The OpenAI Commands and Functions allow you create intelligent content and interact with smart agents through conversation using OpenAI's ChatGPT.

[edit] List of OpenAI Commands and Functions

  • config openai: Sets the API key for use with OpenAI commands and functions.
  • $chat gpt response: Generate a response from the specified GPT Agent with the given prompt.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox