Answers grounded in your documents, with the evidence attached.
Retrieval augmented generation is simple to demonstrate and difficult to make reliable. The demo works because the question matches a document neatly. Production is where the parsing mangled the tables, the chunking split the answer across two pieces, the retrieval found the wrong version, and the model produced something fluent and wrong.
The engineering is in those unglamorous layers: how documents are parsed, how they are chunked, what metadata rides along, how retrieval combines keyword and semantic matching, how results are reranked, when the system should decline to answer, and how any of it is measured.
What you get, in writing.
- Companies whose answers exist, in a thousand pages nobody can search
- Product teams adding a knowledge feature who have found the demo and production gap
- Support organisations answering the same questions from documents of varying accuracy
- Engineering teams whose first retrieval attempt returns confidently wrong passages
Ingestion that handles your documents
Parsing and OCR tuned to what you actually have, including scanned pages, tables and the PDFs that defeat generic extractors.
Chunking and metadata design
How documents are split so answers are not cut in half, and what travels with each chunk: source, version, date, owner, permission level.
Hybrid retrieval with reranking
Keyword and semantic retrieval combined, then reranked, because either one alone fails on a predictable class of question.
Grounded answers with citations
Every answer carries the passages it came from, so a reader can check it, and abstention when the retrieved material does not support an answer.
An evaluation set
Real questions with correct answers and the passages that contain them, built with your experts. This is what makes improvement measurable rather than anecdotal.
Maintenance procedures
How documents are updated and deleted, how the index stays current, what to monitor, and how to evaluate a change before shipping it.
- 01
Audit the corpus
What the documents actually are, how clean, how current, who owns them and who may read them.
- 02
Build the evaluation set
Real questions with correct answers, agreed with your experts, before any tuning begins.
- 03
Build ingestion and retrieval
Parsing, chunking, metadata, hybrid retrieval and reranking, measured against the set at each change.
- 04
Integrate and harden
The application, permission filtering, abstention, citations and adversarial source testing.
- 05
Operate
Update and deletion procedures, monitoring, latency and cost tracking, and a process for evaluating changes.
Retrieval, fine tuning, or both
These solve different problems and get confused constantly. Retrieval changes what the model knows. Fine tuning changes how it behaves.
Retrieval only
The model answers from passages fetched at query time. Content updates instantly, answers cite sources.
When: The need is factual accuracy over a changing corpus. This is most cases.
Retrieval with a reranker
A second stage reorders candidates by true relevance before the model sees them.
When: Recall is fine but the right passage is not in the top few. Usually the highest value single improvement.
Fine tuning for behaviour
Adapting the model's style, format or task performance, not its knowledge.
When: Output structure or tone must be consistent, and prompting has stopped being enough.
Both
Retrieval for the facts, fine tuning for the form.
When: A mature system where the retrieval is already measured and the remaining gap is behavioural.
A retrieval inspector: the passages behind the answer
Fictional sample data, running in your browser. Nothing is sent anywhere and nothing about your business is inspected.
A retrieval inspector: the passages behind the answer
Sample dataRetrieval returned nothing above the relevance threshold, so the system declines rather than generating from general knowledge. Abstention is a feature here, and it is tested like any other.
2 sources withheld at this permission level. The assistant says so rather than guessing around it.
This runs entirely in your browser on invented sample data. It has not looked at your business, your accounts or your systems, and nothing you do here is sent anywhere.
Measured against an evaluation set we build with you. Evaluate a RAG use case
What this looks like in your industry.
Possible engagements rather than client case studies, written so you can see whether yours looks like one of them.
Technical manuals
An engineer asks a question in the field and gets the procedure with the page it came from.
- Data and integrations
- Manuals, service bulletins, revision history.
- The constraint
- Version matters absolutely. An answer from a superseded revision is worse than no answer.
- What you receive
- Version aware ingestion, retrieval that prefers current revisions, and citations that name the revision.
Support knowledge
Agents and customers get the same grounded answer, with the article it came from.
- Data and integrations
- Help centre, internal notes, past resolved tickets.
- The constraint
- Internal notes must never surface to a customer. Permission filtering happens before retrieval, not after.
- What you receive
- Permission aware retrieval, two answer surfaces from one index, and an abstention path.
Product documentation
A developer asks how to do something and gets the current answer with the code sample that matches their version.
- Data and integrations
- Docs, changelogs, release notes, code samples.
- The constraint
- Code samples from the wrong version are actively harmful. Version metadata is part of the chunk.
- What you receive
- Versioned ingestion, retrieval scoped by version, and an evaluation set of real developer questions.
Engineering research
An engineer asks what was tried before and gets the decision, the result and the document.
- Data and integrations
- Reports, test results, decision records, often scanned.
- The constraint
- Tables and figures carry the content. Parsing that loses table structure loses the answer.
- What you receive
- Table aware parsing, a measured retrieval pipeline and a cited answer interface.
What moves the number.
We quote after scoping rather than before. These are the things that change the answer, so you can judge roughly where you sit before the call.
What drives scope and cost
- Corpus size and, far more importantly, document quality and format
- Whether permissions must be enforced per document or per passage
- How fresh the index has to be: nightly is simple, near immediate is not
- Latency budget, since reranking and multiple retrieval passes cost time
- Whether answers must cite a passage or a document is sufficient
What we need from you
- Access to the corpus and a decision on which sources are authoritative
- Experts who will help build the evaluation set, which is a few hours that pays for itself many times
- A decision on what the system should do when it does not know, which is a policy choice
Ownership and what we will not claim
The ingestion pipeline, retrieval code, evaluation sets and application are yours, running in your environment. We do not promise the elimination of hallucination, because nobody can. We reduce it by grounding answers, citing passages and making the system abstain, and we measure what remains so you know the real number.
It reduces it substantially and it does not eliminate it, and anyone promising elimination is overselling. Grounding answers in retrieved passages, showing citations so a reader can check, and designing the system to abstain when retrieval comes back weak are the three things that move the number most. We measure what remains with an evaluation set so you know the actual rate rather than a feeling.
Retrieval changes what the model knows at the moment of answering; fine tuning changes how it behaves. If your content updates, use retrieval, because retraining a model every time a policy changes is not a plan. Fine tuning is for consistent output format or tone when prompting has stopped being sufficient. Plenty of mature systems use both, for different jobs.
It is the problem, and it is also normal. Scanned pages, inconsistent formats, tables that extract as noise, and six versions of the same policy. We audit the corpus first and tell you what has to be fixed before indexing versus what we can handle in parsing. Indexing a mess produces fluent answers from the wrong document, which is worse than no system at all.
Filtering happens before retrieval, not after generation. Each chunk carries its permission metadata, the query is scoped to what the asker may see, and restricted passages are never put in front of the model. We test this explicitly by asking as a lower privileged user for content that exists only in restricted documents, and checking that nothing leaks through a paraphrase.
An evaluation set built with your experts: real questions, correct answers, and the passages that contain them. We measure retrieval separately from answer quality, because they fail differently and conflating them hides the real problem. Every change is measured against the set before it ships, which turns tuning from an opinion into an experiment.
We test for it. A document containing text addressed to the system rather than to a reader should be treated as content, not as instruction. We include adversarial examples in the evaluation set, and the application is built so that retrieved text cannot change what the system is permitted to do.
AI & Machine Learning
Production-ready AI agents, retrieval-augmented generation (RAG), custom computer vision, speech systems, and predictive ML models.
AI Product Development
End-to-end AI product strategy, LLM application architecture, prompt engineering, guardrails, and production inference APIs.
AI Agents & Autonomous Workflows
Multi-agent systems, tool-calling pipelines, human-in-the-loop automation, and autonomous task executors.
Machine Learning & Predictive Models
Gradient boosting, regression, classification, time-series forecasting, feature engineering, and automated ML pipelines.
Data Engineering & Analytics
ETL/ELT data pipelines, Snowflake/BigQuery data warehouses, real-time event streaming, and executive BI dashboards.
The whole stack sits here
Nobody has to explain the architecture to a second vendor. The engineer who wrote the firmware sits near the one who wrote the API.
We ship, publicly
Apps under our own Apple developer account since 2014 and a peer-reviewed clinical study crediting our code. Both are checkable.
You keep everything
Mutual NDA before any code, schematic, or patent review. You own 100% of the intellectual property in what we build.
Related work
ResOlio, a Restaurant Booking System With No Commission
A complete reservation system a forty cover dining room can actually afford: the restaurant's own booking page and website embed, the whole service running live on every tablet, and Olio, an AI host that takes bookings by chat and on WhatsApp. A flat monthly fee, never a commission on a cover.
Read the case studyALFK, the Alumni Network of the Lycée Français du Koweït
A private network for the former students of the Lycée Français du Koweït: a member directory, a map of where the alumni went to study, an orientation space for current students, events, and an admin desk that checks every member before they get in. One codebase runs on iPhone, Android and the web at alfk.org.
Read the case study
LaBreak, AI Lunch Search for the Neighbourhood
A French lunch app that answers the only question that matters at 12:30: where do I eat, right now. Ask in ordinary French, filter by meal card, price, distance and taste, and get a short list of real neighbourhood places with menus the restaurants keep current themselves.
Read the case studyStart with generative AI & enterprise RAG.
Tell us where the project is today. You will hear back from someone who has built this before, within one business day.
650-458-7993