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

WayWhen it's easiest
Telling it in the chatThe fastest — you simply describe the business
Add contentYou write or paste the text yourself
Upload documentYou already have a text file (up to 5 MB)
  1. Open the agent and go to Knowledge base

    On the right: Settings → Knowledge base.

  2. Press Add knowledge

    Add content for text, Upload document for a file.

  3. Start with what gets asked most

    Prices, opening hours, address, delivery, the returns rule.

  4. Save, and wait for indexing

    A note under the source says the agent is ready to use it.

  5. 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 informationWhere it belongs
Opening hours, address, rulesKnowledge base
Price list, stock, menuThe Google Sheets app
Order status, customer recordsYour 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

SymptomCause
The file wouldn't uploadOver 5 MB, or not a text file
The file uploaded but the agent doesn't know itIndexing wasn't finished, or the file was empty
The agent quotes an old priceThe knowledge changed but Republish wasn't pressed
Answers are vagueThe knowledge is written as "contact an operator"
It answers from the wrong topicTopics are mixed into one paragraph
It never knows stockThat 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.

Was this page useful?

Related guides