AIPEAIPE
Guides · Knowledge & Documents

AI knowledge base: knowledge management with AI

How an AI knowledge base answers questions from your documents with sources: the technology from embeddings and RAG to knowledge graphs, permissions, answer quality, selection criteria and a four-step rollout.

The problem: the knowledge exists, but cannot be found

In almost every company, the most valuable knowledge sits in documents and in people's heads: in quotes from recent years, project reports, inspection reports, manuals, email threads and in the experience of long-standing employees. Often only a fraction of it is ever found. Folder structures grow historically, file names follow no scheme, and full-text search returns hundreds of hits without an answer.

The consequences are familiar: follow-up questions to colleagues, documents created twice, long onboarding times and loss of knowledge when experienced people leave the company. This is exactly where an AI knowledge base comes in. It answers questions in natural language from the existing documents and shows which documents the answer comes from.

What is an AI knowledge base?

An AI knowledge base combines three building blocks: a collection of company documents, a semantic search across their contents and a language model that formulates an understandable answer from the passages found. Unlike a classic wiki, nobody has to transfer knowledge into a new structure first – the AI works with the documents that already exist.

The difference from keyword search: anyone who asks "What warranty period did we agree with the customer Müller?" does not get a list of files, but an answer with a reference to the relevant contract. The search understands meaning, not just words – "complaint" also finds documents that talk about a "notice of defects".

How the technology works

Preparing the documents

First, content is extracted from files: text from PDFs, Word documents and presentations, tables from Excel and, where needed, text from scans. The content is then split into meaningful sections. Each section is translated into an embedding, i.e. a numerical vector that represents its meaning, and stored in a vector index.

Retrieval-Augmented Generation

When someone asks a question, it too is translated into a vector. The system searches for the sections with the greatest similarity in content, often supplements the search with an exact keyword search (for example for item numbers or dates) and passes the best hits to the language model. This method is called RAG. It has two major advantages: new knowledge is available as soon as a document is indexed, and every answer can be checked against the sources.

Knowledge graph for relationships

Some questions do not concern a single passage, but relationships: which projects have we carried out with customers from the food industry, and who was involved in each? An AI knowledge graph links customers, products, projects and people that appear in documents into a network. It adds structure to the text search and makes visible relationships that are hidden in individual documents.

Handling numbers correctly

Language models are not calculators. Questions such as "What was the revenue from product group B in the third quarter?" should not be answered from text snippets, but calculated directly from the spreadsheet. Good systems recognise such questions and use an analysis tool that reads values from the original file.

An AI knowledge base changes how companies maintain and use knowledge:

  • Onboarding: New employees ask questions of the knowledge base instead of interrupting colleagues.
  • Quotes and projects: Previous quotes, calculations and lessons learned become templates for new projects.
  • Service: Answers to customer questions are based on current manuals and product data.
  • Knowledge retention: Experience is documented in a wiki and can then be found by everyone authorised – an effective means against loss of knowledge.
  • Decisions: Managers receive summaries across many reports, including sources.

Permissions: the most important requirement

A knowledge base that shows everyone everything is a risk. Salary lists, personnel files, board documents or other departments' customer data must not become visible through a cleverly worded question. Permissions must therefore take effect in the search step itself: the AI only searches documents that the person asking is allowed to read. With every provider, check how permissions from connected systems are adopted and how sharing is managed per folder, project or group. The guide GDPR-compliant AI describes further requirements from a data protection perspective.

Ensuring the quality of answers

Even the best technology only delivers answers as good as its sources. These measures have proven effective:

  1. Curate sources: Start with well-maintained repositories instead of the entire network drive. Outdated versions and duplicates make answers worse.
  2. Show sources: Answers should always name the documents used so that employees can check them.
  3. Narrow down deliberately: Anyone who knows which folder or project contains the answer should be able to restrict the search to it.
  4. Communicate limits: Train users on hallucinations: without a matching source, a model can generate plausible-sounding but false statements.
  5. Collect feedback: Note questions that did not receive a good answer. Often a document is missing or out of date.
  6. Define responsibilities: Every knowledge source needs a responsible person who keeps an eye on currency and deletion.

Which sources can be connected

A knowledge base is all the more useful the fewer documents have to be uploaded manually. Typical sources in mid-sized companies are:

  • File storage such as Google Drive, Nextcloud or network drives
  • Email inboxes and calendars
  • CRM systems with customer and sales data
  • Wikis, manuals and policies
  • Exports from ERP and line-of-business systems
  • Meeting transcripts and minutes

Additional systems can be integrated via open interfaces such as an API or the Model Context Protocol. Check whether a connection synchronises content permanently or queries it live – this affects currency and the data protection assessment.

Start with the two or three sources that answer most questions. Every additional source should have a clear purpose and a responsible person who decides on scope and permissions. This way the knowledge base grows in a controlled manner – and employees learn from the start to trust the answers, because the sources are maintained.

