Create chat gpt agent
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
− | '''create new | + | The '''create new gpt agent''' command is used to create a new GPT agent with a given name and context, and based on a specific model. |
− | + | ||
− | + | ||
== Parameters == | == Parameters == | ||
− | '''Agent Name:''' | + | '''Agent Name:''' This refers to the name you want to assign to the new agent. The default agent name is ChatGPT. |
− | '''Context:''' | + | '''Context:''' This sets the context for the Agent. By default, it is set to "You are a helpful assistant". |
− | '''Model:''' | + | '''Model:''' This refers to the OpenAI GPT model used by the agent. The available options are 'gpt-3.5-turbo' and 'gpt-4'. The default model is 'gpt-3.5-turbo'. |
− | == | + | == Usage == |
<pre> | <pre> | ||
− | create new | + | create new gpt agent("MyAgent", "You are a helpful assistant.", "gpt-3.5-turbo") |
</pre> | </pre> | ||
− | + | In this example, a new agent named "MyAgent" is created with the context "You are a helpful assistant." and model "gpt-3.5-turbo". This agent can now be used to generate text responses based on the specified model. |
Revision as of 16:17, 30 June 2023
The create new gpt agent command is used to create a new GPT agent with a given name and context, and based on a specific model.
Parameters
Agent Name: This refers to the name you want to assign to the new agent. The default agent name is ChatGPT.
Context: This sets the context for the Agent. By default, it is set to "You are a helpful assistant".
Model: This refers to the OpenAI GPT model used by the agent. The available options are 'gpt-3.5-turbo' and 'gpt-4'. The default model is 'gpt-3.5-turbo'.
Usage
create new gpt agent("MyAgent", "You are a helpful assistant.", "gpt-3.5-turbo")
In this example, a new agent named "MyAgent" is created with the context "You are a helpful assistant." and model "gpt-3.5-turbo". This agent can now be used to generate text responses based on the specified model.