AI that answers from your documents.
Ask a question and get the answer from your own documents, with a link to the source. That is how RAG works: the system finds the right passages in your knowledge base, then a language model writes the answer.
- Reply within 1 business day
- Free 30-minute scoping call
- You talk to the person who builds the project
Companies we have worked for
- Reply within 1 business day
- Free 30-minute scoping call
- You talk to the person who builds the project
Companies we have worked for
How RAG works
Preparation
Text is extracted (OCR for scans) and split along headings and tables, and each passage keeps its metadata: source, date, access rights.
Indexing
Each passage gets a vector (embedding) and goes into a keyword index, both stored in PostgreSQL with pgvector.
Search
The question is matched by meaning and by keywords (BM25), filtered by the user's access rights, then the best passages are re-ranked.
Answer and checks
The model writes from the retrieved passages, cites its sources and says when the information is missing. A test question set checks quality after every change.
Use Cases
Internal Support
An assistant answers staff questions from internal documentation, with a link to the source document.
Technical Documentation
Manuals, procedures and technical knowledge bases can be queried in plain language, and every answer links back to the original page.
Guest concierge
The WhatsApp concierge built for independent hotels answers guests in several languages from the hotel's website and documents, indexed with Mistral embeddings in pgvector.
Contracts and procedures
Contracts, terms and conditions and quality procedures can be queried in plain language, and the assistant cites the article or clause the answer comes from.
Compatible Sources
Case studies
View all
Frequently asked questions
What is RAG (Retrieval Augmented Generation)?
RAG (Retrieval Augmented Generation) combines a search through your documents with text generation. Before answering, the system finds the relevant passages in your knowledge base, then the model writes its answer from those passages and can cite its sources. Hallucinations drop without disappearing, which is why they need to be measured.
RAG vs fine-tuning: which approach should you choose?
RAG suits data that changes often: you only need to update the index. Fine-tuning teaches the model a specific style or format. RAG is cheaper to set up and lets every answer cite its source, so it is the approach we choose in most projects.
Which documents can RAG index?
Any document you can extract text from: PDF, Word, Excel, PowerPoint, web pages, emails, wikis (Notion, Confluence), support tickets, SQL databases. Documents are split into passages, turned into vectors (embeddings) and stored, in our case in PostgreSQL with pgvector.
How do you measure the quality of a RAG system?
We build a set of questions with their expected answers, then measure whether retrieval finds the right passage (recall, precision) and whether the answer stays faithful to the sources. An LLM judge scores the answers, and the set becomes a regression test for every change of prompt, model or retrieval method.
Our guides Agents & RAG
All articles in this theme →- Automate Customer Calls with an AI Voice Agent in 2026: Costs, Limits, and n8n Template (Twilio + ElevenLabs + OpenAI)
- AI Voice Agents for SMEs: Automate Customer Calls in 2026 (OpenAI, ElevenLabs, Twilio)
- Model Context Protocol: Connect AI to Your Business Tools
- AI Voice Agents: Automate Phone Calls & Customer Service
- Build an Autonomous AI Agent for Your Business: Practical Guide 2026
- Build a Custom AI Chatbot for Your Business: Complete Guide 2026
- RAG vs Fine-tuning: Which to Choose for Your Business AI?
- AI Agents for Business: 7 Real Use Cases and Implementation Guide