RAG and knowledge base for companies

AI document search for companies and institutions

Ask a question across thousands of contracts, policies and manuals and get an accurate answer with the document, clause and page in seconds. It runs on our own fine-tuned models, and your documents stay with you.

  • Every answer cites its source and page
  • Our own models, no data sent to third parties
  • A pilot on your documents in 4–6 weeks
AI document search interface showing an answer with a citation from a contract

Source: Employee handbook, p. 14

On-prem · data stays in-house

weeks to a pilot on your documents
4–6
languages for questions and answers
4
private servers or deployment on yours
EU
starting price of a pilot project
€2,000

Why now

The answer exists — nobody can find it fast

In most organisations knowledge is scattered across folders, a DMS, email archives and old document versions. Classic search looks for exact words, while people ask in their own words.

  • People search instead of working

    A lawyer opens ten contracts to find a notice period, an engineer scrolls through specifications, and HR answers the same leave questions every week. That time never shows up in reports, but it is paid for every day.

  • Knowledge stays in heads and inboxes

    Decisions, interpretations and solutions from earlier cases live in email threads and with experienced colleagues. When someone leaves or goes on holiday, the company loses access to information it already has.

  • Public AI tools are not an option

    Contracts, client data and internal policies must not be pasted into public chat tools. You need AI search that works on your documents, respects access rights and never sends content outside the organisation.

What we build

Search that understands the question and shows the source

A complete in-house solution: from document processing and our own models to the interface your team uses and integration with the systems you already have.

PDF, Word, Excel, email and scans

We process documents in all common formats, turn scanned paper into text with OCR, and keep tables and attachments in a structure that can be searched.

Answers with document and page

Every answer names the document, clause and page and shows the quoted passage. One click opens the original, so checking the interpretation takes seconds.

Access rights mirrored from your systems

Permissions come from your DMS, SharePoint or Active Directory. People only get answers from documents they are allowed to see, and every query is logged.

Models fine-tuned on your terminology

We adapt our language and retrieval models to your field, abbreviations and writing style, in English, Montenegrin and the other languages your team works in.

AI agents for summaries and comparison

Beyond questions and answers, agents write summaries, compare contract versions, extract deadlines, amounts and obligations, and prepare a table for your team.

Private infrastructure or on-prem

The system runs on our private EU servers or on your own hardware, fully disconnected from the internet if needed. Documents are never sent to external AI services.

How it works

From a folder of documents to a verifiable answer

A RAG architecture with hybrid search and our own models, in five steps that run in a few seconds.

  1. Connect sources

    We connect shared folders, your DMS, SharePoint, email archives and applications, and import access rights.

  2. Process and index

    OCR, table recognition and chunking with metadata. Changed documents are re-indexed automatically.

  3. Employee asks

    People ask in their own words. The system checks who is asking and searches only documents that person may see.

  4. Hybrid search

    Search by meaning and by keyword, followed by reranking that picks the most relevant passages.

  5. Answer with source

    A fine-tuned model writes the answer only from the retrieved passages and cites document, clause and page — or says the answer isn’t there.

Use cases by industry

Where AI document search saves the most time

The biggest gains come for teams that work with large document collections every day and need to know exactly where an answer came from.

Legal and law firms

Contracts, legislation and case law

Search case files, contracts and regulations by meaning, with the clause or ruling quoted, so the answer can be used straight away in the matter.

  • Finding liability clauses across hundreds of contracts
  • Answers based on laws and rulings, with citations
  • Extracting deadlines and obligations from case files

Banking and insurance

Procedures and regulation in one place

Branch, risk and compliance staff get answers from internal policies and regulations without waiting for head office to dig up a document.

  • Questions about internal procedures and product terms
  • Checking compliance with regulator requirements
  • Searching policies and general insurance terms

Public administration

Faster replies to citizen requests

Civil servants search laws, decisions and earlier rulings in similar cases, while the system runs on the institution’s own infrastructure.

  • Searching laws, decisions and official gazettes
  • Finding earlier rulings in similar cases
  • Drafting replies to freedom of information requests

Construction and engineering

Technical documentation without scrolling

