<< Click to Display Table of Contents >> AI Agents from scratch |
Creating an AI Agent from scratch in Bizagi Studio provides full control over the configuration, allowing you to design Agents that meet specific business needs. This method gives you the freedom to craft detailed prompts, define custom variables, and choose the appropriate AI model (GPT-4o or GPT-3.5) for your tasks.
This approach is ideal when existing Templates do not meet your requirements, offering complete flexibility to create highly tailored AI solutions.
Prerequisites
You must create or select a Category before creating an AI Agent within it.
To create an AI Agent from scratch, follow the next steps:
1.Navigate to Bizagi Studio's Expert view. From there, access the AI Hub option to view the node structure of AI Agents.
2.Right-click the Category node and select New AI Agent. Alternatively, use the corresponding button in the top ribbon.
This opens the New AI Agent from Template window. In the left sidebar, click the Create button under the New Blank AI Agent label.
The New AI Agent window opens for you to configure your AI Agent.
3.For each AI Agent, you need to provide the following details:
•Name: Choose a name for the AI Agent, which will be displayed under the selected Category node.
•Description: Briefly summarize the purpose or capabilities of your AI Agent.
•Prompt: This is a crucial setup where you define the instructions for your AI Agent. A Prompt is a natural language instruction given to an AI Agent to perform a specific task. When building a Prompt, your creativity plays a major role. AI Agents are powerful tools, but the effectiveness of their responses relies heavily on your subject matter expertise and how you craft your Prompts.
Here are some tips for creating an effective Prompt for your AI Agent:
oBe specific: Clearly state your request. The AI Agent cannot infer or interpret your meaning beyond what is provided in the Prompt, so longer and more detailed Prompts generally result in greater clarity. The more precise you are, the better the model can understand and provide a relevant response. For example, instead of saying "Summarize this document," you could say, "Summarize this document in three bullet points highlighting the key findings."
oDefine roles: Specify who the AI Agent is acting as. This helps set the tone and style of the response. For example, you might instruct the AI Agent to act as a Customer Service Representative, a Technical Support Specialist, or a Marketing Expert. This ensures the response aligns with the expected role and expertise.
oSet the scene: Describe the situation the AI Agent is in. Providing situational context helps the AI Agent tailor its responses to the specific circumstances. For example, "You are assisting a customer who is frustrated with a delayed order," or "You are explaining a complex technical issue to a non-technical audience."
oProvide background: Context is of utmost importance. AI Agents are context-aware, meaning they can understand and utilize background information to generate more accurate and relevant responses. Providing detailed context helps the AI Agent grasp the nuances of the topic, the specific environment, or the circumstances surrounding the task. This can include historical data, current situations, or specific details relevant to the task at hand. The richer the context, the better the AI Agent can tailor its response to meet your needs. For instance, "Given the recent changes in company policy regarding remote work..."
oSpecify format: Tailor the AI Agent's response to use a specific format. This can include technical language, specific words, characters, numbers, or responding in a particular language. For example, you might request, "Provide the response in technical jargon suitable for engineers," or "Translate this summary into Spanish," or "Respond with a list of key points using bullet points."
oDefine the task: Clearly state the task you are asking the AI Agent to complete. Whether you need the AI Agent to summarize, categorize, prioritize, translate, or perform another specific task, clarity is key. For example, "Categorize the following customer feedback into positive, negative, and neutral comments," or "Prioritize these support tickets based on urgency."
Your Prompt may also contain variables or instructions to guide the response generation effectively. Including additional details, examples, or constraints can further tailor the output to meet your specific needs. For example, "Provide examples where applicable," or "Limit the response to 200 words." The more guidance you provide, the more accurate and useful the AI Agent's responses will be.
•Prompt Assistant: If you are unsure how to construct a Prompt, you can use this button to let Bizagi generate a suitable Prompt based on the AI Agent's name and description. The Prompt Assistant identifies variables and creates them automatically if needed.
•Test Prompt: After configuring the Prompt, you can validate it by clicking this button. It opens a window where you can input the required information for Variables within the Prompt and test it. You will see the AI Agent's response in the Result box.
•Model: Select the model version to power your AI agent. You can choose between GPT-4o and GPT-3.5.
•GPT-4o is a more advanced model, offering higher accuracy, better context handling, and improved reasoning for complex tasks. GPT-3.5, while faster and suitable for simpler tasks, is less effective in detailed or nuanced scenarios. If you are creating a new AI Agent, we recommend using GPT-4o. •There are no cost differences between GPT-4o and GPT-3.5. •To use files as inputs for your AI Agent, you must use the GPT-4o model. |
•Input files: You can upload files to AI Agents, enabling Bizagi's AI to quickly provide insights and solutions based on the content. For more information, see AI Agents using files as inputs.
•Created Variables: This section displays the Variables specified in the Prompt along with their names and data types. Variables serve as placeholders that enhance customization and adaptability in response generation. To add a variable, select the relevant text in the Prompt, then double-click or right-click to define its name and data type. Supported data types include Boolean, Date, Number, and String. Click the Create button to finalize the Variable creation process.
Keep in mind the message at the bottom of the window: AI suggestions might be inaccurate. Verify important information for accuracy.
As you are engaging with artificial intelligence, it is your responsibility to verify that both the information set for your AI Agent and the output generated during Prompt testing remain consistent and suitable. |
4.After completing the configuration and testing of your AI Agent, click the Create button to finalize the creation process. Your AI Agent is listed under the Category node, ready for both usage and modification.
Last Updated 11/25/2024 4:27:51 PM