Keragi Keragi Keragi
Solutions

Reference

On this page

Knowledge base and data: making private AI know you

Last updated: 2026-11-26

This page explains the role and current limits of knowledge bases. Management and upload are available; retrieval is still improving, and undelivered parts are not described as available.

Bottom line: whether AI “knows you” depends on whether it can see your material. Self-hosting keeps that material and the AI on your own devices; a knowledge base turns scattered books, documents and ledgers into sources the AI can cite. It is not a file drive and not magic — clearer structure gives more reliable answers.

1. Why private AI needs a knowledge base

A general model knows the world but not you: how many books you own, what a device’s maintenance record says, what a policy requires. That content is not in the parameters; it can only come from your own material.

2. What works now and what does not

Capability Status Notes
Named knowledge bases available split by topic or project
Entry CRUD available structured facts and notes
Markdown / PDF upload available documents as knowledge sources
Per-user isolation available each account has its own
Semantic retrieval improving embeddings first, otherwise keyword matching
Full retrieval in WASM incomplete not a default promise
Unified personal data library evolving follow the current UI

Do not claim that AI automatically retrieves all your data. Correct wording: the knowledge base can be a knowledge source, and retrieval depends on deployment form and configuration.

3. What fits

Data Fit Advice
Book lists, catalogs, notes high one book per entry, consistent fields
Device ledgers, maintenance high device ID as entry name; time and action
Policies, processes, pricing high version and effective date in the entry
Customer/project material medium permissions and redaction; no payment data
Images, audio, video low (now) separate media boundary
Keys, IDs, passwords no never store in any knowledge base

4. “Why give data to AI?”

Three layers get mixed together: where AI runs (self-hosted here), where the model runs (external APIs receive requests), and where data already is (much of it is on platforms). Self-hosting is not “never online”; it brings the controllable part back under your control.

5. Asking “how many books do I have?”

  • one record per book: title, author, location, status;
  • mark lost or duplicate items and clean inventory periodically;
  • scope the question: “in my study knowledge base, count books I am reading”;
  • review the answer against the entries.

If entries are missing or retrieval is incomplete, AI should say it did not find them rather than invent a number.

6. Data and security boundaries

  • Per-user isolation is not an encrypted vault; keep sensitive data out.
  • Private and group text can use optional E2EE (off by default); knowledge bases do not change that boundary.
  • Backups, permissions and accounts belong to the operator; never expose management interfaces to the internet.
  • Read the model provider’s data terms when calling external APIs.

7. Three first steps

  1. Pick one high-value topic (books, device ledger, policies) and create one knowledge base;
  2. standardize naming and fields; start with 20–50 entries;
  3. test with real questions, record correct/missing/wrong answers, then decide whether to expand.

Next steps

Frequently asked questions

What can the knowledge base do now?

Create knowledge bases, maintain entries, upload Markdown/PDF, isolate per user, and use them as a knowledge source for conversations. Retrieval is still improving: vector search when embeddings are configured, keyword matching otherwise.

Can AI answer how many books I have?

Only if that data is organized in a knowledge base and retrieval is configured. Retrieval is still improving, so accurate out-of-the-box answers are not promised; structured entries and clear naming improve results.

Does knowledge leave my server?

Knowledge bases and deployment stay on your server, but calls to external model APIs send related requests to the provider. Full offline operation needs local models and an offline setup.

How is this different from a file drive?

A drive stores files; a knowledge base turns content into retrievable entries and documents for AI to cite in a conversation. They coexist.

What should not go into a knowledge base?

Identity documents, payment details, passwords and keys. Per-user isolation is not the same as an encrypted vault.