Designs, specifications, standards and site records become a knowledge base where engineers ask like they would a colleague and get the drawing or page back.

  • Searching designs, specifications and standards
  • Comparing versions of technical requirements and bids
  • Reusing solutions from earlier projects

Healthcare

Protocols and manuals available instantly

Medical staff quickly find protocols, guidelines and equipment manuals, with on-prem deployment when data must not leave the facility.

  • Searching clinical protocols and guidelines
  • Instructions for medical equipment
  • Internal policies and quality procedures

Manufacturing and HR

A knowledge base for employees

Work instructions, quality procedures and HR policies are one question away, on desktop or phone, for new hires and experienced staff alike.

  • Answers about leave, benefits and HR policies
  • Work instructions and ISO quality procedures
  • Faster onboarding of new employees

From our work

Platforms that already search documents

We reuse the same components in projects built on your documents: PDF processing, hybrid search, citations and access control.

Sidro AI: Intelligent knowledge base for companies

Sidro AI

Intelligent knowledge base for companies

Our knowledge-base platform: hybrid search with reranking, PDF and table understanding and cited answers, the foundation of our document search projects.

  • React
  • Python
  • RAG
  • PostgreSQL
Kruna.ai: AI CRM for law firms

Kruna.ai

AI CRM for law firms

A legal AI assistant that answers from Montenegrin legislation and case law and cites the law, article or ruling with every answer.

  • Next.js
  • Spring Boot
  • RAG
  • PostgreSQL
Pečat: Digital archive and document approvals

Pečat

Digital archive and document approvals

A digital archive with versions, approval workflows and single sign-on — the kind of document source and permission model AI search builds on.

  • React
  • Spring Boot
  • PostgreSQL
  • OnlyOffice

Packages and pricing

Start with a pilot, scale to the whole company

A fixed price per phase, agreed after a short workshop where we review your documents and questions.

Pilot

from €2,000one-off · 4–6 weeks

One document collection and one team, so you can test accuracy on real questions before a wider rollout.

  • One document source (folder, DMS or SharePoint)
  • OCR for scanned documents
  • Answers with document, clause and page
  • Accuracy measured on your questions
  • Web interface for the pilot team
Request a quote

Most popular

Company knowledge base

from €5,000one-off + monthly maintenance

Complete AI search for several departments, with access rights and models adapted to your terminology.

  • Multiple sources and automatic re-indexing
  • Access rights imported from your systems
  • Model fine-tuning on your terminology
  • AI agents for summaries, comparison and deadlines
  • SSO sign-in and query logs
  • Hosting on private EU infrastructure
Request a quote

On-prem

Custom quoteafter a technical workshop

For banks, healthcare, institutions and law firms whose documents must never leave the network.

  • Installation on your server or private cloud
  • Models run fully locally, offline if required
  • Integration with DMS, email archive and applications
  • Audit trail of every query and answer
  • SLA and priority support
  • Training for administrators and users
Request a quote

On top of development there is a monthly hosting and maintenance cost that depends on document volume, number of users and whether the system runs on our infrastructure or yours. You get the exact figure in a written proposal. All pricing

Comparison

Why not classic search or a public AI tool

Classic search doesn’t understand the question, and public AI tools don’t know your documents and shouldn’t see them. ProCode combines the best of both.

CriterionProCode AI searchClassic keyword searchPublic AI tools
Understands questions asked in plain languageYesNoYes
Answer with document, clause and pageYesFile list onlyNo
Respects access rights from your systemsYesYesNo
Documents stay inside your organisationYesYesNo
Scanned documents and tablesYesPartlyPartly
Model adapted to your terminologyYesNoNo
Says when the answer isn’t in the documentsYesPartlyNo
Integration with DMS and SharePointYesPartlyNo

Process

From workshop to production

Clear phases with a fixed price and a measurable success criterion before every next step.

Request a quote
  1. Step 1 · 1 week

    Workshop and document selection

    We pick a document collection, define access rights and write real questions together that we will use to measure accuracy.

  2. Step 2 · 1–2 weeks

    Processing and indexing

    OCR, table recognition, chunking and source connections, with automatic change tracking.

  3. Step 3 · 1–2 weeks

    Model and search tuning

    Fine-tuning on your terminology, tuning hybrid search and reranking, and setting citation rules.

  4. Step 4 · 2 weeks

    Pilot and accuracy testing

    The pilot team uses the system in daily work while we measure accuracy, collect feedback and fix weak spots.

  5. Step 5 · ongoing

    Rollout and maintenance

    Expansion to other departments, integrations, user training and regular model improvements based on new questions.

