What we design around your workflow
Most chatbot failures are retrieval failures: the right passage was never found, an outdated version was found instead, or a confidential document reached the wrong person. The language model is rarely the hard part. We spend most of the effort on ingestion, retrieval quality, permissions, and evaluation, because that is where answers become reliable.
Ingestion and parsing
Pull content from help centers, wikis, shared drives, PDFs, tickets, and databases, and keep it in sync as documents change or are removed.
Hybrid retrieval
Combine keyword and semantic search with metadata filters and reranking, so product codes and error messages are found as reliably as paraphrases.
Answers with citations
Write answers only from retrieved passages and link each one to its source, so users and reviewers can check it in a click.
Permission-aware access
Apply your existing document permissions at retrieval time, so each person only gets answers drawn from content they may read.
Evaluation and monitoring
Test retrieval and answers against real questions before launch and on every change, then track live quality and unanswered questions.
Get the content right before the model sees it
Answer quality is capped by what retrieval can find. Ingestion turns messy sources into clean, searchable passages: text is extracted from PDFs, tables, and slides; headings are kept so each passage makes sense on its own; duplicates and superseded versions are dropped; and every passage carries metadata such as source, owner, date, product, region, and access rules. Connectors keep the index current, so a deleted or rewritten document stops producing old answers.
Structure-aware splitting
Split documents along headings and sections rather than fixed lengths, so a passage keeps its context.
Freshness and deletion
Re-index changed documents and remove deleted ones, with a record of what the bot knew and when.
Metadata that filters
Tag passages with product, version, region, and audience, so answers match the asker's situation.
Retrieve the right passages, not merely similar ones
Semantic search finds passages that mean the same thing as the question, but it can miss exact identifiers, error codes, and names. Hybrid retrieval runs keyword and vector search together, applies metadata filters, and reranks the candidates before any answer is written. When nothing relevant comes back, the bot says so and offers a next step, instead of filling the gap with a plausible guess.
Keyword plus vector
Catch exact terms and loose paraphrases in the same query.
Reranking
Score candidate passages against the question, so the strongest evidence comes first.
Honest gaps
Reply that the answer was not found when retrieval comes back empty, and log the question as a content gap.
Primary sources
- Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020)The paper that introduced retrieval-augmented generation.
Control permissions and prompt injection
A chatbot connected to internal content can leak it. Retrieval checks the asker's permissions before a passage can reach the model, so a contractor's question never draws on board papers. Retrieved text is treated as data, not instructions, because documents and web pages can carry hidden text written to steer a model; the OWASP Top 10 for LLM applications ranks prompt injection first and separately lists weaknesses in vector and embedding stores. Conversations are kept under your retention rules, and sensitive fields can be masked before they reach a model provider.
Access checked at retrieval
Mirror permissions from the source systems and filter before generation, never after.
Untrusted text stays data
Separate retrieved content from instructions, and limit what the bot can do with it.
Data boundaries
Choose model providers, regions, and retention settings that fit your contracts and regulations.
Primary sources
- OWASP Top 10 for LLM Applications 2025Security risks for LLM applications, including prompt injection and vector and embedding weaknesses.
Measure quality before users do
A demo that answers ten questions well proves little. Before launch we build a test set from real questions, with the documents that should answer each one and what a good answer must contain. Retrieval is scored on whether the right passages come back, and answers are scored on accuracy, faithfulness to the cited sources, and correct refusals. The same tests run on every change to content, prompts, or models, and production feedback adds new cases over time.
Real questions
Draw test questions from tickets, search logs, and staff, not only ones written for the demo.
Two layers of scoring
Score retrieval and answers separately, so a failure points straight to its cause.
Regression checks
Run the test set whenever content, prompts, or models change, and hold back releases that score worse.
Primary sources
- FACTS About Building Retrieval Augmented Generation-based Chatbots (2024)Engineering lessons from building enterprise RAG chatbots, including retrieval pipelines and evaluation.
Realistic limits and operator controls
Answers are only as good as the sources
Outdated, contradictory, or missing documents produce weak answers, so content ownership is part of the project.
Not a substitute for judgment
Legal, medical, financial, and policy exceptions belong with people, with the bot preparing the context.
Some needs go beyond retrieval
A strict output format, a consistent house style, or actions in other systems may call for fine-tuning, tools, or an agent design.
Frequently asked questions
What is a RAG chatbot?
A chatbot that searches your own content for each question and writes its answer from the passages it finds, with links to them, instead of relying only on what a language model learned in training.
Do we need to train a model on our documents?
No. Retrieval supplies the knowledge when a question is asked, so documents can change daily without retraining. Fine-tuning is considered only when behavior or format, not knowledge, is the problem.
Can it respect our existing document permissions?
Yes. Permissions are mirrored from the source systems and applied during retrieval, so people only get answers drawn from content they are allowed to see.
How do we know the answers are accurate?
Through a test set of real questions scored before launch and after every change, citations anyone can check, and monitoring of unanswered and low-rated questions in production.
