Give your agent a knowledge base

Upload files, paste text, add audio or point at a website, and your agent answers from your own material instead of guessing. Every dialog, every accepted format, and what happens to your content once it is in.

13 min readUpdated 26 August 2026

An agent without a knowledge base answers from what its model happens to know, which is fine for how to phrase a sentence and useless for your opening hours. A knowledge base is your own content, searchable by the agent while a call is happening.

Open Knowledge Bases from the sidebar. The page describes itself as domain training sets: files, text, audio, and web pages.

Collections are the unit

Everything you add lives in a collection, and a collection is what gets attached to an agent. That is the whole organising idea, and it is worth getting right early.

Three counts sit across the top of the page: Collections, Documents and Web sources. They are the fastest way to see whether something you just added actually landed.

Tip

Organise collections by agent, not by file type. One collection per job means attaching it is one click and you always know what an agent can see.

The four source types

New collection, at the top right, opens a menu with four choices. They differ in what they accept, not in how the agent uses them: everything ends up searchable in the same way.

Careful

The File type takes PDF, DOC and DOCX and nothing else. A spreadsheet, a CSV or a plain .txt will not be accepted, so paste that content in as Text instead.

SourceWhat it acceptsUse it for
FilePDF, DOC and DOCX onlyDocuments you already have
TextTyped or pasted textA few facts you can just write out
AudioMP3, WAV, M4A, AAC and OGG, one file at a timeA recording rather than a document
WebsiteA URLContent that already lives on your site

Every dialog asks the same two things

Whichever type you pick, the dialog opens with a Name at the top and finishes with a Destination collection block at the bottom. Only the middle changes.

The Name is what you will see in the table afterwards. It is worth writing for a future reader rather than accepting whatever the file was called, because a list of documents named export final v3 helps nobody six months later.

Destination collection

Two radio buttons. Use existing collection is selected by default and gives you a Select Collection dropdown. Create new collection swaps that for a New Collection Name box, so you can start a collection and add its first document in one go.

Adding a file, step by step

  • Click New collection, then File.
  • Type a Name.
  • Under File Upload, click Choose File. The dialog states the rule itself: only PDF, DOC, and DOCX files are accepted.
  • Choose the destination collection, existing or new.
  • Click Add file.

Adding text, step by step

  • Click New collection, then Text.
  • Type a Name.
  • Write or paste into Text Content.
  • Choose the destination collection.
  • Click Add text.

Tip

Text is the fastest source and the most underrated. Opening hours, delivery areas, the three questions everyone asks: typing them straight in beats hunting for a document that half-covers them.

Adding audio, step by step

The recording is transcribed first and the transcript is what becomes searchable, so the agent is reading words rather than listening to audio. Transcription happens in the background, which means a long recording will not appear as finished the instant you press the button.

  • Click New collection, then Audio.
  • Type a Name.
  • Under Audio Upload, click Choose File and pick an MP3, WAV, M4A, AAC or OGG.
  • Choose the destination collection.
  • Click Add audio.

Careful

Uploads are capped at 200 MB and one file at a time. A long, high-quality recording gets there faster than you would expect, so export a compressed version rather than the master.

Adding a website, step by step

The website option has the most settings, so it is worth walking through properly.

  • Click New collection, then Website.
  • Type a Name. This is what you will recognise it by in the list, not the page title.
  • Paste the Website URL and press Check URL next to it. Use it. It tells you now whether the page can be read, rather than after you have saved.
  • Decide whether to tick Enable Auto-refresh, which is off by default.
  • Choose the destination collection.
  • Click Add website.

What auto-refresh does

Ticking Enable Auto-refresh reveals a Refresh Interval underneath: a number and a unit. It defaults to 3 Days, the number will not go below 1, and the unit can be Days, Weeks, Months or Years. A line underneath confirms your choice back to you, along the lines of URLs being automatically refreshed every 3 days.

This is the setting that keeps a knowledge base honest, and it only exists for websites. A file, some text or an audio transcript stays exactly as it was on the day you added it, forever, until you edit or replace it.

Careful

If a page changes often, set the interval shorter than the change. A weekly refresh on a page that changes daily means the agent is usually wrong and always sure.

How it actually works

Worth understanding, because it explains why some content works well and some does not.

Your content is not handed to the agent whole. It is split into chunks, each chunk is turned into a numeric representation of its meaning, and those are stored in a vector index. During a call, the agent turns the caller's question into the same kind of representation and searches for the chunks closest to it in meaning.