Technology

A complete in-house stack

We build, adapt and host every component ourselves, so we know where your data is at all times.

Document processing

  • OCR for scans
  • PDF, Word and Excel parsing
  • Table recognition
  • Chunking
  • Metadata and versions

Retrieval

  • RAG architecture
  • Hybrid search
  • Own embedding models
  • Reranking
  • pgvector

Models

  • Fine-tuned language models
  • Local inference
  • Accuracy evaluation
  • Citation control

Infrastructure

  • Python
  • PostgreSQL
  • Docker
  • Keycloak SSO
  • Private EU servers
  • On-prem

Guide

AI document search: how it works and how to roll it out

AI document search is becoming one of the most useful applications of artificial intelligence in companies and institutions. This guide explains what RAG is, why private fine-tuned models give more reliable answers than public tools, how documents are prepared and what a safe step-by-step rollout looks like.

How RAG with citations works

RAG (Retrieval-Augmented Generation) is an architecture where the AI first finds the relevant parts of your documents and only then writes an answer based strictly on them. The model doesn’t answer from memory, but from passages it can cite.

In our systems it works like this: documents are processed and split into meaningful chunks, each chunk gets a vector representation from our embedding model, and search combines similarity by meaning with classic keyword matching. Reranking then selects the best few passages, and a fine-tuned language model writes the answer and cites its sources.

  • Hybrid search finds exact names, numbers and codes as well as questions phrased differently
  • Reranking reduces noise and gives the model only the most relevant passages
  • Citation rules require the model to back every statement with a document and page
  • When the documents contain no answer, the system says so instead of guessing

Why private fine-tuned models instead of public AI tools

Public AI tools are built for general conversation. They don’t know your contracts, don’t respect your access rights, and every document an employee pastes into them leaves the organisation. For legal, financial and medical data that is usually unacceptable.

ProCode therefore uses its own models, fine-tuned to the client’s domain: legal terminology, technical abbreviations, internal product names and the language the team works in. The models run on our private EU infrastructure or on your hardware, with no data sent to third parties.

A further benefit is predictable cost. There is no per-query billing from a foreign vendor, and the model never changes without your knowledge, so answer quality stays stable and measurable.

Preparing documents: scans, tables and versions

Answer quality depends most on how well documents are processed. That is why we pay special attention to this phase — and it is work the client doesn’t have to do.

Scanned documents are converted to text with OCR, tables are kept as tables, and annexes are linked to the main contract. Every chunk carries metadata such as date, document type, department and version, so the system can prefer the policy in force over an old draft.

  • PDF, Word, Excel, PowerPoint and emails with attachments
  • Scanned contracts, decisions and minutes via OCR
  • Shared network drives, DMS platforms and SharePoint
  • Automatic re-indexing of new and changed documents

How we measure accuracy and keep quality high

AI search is only useful if people trust it. That is why we don’t judge accuracy by eye, but on a set of real questions with expected answers and sources. For each question we check whether the system found the right document, whether the answer is correct, and whether the citation actually supports what the answer says.

After rollout, quality is monitored continuously. Users rate answers with one click, and unanswered questions reveal which documents need to be added or updated. We use this data to periodically re-tune the models and retrieval, so the system becomes more precise over time rather than drifting.

  • A test question set prepared together with your subject-matter experts
  • Retrieval accuracy and answer accuracy measured separately
  • User ratings and a report on unanswered questions
  • Regression testing before every new model version

Integrations with DMS, email and business applications

The best results come when AI search lives where people already work. Besides a standalone web interface, we embed search into your intranet, DMS, CRM or case management application, and expose it through an API for your internal systems.

Documents are pulled from shared network drives, SharePoint, DMS platforms and email archives, with automatic change tracking. When a policy is updated or a contract gets an annex, the new content is searchable without manual work, while the old version stays in the archive, clearly labelled.

