Knowledge base
The agent relies only on what you give it. Adding knowledge, uploading a file, how it is used in pieces, and restoring an earlier version from History.
Last updated: November 9, 2026
The agent answers from this section only. An agent with an empty knowledge base is an agent that knows nothing.
Don't mix the two up: the knowledge base holds facts (prices, hours, address, rules). Instructions govern how the agent talks. A fact written into the instructions is hard to find and update later.
Three ways to add knowledge
| Way | When it's easiest |
|---|---|
| Telling it in the chat | The fastest — you simply describe the business |
| Add content | You write or paste the text yourself |
| Upload document | You already have a text file (up to 5 MB) |
Open the agent and go to Knowledge base
On the right: Settings → Knowledge base.
Press Add knowledge
Add content for text, Upload document for a file.
Start with what gets asked most
Prices, opening hours, address, delivery, the returns rule.
Save, and wait for indexing
A note under the source says the agent is ready to use it.
Check it in the test
Ask about exactly that in Test. An empty answer means the knowledge wasn't written concretely enough.
How to write it so the answers are good
The model reads the text, so concrete and short works better.
Example — Lola Store
Good:
Delivery:
- within Tashkent: 25,000 so'm, 1 day
- regions: 40,000 so'm, 2–4 days
- free over 500,000 so'm
Returns: 14 days, unworn, with the receipt.
Bad:
Delivery pricing depends on the region; contact an
operator for details.
The second gives the agent nothing — it will repeat that same sentence to the customer.
Only the matching piece is used
The text you add is split into pieces. When a question comes in, the agent takes only the pieces that match it.
So:
- a bigger knowledge base doesn't slow answers down;
- one topic doesn't bleed into another;
- but keeping topics apart matters — a piece cut out of a mixed paragraph can end up half-meaningless.
Information that changes often
If prices and stock change daily, writing them into the knowledge base means updating it daily. Connect the Google Sheets app instead: the agent reads the live value from the sheet when the question arrives.
| Kind of information | Where it belongs |
|---|---|
| Opening hours, address, rules | Knowledge base |
| Price list, stock, menu | The Google Sheets app |
| Order status, customer records | Your own API (an app) |
History and restoring
In History every change to the knowledge base is kept as a version: who changed what, and when — and an earlier version can be restored.
- the last 50 versions are kept;
- edits within a minute of each other are merged into one version, so not every keystroke makes a new one;
- changes made through MCP or the chat land in the same history.
Delete everything wipes the agent's entire knowledge. After the confirmation the agent falls back to "I don't know" — restoring from History will still be possible.
Troubleshooting
| Symptom | Cause |
|---|---|
| The file wouldn't upload | Over 5 MB, or not a text file |
| The file uploaded but the agent doesn't know it | Indexing wasn't finished, or the file was empty |
| The agent quotes an old price | The knowledge changed but Republish wasn't pressed |
| Answers are vague | The knowledge is written as "contact an operator" |
| It answers from the wrong topic | Topics are mixed into one paragraph |
| It never knows stock | That isn't the knowledge base's job — an app is needed |
Questions
Does the agent read the internet?
No. Only the knowledge you added and the live data from connected apps. Asked about something that isn't there, it says it doesn't know, or hands over to an operator — when the instructions say so.
What files can I upload?
Text files, up to 5 MB. If a file can't be read the agent says so — copying the text into the chat is enough. Text is not extracted from photos or scans.
Does all the knowledge go to the model on every reply?
No. The material is split into pieces and only the pieces that match the question are added. That's why a growing knowledge base doesn't slow answers down and topics don't bleed into each other.
Prices change — do I update by hand every time?
For prices and stock that change daily the right answer isn't the knowledge base but the Google Sheets app: change the sheet and within a minute the agent quotes the new figure.
Can a bad change be undone?
Yes. In History every change is kept as a version — you can see what changed and restore the earlier one. The last 50 versions are kept.
Related guides
- AI agentWhat an AI agent is, how to create one and where it answers. The agent attaches to accounts; it is not a block in a flow. Each reply costs 2 credits.
- Instructions and rulesWho the agent is, how it talks and what it won't do. Writing the instructions, adding rules, and getting a change into live conversations.
- Connecting Google SheetsKeep prices, stock or a schedule in Google Sheets and let the AI agent read from it: two ways to connect, and the limits.