Agent Quick Start
A step-by-step guide on how to chat to your docs
Last updated
A step-by-step guide on how to chat to your docs
Last updated
In this guide, we'll show how you can quickly create an Agent to talk about our very own AirOps docs using a Knowledge Base.
What's a chatbot without unique knowledge? To get started let's create a simple Knowledge Base populated with some of our documentation pages:
Click Your Data on the left hand tab
Click Create Knowledge Base
Name your Knowledge Base
Click Add Data
Add desired docs to the Knowledge Base
Upload a .pdf, .csv, .txt
Sync to a Google Doc or Google Sheet
Sync a SQL Database
Import from URL (we'll use this option)
Import Sitemap
Your content will now be added to a Knowledge Base. After a few minutes, we'll be ready to build our agent using this Knowledge Base.
Next, we'll set up the agent by navigating to "Templates" on the left-hand tab and selecting "Blank Agent." We'll have to customize the parameters of our Agent to make sure it provides results in the exact format we want:
Select a Knowledge Base: select the name of your knowledge base from the dropdown, let's use the one we just created.
Max Results: choose the number of Knowledge Base results to return. We recommend 5.
Description: tell the AI how to use the Memory Search step. For example:
Filter: use the Metadata present in your uploaded sources to narrow down the search results.
Now that we've defined the input parameters for our Agent, we'll focus on customizing the Agent itself.
Select the AI Model
As of February 2024, we recommend using GPT-4 Turbo for Agents
For more detail on the differences between the models, check out our Choosing a Model doc page.
System
The System Prompt defines the AI's persona, objective, specific tasks or rules. What is it's role? What should it's tone of voice be? What should it refuse to answer?
Modify the existing prompt for your needs. As an example, replace AirOps
with your company name in the following prompt:
Click Test All to ask your agent a question about your docs
Tweak the System prompt, add a User prompt, or add a User-Assistant pair
Save Draft and give your Agent a name
Once you're satisfied with the output, Publish Agent
And that's it! You now have a fully functional chat Agent that will save you the time of looking through our documentation for specific answers.
We encourage you to test out different use-cases for your Agents, and please don't hesitate to reach out to us with any questions as you dive deeper into AirOps.