Security, access rights and GDPR

AI search must never become a shortcut to documents an employee couldn’t otherwise see. We therefore import access rights from the system where the documents already live and enforce them before every search, not just when the answer is displayed.

The system logs queries and answers, supports single sign-on (SSO) and can run fully disconnected from the internet. Personal data processing complies with GDPR: data stays in the EU or on your premises, and access and retention periods are defined together with your data protection officer.

How to start: from pilot to the whole company

The safest path is a pilot on one document collection the team uses every day, such as contracts, internal policies or technical documentation. At the start we write around fifty real questions with expected answers together and measure accuracy on them before and after tuning.

Once the pilot proves its value, the system is extended to other departments and sources, connected to your DMS and SSO, and complemented with agents for summaries and document comparison. Investment only grows once the benefit has been confirmed on your own data.

FAQ

AI document search FAQ

Can’t find your answer? Write to us and we’ll reply within one business day.

What is RAG and how does AI document search work?

RAG (Retrieval-Augmented Generation) means the AI first finds the relevant passages in your documents and only then writes an answer based strictly on them. We process and chunk the documents, combine search by meaning with keyword search, and our fine-tuned model writes the answer with the document, clause and page. Employees can check the source immediately instead of blindly trusting the AI.

Which documents and sources can the system search?

We support PDF, Word, Excel, PowerPoint, emails with attachments and scanned documents, which we convert to text with OCR. We pay special attention to tables and contracts with annexes. Documents can come from shared network drives, a DMS, SharePoint, email archives or your own application, and new or changed documents are re-indexed automatically.

Do our documents leave the company?

No. We don’t use external AI services; we use our own models running on our private EU infrastructure or on your server. For law firms, banks, healthcare and institutions we offer on-prem deployment that can run completely offline. Your documents are never used to train models for other clients, and the adapted model belongs to your project.

Which AI models do you use?

We use our own language and retrieval models, fine-tuned to the client’s domain: terminology, abbreviations and the language the team works in. We choose the model size based on the volume of documentation, the required speed and the hardware the system runs on. The whole solution is in-house, so you don’t depend on the pricing, policies or changes of foreign AI vendors. Once the project is complete, the model and index can also run on your own hardware.

How accurate is the search, and what if the AI doesn’t know?

We measure accuracy on your real questions before rollout: we prepare a set of questions with expected answers and check that the system finds the right sources and interprets them correctly. When the documents contain no reliable answer, the assistant says so clearly and shows the most relevant documents instead of guessing. Because every answer has a citation, verification takes seconds.

How does the system enforce access rights?

We import permissions from the system where the documents already live, such as a DMS, SharePoint or Active Directory, and check them before every search. Employees only get answers from documents they may see, and confidential documents never appear in citations or summaries. Every query and answer is logged, giving administrators a complete audit trail.

Does it work with scanned documents and tables?

Yes. Scanned contracts, decisions and minutes are converted to text with OCR, and tables are kept structured, so the system can answer questions about amounts, deadlines and line items. Quality depends on the scan: clear scans give excellent results, while for poor copies or handwritten notes we assess upfront what is feasible.

How much does AI document search cost?

A pilot on one document collection, for example internal policies or contracts, starts at €2,000. A complete company knowledge base with several sources, access rights, fine-tuning on your terminology and AI agents for summaries and comparison starts at €5,000. On-prem deployment is quoted individually. Monthly costs depend on document volume, number of users and where the system runs.

How long does implementation take?

A pilot on your documents is usually ready in 4–6 weeks: one week for the workshop and document selection, then processing, model tuning and two weeks of pilot use with accuracy testing. Scaling to the whole company depends on the number of sources and integrations and is planned once the pilot has proven its value. Throughout the process you receive weekly progress and accuracy reports.

Is the solution GDPR compliant?

Yes. Data is processed on EU servers or on your own infrastructure, access is limited by the permissions you already have, and query logs make audits possible. Together with you we define which kinds of personal data the system processes, how long queries are retained and who has administrator access, in line with GDPR and local data protection law.

Show us your documents, we’ll show you the answers

Book a free 30-minute workshop. We’ll look at your documents and questions and propose a fixed-price pilot.