That last part is the important bit: the search is by meaning, not by keyword. A caller asking whether you are open on Sunday can match a paragraph headed Trading hours that never uses the word Sunday.

SettingValueWhat it means
Chunk size512 tokensHow much text goes into each searchable piece
Chunk overlap50 tokensHow much each chunk repeats of the one before it
These are fixed platform defaults. The dashboard does not expose them as fields when you add a source.

Overlap exists so a sentence that falls on a boundary is not cut in half and lost from both sides. Since you cannot change either number from the dashboard, the way to influence what gets retrieved is to change your content rather than the settings.

What this means for your content

Because a chunk is what gets found and read, a chunk has to make sense alone. That is the single rule underneath everything below, and it matters more here than in most systems, because you cannot tune your way around it.

  • A paragraph that starts with "As mentioned above" is useless once it is retrieved on its own.
  • A price in a table with a heading three pages up loses the heading. Put the context in the same chunk.
  • One fact in one place. The same price in three documents is three chunks that can disagree.
  • Say it plainly. Matching is on meaning, and implied meaning is thin.

Editing a document later

Each row in the table has a pencil icon. It opens Edit document, showing the document's text in a large editable box, and the dialog is explicit about the consequence: saving re-embeds the new text into the knowledge base.

That is the answer to the obvious worry. A correction is not cosmetic, and you do not need to delete and re-upload to make a fix count.

Tip

This is the quickest way to fix a wrong answer you heard on a real call. Find the document, correct the sentence, save, and the change is searchable.

Attaching a collection to an agent

Adding content does not by itself change any call. Open the agent, find the Knowledge base card, which describes itself as attaching documents your agent can pull answers from, and select the collection. Until then the agent cannot see any of it, and the card reads None.

This catches people out constantly: they upload a document, test the agent, and it still does not know. Check the attachment before you check anything else.

Finding things once there is a lot

The table groups rows by collection, with a count next to each collection name and a chevron to fold it away. Each row shows the collection, the type as a coloured badge, the name, when it was last updated and when it was created, with a pencil and a bin under Actions.

ControlWhat it does
Search documentsFree text search across the list
TypeTick any of File, Text, Audio or Website. More than one can be on at once
CollectionNarrow to a single collection
DateOpens From and To date boxes, with an X to clear the filter
RefreshRe-reads the list from the server

Export

Export downloads a CSV named for the day you took it. It respects whatever filters are active, so filter first and you get exactly the subset you wanted.

One thing to be clear about: it exports the index, not the library. The columns are collection name, collection ID, type, URL, file path, created date, last updated and document ID. Your actual document text is not in the file, so this is a stocktake rather than a backup.

Common questions

My agent still does not know what I uploaded. Why?
Almost always because the collection is not attached to the agent. Open the agent, check the Knowledge base card, and if it says None then that is your answer.
What file types can I upload?
Files must be PDF, DOC or DOCX. Audio must be MP3, WAV, M4A, AAC or OGG, up to 200 MB and one at a time. Anything else, including spreadsheets and plain text files, has to go in as Text.
Can I upload several files at once?
No. The dialogs take one file at a time.
How often does a website source update?
Only when you turn on Enable Auto-refresh and set an interval. The default when you turn it on is every 3 days, and the unit can be days, weeks, months or years. Without it, the content is a snapshot from when you added it.
Do files and text refresh too?
No. Auto-refresh exists only for websites. Everything else stays as it was until you edit or replace it.
Does the agent search by keyword?
No, by meaning. A question about opening on Sunday can match a paragraph headed Trading hours that never says Sunday, which is why plainly written content works better than keyword stuffing.
Can I change the chunk size?
Not from the dashboard. Content is split into pieces of about 512 tokens with 50 tokens of overlap, and there is no field for either when you add a source. Shape your content instead.
If I edit a document, does the agent pick up the change?
Yes. The Edit document dialog says it directly: saving re-embeds the new text into the knowledge base.
Can one collection be used by several agents?
Yes. Collections are attached to agents, so the same one can serve several. That is the better pattern than duplicating the same document into two collections.
Should I put prices in the knowledge base or in the instructions?
The knowledge base, if there is more than a handful or they change. Instructions are read on every turn of every call, so a price list there costs money continuously.
Is Export a backup of my content?
No. It is a CSV of the list itself, with names, types, IDs and dates. The document text is not included.
How do I remove something the agent should not be using?
Delete it with the bin icon on its row. If it is urgent, detach the collection from the agent first, which takes effect immediately.

Was this helpful?

Related