Knowledge base
Teach your agent about your business with documents, FAQ entries and pages from your website.
A knowledge base is a collection of your own information: price lists, opening times, policies, product guides, FAQs. During a call, your agent looks up what the caller asks in it before answering, so it quotes your real information instead of guessing.
For example, if a caller asks "Do you do teeth whitening, and how much is it?", the agent finds the right line in your price list and answers with the right price.
Before you start: add a Google AI key
Your sources are turned into searchable passages with Google's free search model, using your own Google AI key. Add it under Settings → API keys first. See API keys for how to get a free key.
Without a key, new sources stop with the message "Add an API key for this knowledge base's search model under API keys, then try again."
Create a knowledge base
- Open Knowledge.
- Select Create a knowledge base, or New knowledge base if you already have one.
- Give it a name, like "Price list and policies", and select Create.
Add sources
Each knowledge base has three ways to add information.
- Upload file: drop a file onto the box, or select browse. PDF, Word (.docx), plain text and Markdown files up to 10 MB work.
- Web page: paste the address of a public page, for example
https://example.com/help/returns, and select Add page. We read the page's main text once. If the page changes later, add it again. - FAQ entry: type a question and its answer, then select Add entry.
Follow the progress
Each source shows its status:
| Status | What it means |
|---|---|
| Waiting | The source is in line to be processed. |
| Processing | We're reading it ("Reading…") and then preparing its passages for search ("12 of 40 passages"). |
| Ready | Done. The Passages column shows how many searchable pieces it was split into. |
| Failed | Something went wrong. The reason is shown under the source's name. |
The page updates by itself while sources are processing. Most sources are ready within a minute.
Use a knowledge base in calls
- Open Agents and select the agent.
- Open the Knowledge tab and choose the knowledge base.
- Select Save agent.
From now on, every time the caller says something, the agent looks for matching passages in that knowledge base and answers from them. The Knowledge page shows which knowledge bases are in use ("Used by 1 agent").
What to expect:
- Only your sources count. For questions about your business, the agent answers only from what it finds. It won't make up prices, policies or opening times.
- When nothing matches, it says so. If the answer isn't in your knowledge base, the agent tells the caller it doesn't have that information and offers another way to help, such as taking a message. If that happens often, add the missing information as a source or an FAQ entry.
- Only ready sources are used. Sources that are still processing, or failed, aren't searched yet.
- It's quick. The search starts while the caller is still finishing their sentence, so in most turns the answer doesn't take longer.
Try it with a test call: ask something from one of your sources, then something that isn't in any of them.
Test what your agent will find
Before you rely on a source, check what your agent gets when a caller asks about it. Every knowledge base with sources has a Test search box under its list of sources.
- Type a question the way a caller would say it, for example "Can I return something after a month?"
- Select Search.
You see the passages your agent would be given, which source each one comes from, and how close a match it is ("81% match"). If you see Nothing matched, your agent would tell the caller it doesn't have that information. Add the missing details as a source or an FAQ entry, then search again.
Keyword match means the question was matched by its words only, not by its meaning. This happens when the API key for the search model is missing, or when the search model doesn't answer in time. Calls behave the same way in that case.
Only sources marked Ready are searched.
See which sources answered calls
When your agent answers from your knowledge base, the call remembers which sources it was given:
- During a test call, the live transcript shows the sources under the agent's answer when it finishes speaking.
- In call history, open a call to see the sources under each answer, and a Knowledge used list next to the transcript. Select a source to jump to it on the Knowledge page.
- On the Knowledge page, the Calls column shows how many calls each source answered and when it was last used. Select the number to see those calls. "—" means no call has used it yet.
Sources are only remembered for calls whose transcript is saved. If Save transcripts is off, or a transcript was deleted after your retention period, the call no longer shows its sources and isn't counted. If you remove a source, past calls still show its name, marked "removed".
Change the search model
Each knowledge base uses a search model to compare callers' questions with your passages. It starts with Google's free model. Admins and owners can switch to one of OpenAI's models instead:
- On the Knowledge page, select Change next to Search model.
- Choose a model. Each one shows its price; models you don't have an API key for can't be chosen until you add the key.
- Select Change model.
All passages are then prepared again in the background ("Updating search: 12 of 40 passages"). Your agents keep finding passages by their words while that runs. You can't change the model while sources are still processing; wait until they're ready.
If a source fails
The reason under the source tells you what to do. The most common ones:
- "Add an API key for this knowledge base's search model": add the key (a Google AI key, unless you changed the search model), then select Try again.
- "No text was found": the file is probably a scan (images of pages). Use a version with real text, or paste the content as FAQ entries.
- "The file is password-protected": save it without a password and upload it again.
- "Only public websites can be added": addresses inside private networks can't be used.
- "The website couldn't be reached" or "took too long": check that the page opens in your browser, then select Try again.
Admins and owners can remove a source with the trash button next to it.
Tip
Short, clear documents work best. One page per topic ("Opening hours", "Prices", "Cancellations") beats one long handbook.