Selection criteria for an AI knowledge base

  • Answers with sources rather than mere lists of hits
  • Permissions per document, folder and group that also apply in the AI search
  • Formats: PDF, Office files, spreadsheets, presentations, images
  • Spreadsheet analysis that calculates numbers instead of guessing
  • Connectors to the systems you use today
  • Wiki or documentation to capture experience
  • Model choice and transparent costs
  • Hosting, DPA and sub-processors that match your data protection requirements

Rollout in four steps

  1. Collect questions: Have a team note for two weeks which questions it asks internally and where it looks for answers.
  2. Select sources: Connect the repositories from which these questions can be answered and check the permissions.
  3. Pilot: The team uses the knowledge base in day-to-day work. Measure search times before and after.
  4. Expansion: Further teams and sources follow; recurring questions become agents that, for example, summarise new documents or create reports. More on this in the guide AI agents.

Questions an AI knowledge base answers

Typical everyday questions show how concrete the benefit is:

  • Sales: "Which reference projects do we have in the food industry, and which contacts were involved?"
  • Back office: "What delivery time applies to spare parts under the current framework agreement?"
  • Engineering: "What torque does the maintenance manual specify for assembly C?"
  • HR: "How many days of leave can be carried over into the following year?"
  • Project management: "Which risks were documented in the last comparable project?"
  • Management: "Summarise the key points from the branches' quarterly reports."

What they all have in common: the answer is contained in existing documents, but is hard to find with a classic search.

Data maintenance: keeping the knowledge base up to date

An AI knowledge base does not make data maintenance superfluous, but it makes it more worthwhile – because well-maintained documents are now actually used.

  • One valid version: Mark or archive outdated versions so that the AI does not access superseded prices or rules.
  • Descriptive titles: Documents with clear titles and dates improve the search and the display of sources.
  • Regular review: Check central sources such as price lists, policies and manuals at fixed intervals.
  • Close gaps: If questions repeatedly remain without a good answer, a document is often missing. Capture the knowledge in the wiki.
  • Take deletion seriously: Deleted documents must no longer appear in answers. Check this when selecting your system.

Measuring success

Measure the benefit with a few easily recorded metrics: the time a team needs for typical searches, the number of internal follow-up questions to subject-matter experts, the onboarding time of new employees and satisfaction with the answers. Record the values before the pilot and after a few weeks of use. The article Calculating AI ROI for mid-sized companies offers a calculation scheme for cost-effectiveness.

Data protection and regulation

If personal data is searched, for example in emails or customer files, the requirements of the GDPR apply: a legal basis, a data processing agreement, transparency about providers and a permissions concept. Under the EU AI Act, a knowledge search is generally not a high-risk application; however, the obligation to take measures for users' AI literacy also applies here.

AI knowledge base with AIPE

In AIPE, teams upload documents or connect sources via connectors, such as Google Drive, Nextcloud, Gmail or HubSpot. AIPE extracts the content, splits it into sections and indexes it semantically; Word and PowerPoint files are converted into searchable text. The search only considers documents that the person asking is allowed to read, and answers refer to the sources used. With @-mentions, you narrow a question down to specific files, folders or tags. AIPE answers questions about spreadsheets with an analysis directly in the original file and names the file, sheet and range.

In addition, AIPE links terms and relationships from your sources into a navigable knowledge graph, and in the wiki, teams edit pages together in real time. Documents and knowledge can also be imported via API. The Knowledge, wiki & graph page provides an overview.

Frequently asked questions

What is the difference between an AI knowledge base and a wiki?

A wiki is a maintained collection of pages. An AI knowledge base answers questions from existing documents of all kinds, without content first having to be transferred. The two complement each other: the wiki captures experience, and the AI makes it findable together with all other documents.

Does the AI have to be trained on our documents?

No. With Retrieval-Augmented Generation, the knowledge stays outside the model. For each question, the AI searches for matching passages and formulates the answer from them. New documents are available as soon as they are indexed.

How do you prevent confidential content from being displayed?

By having permissions take effect in the search step: the AI only searches documents that the person asking is allowed to read. In addition, only the sources needed for the purpose should be connected.

Can an AI knowledge base give wrong answers?

Yes, especially if sources are outdated or no matching passage exists. Answers with source citations, well-maintained documents and trained users reduce the risk considerably.

Which file formats are typically supported?

PDF, Word, PowerPoint, Excel and text files are common. For spreadsheets, an analysis function that calculates values directly from the file is useful.

Read next

Experience your documents as a knowledge base.

In 30 minutes we show you how AIPE answers questions from your documents with sources – with permissions per team and document.

Book a demo

How much time can AI give back to your team?

Three short questions about goal, knowledge and team size. Then you get a personal assessment.

AI potential checkQuestion 1 of 3
What do you want to achieve with AI?

Pick your most important goal.

Anonymous, no emailabout 60 seconds
100% guarantee · 0% riskBook a slot