Knowledge health and background operations
Your knowledge base is only useful if the assistant can find the right passage when a customer asks. This page explains three tools that keep it that way:
- the embedding model the knowledge base needs before anything can be added;
- background operations — long jobs such as refreshing a website, removing duplicates or learning from past conversations, with progress and a log;
- the weekly Knowledge health check.
You find all of them under Settings → Knowledge base (and the history import under Settings → Training). On the phone: Menü → AI training → Background operations.
The embedding model comes first
Every passage in the knowledge base is turned into an embedding — a list of numbers that captures its meaning — so that a question can be matched with the passages that answer it. That needs an embedding model.
If your workspace has none, you see "Choose an embedding model for the knowledge base" on the Knowledge base screen, in AI settings and in the phone's AI training hub, and:
- new sources cannot be added (the New button is disabled);
- "Use in training" and automatic learning do not store anything;
- the assistant does not search the knowledge base when it replies.
To fix it, open Settings → AI assistant → Model and either:
- use the platform key (the model marketplace) — embeddings then run on ConnectWiz's key and are paid from your AI credit; or
- add an OpenAI credential under Settings → Credentials and pick it as the embedding credential (an Anthropic, Gemini or other chat-only credential has no embedding model here).
The AI on/off switch does not affect the knowledge base: you can build it while the assistant is off. Only automatic learning waits for the assistant to be on (see below).
Background operations
Long knowledge-base jobs run in the background. Each one appears in the Background operations list with:
- its state — Queued, Running, Paused, Done, Failed or Cancelled;
- a progress bar ("245 of 820");
- the process log (the scroll icon): every step, in your language, updating while it runs;
- Pause, Resume and Cancel.
If the server restarts in the middle, the operation continues from where it stopped. Only one operation of a kind runs at a time for the same target — for example, one refresh per website.
| Operation | What it does | Started from |
|---|---|---|
| Refresh source | Re-reads a web page or website and updates what changed | The refresh icon on a web source, or the source's automatic refresh schedule |
| Remove duplicates | Removes identical passages and stores site-wide blocks once | Check for duplicates → Remove duplicates |
| Re-embed knowledge | Embeds everything again with the current embedding model | Re-embed (after changing the embedding model) |
| Add missing titles | Adds the page title to older passages that lack it, then re-embeds them | Add missing titles |
| Learn from past conversations | See below | Settings → Training |
| Knowledge health check | See below | Weekly, automatically, or Check now |
Refreshing a website safely
A refresh never empties a source. The new version of the site is built next to the one the assistant is using, and replaces it only when it is complete:
- If the refresh fails (the site is down, a page times out), the previous content stays in use and the source shows "The last refresh failed; the previous content is still in use."
- Unchanged pages cost nothing. A page the server reports as unchanged, or whose text is the same as last time, is kept as it is — no AI credit is spent on it.
- A page that disappears from the site is kept after one refresh and removed after the second refresh in a row, so a temporary glitch does not delete anything.
- Hand-picked sites stay hand-picked. If you chose the pages of a site yourself, a refresh re-reads only those pages; newly found links wait in the page list for you to select.
No duplicates
The same text is stored once:
- adding a passage that already exists in the same scope does not store it again — if it came from another source, the two sources share it, and deleting one of them does not remove it from the other;
- a block that appears on more than 30% of a website's pages (a footer, a contact box) is stored once for the site instead of once per page;
- adding the same website or page twice while the first one is still being read is refused.
For a knowledge base built before these rules, use Check for duplicates: it shows how many passages are duplicates without changing anything. Remove duplicates then cleans them up in the background.
Learning from past conversations
Automatic learning picks up your agents' answers from now on. Learn from past conversations (under Settings → Training) does the same for answers your team gave before:
- Choose a date range and, if you like, some channels or departments.
- Press Estimate. You see how many agent answers and conversations would be read, about how many AI calls and tokens it takes, and — if you use the platform key — the estimated cost from your AI credit. Nothing is changed yet.
- Press Start learning. The run appears below with its progress and log.
Every answer goes through the same steps as automatic learning: it is rewritten as a generic question and an answer without personal details; a general answer is learned for everyone (and waits for your approval when Review learned answers before they are used is on); a personal answer stays with that contact, and is skipped if the contact is not saved with data capture on. An answer the knowledge base already holds is skipped, and so is one that could not be classified.
It runs only while the AI assistant and automatic learning are both on. If either is turned off during a run, the run pauses; resume it when they are on again. When the assistant is off, nothing is learned automatically at all.
Knowledge health
Once a week the Knowledge health check measures your knowledge base and the card at the top of the Knowledge base screen shows the result and its trend. Check now runs it at once.
| Measure | What it means | Good value |
|---|---|---|
| Retrieval score | Once you have test questions: the share of them whose passage comes back among the top 6 results. Before that: for sample passages, the passage's own heading is asked as a question | High; a drop means the assistant finds the right passage less often |
| Duplicates | Share of passages that are exact copies | Near 0 — use Remove duplicates |
| Embedded | Share of passages embedded with the current model | 100% — otherwise Re-embed |
| Failed sources | Sources whose last processing failed | 0 |
| Passages without title | Website passages missing their page title | 0 — use Add missing titles |
| Stale pages | Website pages not re-read for 30 days | Low, if the site changes |
| Suspicious contact facts | Contact blocks with a "phone number" that looks like a year or a date | 0 — refresh the source |
| Average passage length | Characters per passage | Informational |
Retrieval evaluation
The Retrieval evaluation card (under Knowledge health) answers the question that matters most: when a customer asks something your knowledge base can answer, does the assistant find the right passage — in every language you serve? It works with test questions written from your own knowledge base.