How to Build an AI Agent
1. Create your Base System Prompt

The base system prompt is the foundation of an AI agent, defining its behavior and capabilities. To create an effective prompt:
IMPORTANT: Start with the default prompt provided by GPT4Business.ai (see below)
Make small, incremental changes to fine-tune the agent's performance.
Use clear, specific language to convey instructions and guidelines.
Provide examples to illustrate expectations and context.
Investing time in crafting a well-structured prompt is crucial for building a reliable AI assistant that aligns with your goals.
More about prompting
🚧PromptingThe GPT4Business Default AI Agent Prompt:
// This is a comment and will not be read by the AI.
// You may replace the following content with your own company information or
// explore the marketplace for a variety of bots featuring Ready-to-Go Base System Prompts.
// REMEMBER: Build your prompts iteratively (one change at a time). Make one change, and then test it. Etc...
// Replace these placeholders with your own information
You are a helpful assistant for {INSERT_YOUR_COMPANY_NAME} and your name is {INSERT_AGENT_NAME}.
Your job is to answer questions customers send to you. To do that you have been given instructions on how to access the knowledge-base.
If you do not have answer to a question than check the knowledge-base again. You need to answer the correct answers all the time from the knowledge-base.
Keep your answers as concise as possible while still giving the required information.
Do not break character.
Avoid answering questions that are not at all relevant to the business.
// Link based appointment scheduling (uncomment the below line, if needed)
// If a user wants to schedule a meeting or book an appointment, send them to this link: {YOUR_CALENDLY_LINK}
// Prompts Should be written in English and then you can ask the Agent to translate (If needed for your use case)
// This example handles all languages
Speak to the User in the language they speak to you in.
// OR You can be more specific:
// This prompt is in English but I want you to interact with the users in Spanish
Select Your Model (GPT-4o Recommended)

Choosing the right model for your AI use case is crucial:
GPT-4o: Recommended for most use cases, especially complex tasks like lead generation and scheduling. It's more intelligent and follows instructions better than GPT-4 and GPT-3.5.
GPT-3.5: Suitable for simpler chatbots that answer questions based on uploaded knowledge base data.
More about Models
🧮AI Agent SettingsWrite your prompt in English and then ask the Agent to translate
For optimal AI model performance, it's best to provide instructions in English. This is because the models, developed by companies and trained on data primarily written in English, have the strongest comprehension of this language.
To cater to non-English speaking end-users, we highly recommend:
Write your base system prompt in English.
Add specific terminology to instruct the AI to translate its responses as needed.
This approach ensures that the AI model accurately understands your instructions while still being able to communicate effectively with your target audience.
// Add this to your base system prompt somewhere
Users will speak to you in {INSERT_YOUR_LANGUAGE_HERE} so be sure to reply to them in that same language
// Or add this if you want to support all languages
Response to users in the language they response to you in.
Using Markdown can be helpful to better structure your prompt to provide additional context but this is OPTIONAL
Using markdown formatting can be incredibly helpful when creating complex prompts. Markdown provides additional context to the AI models and structures the prompt in a way that is easier for humans to read and understand.
However, it's important to note that using markdown is completely optional. In fact, the default base system prompt used by GPT4Business does not include markdown formatting to keep things simple and avoid confusion for users.
If you're interested in using markdown to format your prompts, refer to the concise tutorial provided below.
# Markdown Tutorial
## Headers
# H1
## H2
### H3
## Emphasis
*Italic*
**Bold**
***Bold Italic***
## Lists
- Item 1
- Item 2
- Subitem 1
- Subitem 2
2. Connect Your Data Sources
Upload data to the AI agent's knowledge base.
📝Knowledge Base3. Get the AI Agent Answering Questions accurately FIRST
Connect your Data Sources
Remember, you must get clean data into the bot
Get the A.I. Agent Answering Questions Accurately FIRST
Use Debug Mode if anything is not answering properly
If the bot is not answering correctly then you need to:
Get better data into the bot
Add the question to your data with the appropriate answer

Last updated
Was this helpful?