Skip to content
PranorAI

Knowledge bases (RAG) — chat with your own documents

Updated

A knowledge base (also called RAG, retrieval-augmented generation, or "chat with your documents") turns your files into something PranorAI can search and quote when it answers, with numbered citations back to the source. Use it when the problem is "the AI does not know about our material". It works on the PranorAI desktop app and in the browser, with on-device, Cloud and Cloud GPU models.

Where to find itSettings → Data Controls (personal), Workspace → RAG & Knowledge, Organization → RAG & Knowledge
Who can create oneAnyone (personal); an organization admin (organization-wide)
Works withEvery model you can pick: on-device, Cloud (ChatGPT and Claude), Cloud GPU
DefaultsRecursive chunking, about 1200 characters, 150 overlap, Hybrid retrieval
File size ceiling200 MB per file

Where do knowledge bases live?

There are three entry points, one per scope:

ScopeWhereWho
PersonalSettings → Data ControlsAnyone, including organization employees
WorkspaceWorkspace → RAG & KnowledgeWorkspace users
OrganizationOrganization → RAG & KnowledgeOnly an organization admin can create these

How do I ask a question against a knowledge base?

In the main chat, a picker labelled Ask from appears under the message box once you have at least one of your own knowledge bases that has finished indexing. Choose one and your next messages are answered using the most relevant excerpts from it, with numbered citations under the reply. Choose No knowledge base to go back to a normal chat. The choice applies to that chat only; a new chat starts without one.

  • Excerpts are sent with your question to whichever model answers, so with a cloud model they leave your device like the rest of that message does.
  • Only your personal knowledge bases are listed in Ask from. Organization knowledge bases are used from Team Chat.
  • If the knowledge base cannot be searched in time, the model answers without it and no citations are shown. A slow knowledge base never blocks the chat.

How do I create a knowledge base?

  1. Open the knowledge base area for the scope you want.
  2. Start the create wizard.
  3. Select or Create Folder — add the data source: upload files, or import from an existing organization data-room folder.
  4. Configure — chunking and retrieval, described below. The defaults are good; change them only for a reason.
  5. Let it index. A knowledge base is useful only after indexing finishes.

What do the chunking, retrieval and file-size settings change?

SettingOptionsWhat it changes
Chunking strategyRecursive (default), Markdown, ParagraphHow documents are cut into searchable pieces
Chunk size / overlapAbout 1200 / 150 characters by defaultContext per hit vs sharpness of matching
Retrieval modeHybrid (default), Vector, KeywordHow passages are matched to your question
RerankingOnly none todayLeave it alone
Maximum file sizeLower only; ceiling 200 MBWhat is refused when you add a file

Which chunking strategy should I pick?

  • Recursive (default) splits on paragraph and sentence boundaries. Right for ordinary prose.
  • Markdown splits on headings first. Best for handbooks and documentation, because a retrieved chunk keeps its section.
  • Paragraph groups whole paragraphs up to the size limit. Good for short, self-contained entries such as FAQs or policies.

Only these three are offered. "Semantic" and "code" strategies mentioned elsewhere are not implemented, so they are deliberately not offered.

How do chunk size and overlap affect answers?

  • Larger chunks give more context per hit but fewer, coarser matches.
  • Smaller chunks give sharper matching but risk losing surrounding context.
  • Overlap stops an answer being cut in half at a chunk boundary.

Hybrid, Vector or Keyword retrieval?

ModeHow it matchesBest for
Hybrid (default)Blends meaning and word matching, weighted toward meaningMost knowledge bases
VectorMeaning only"Explain the idea" questions; weaker on exact identifiers
KeywordTerm matching onlyExact codes, part numbers or names

If people search by exact identifiers, Hybrid or Keyword beats pure Vector.

What is the maximum file size?

Each knowledge base has a per-file limit, set on the Configure step. Configure can only lower it, never raise it above the hard ceiling of 200 MB per file.

  • A file larger than the limit is refused when you add it, and the message names the limit. It is not accepted and then failed later during indexing.
  • Lowering the limit does not remove files already added. It applies to the next ones you add.

To index something bigger than 200 MB, split it into parts, or extract the text-bearing sections into separate files.

Where is a knowledge base used besides chat?

  • Group / team chat — a chat group can link one knowledge base, and an @mentioned AI reply retrieves from it before answering.
  • Brainstorming summaries — Ground with knowledge base retrieves relevant material before the summary is written.

How do organization admins send a knowledge base to model training?

From Organization → RAG & Knowledge, Send to Model Training copies a knowledge base's source files into a new training dataset you can then open in Model Training.

  • The result says how many files were copied and lists any skipped, with the reason (for example, a file above the size limit). A partial copy is reported as partial.
  • If the server is busy with other large copy or indexing work, the request may be refused rather than queued. Wait a short while and try again. A refusal does not create or damage a dataset.
  • The button is disabled until the knowledge base has finished indexing at least one chunk.

Is my knowledge base private?

Building and searching a knowledge base happens on PranorAI's own infrastructure without calling an outside embedding service. But when a cloud-tier chat answers using retrieved passages, those passages are sent to the cloud model along with your question. That is how the answer gets grounded.

A knowledge base does not make its content immune to the environment you chat in. If the material is confidential, use it from a Local or self-deployed environment.

[UNVERIFIED CLAIM — needs audit sign-off before publishing] Any statement about where embedding or retrieval happens and what does or does not leave the system must be verified against the current privacy boundary document before publication.

How big can a knowledge base be?

Knowledge bases are designed for the size a real knowledge base reaches: thousands of chunks, not millions. To index a whole document archive, split it into several focused knowledge bases instead of one enormous one. Focused knowledge bases also retrieve better.

How do I get good answers from a knowledge base?

  • Curate, do not dump. Ten current, correct documents beat a thousand mixed ones. Retrieval cannot tell a superseded policy from the current one.
  • Delete superseded documents rather than adding the new version alongside.
  • Use Markdown chunking for structured documents so a hit keeps its heading.
  • Turn on Always cite in chat settings while you are evaluating quality.
  • Re-index after changing sources.

How do I remove a source from a knowledge base?

  • Remove a source directly from the knowledge base's sources list to stop it being retrieved.
  • Deleting an organization file (in Organization → Data) also removes it from every organization knowledge base that imported it from a folder. Its passages stop being retrievable straight away, and the knowledge base's activity history records the removal. You do not need to re-index.
  • Narrowing a folder's permissions does not retroactively remove content a knowledge base already imported from it. Remove the source, or delete the underlying file, if it should no longer be reachable.

Why is my knowledge base not working?

You seeCauseFix
Chat warns that a knowledge base cannot be usedThe embedding model is not downloadedFollow the warning's link to Settings → Models & Storage and download it
Answers cite the wrong passageUsually chunkingTry Markdown chunking for structured material, or a smaller chunk size
A document is never retrievedIndexing unfinished, or the file has no readable text (a scanned PDF with no text layer)Confirm indexing finished; use a text-bearing version
A file is refused as too largeOver this knowledge base's file size limitSplit the file; the setting cannot be raised above 200 MB
Answers are staleThe old document is still a sourceRemove it

Frequently asked questions

What is a knowledge base in PranorAI? A knowledge base is a searchable index of your own files. PranorAI retrieves the most relevant passages and uses them, with citations, when it answers.

Is a knowledge base the same as RAG? Yes. RAG (retrieval-augmented generation) is the technique; a knowledge base is the PranorAI feature that does it.

Which models can use a knowledge base? Every model you can pick: on-device, Cloud (ChatGPT and Claude) and Cloud GPU.

Does my knowledge base work offline or stay on my device? Not automatically. With a cloud-tier model the retrieved passages are sent to that model. Use a Local or self-deployed environment for confidential material.

How large can one file be? Up to 200 MB per file, and you can only lower the limit per knowledge base.

Why are organization knowledge bases missing from "Ask from"? That picker lists only your personal knowledge bases. Organization knowledge bases are used from Team Chat.

Which chunking strategy is best for a handbook? Markdown, because each retrieved chunk keeps its heading.

Next steps

Do / don't

  • Do keep knowledge bases small and topical.
  • Do remove out-of-date sources.
  • Do check citations while you are still building trust in it.
  • Don't index everything you own into one knowledge base.
  • Don't assume a knowledge base keeps content off the cloud — the chat environment decides that.

Last reviewed: 2026-11-10 (content restructured from the previous draft; defaults and labels not re-verified against code this pass)

Was this not what you needed? Contact support or send feedback.