Services / Build

RAG and knowledge systems

Search and grounded answers over your own documents, with citations, access rules and the option to say “I don't know”.

The short version

We design the index, the retrieval and the answer step together, so answers cite their sources, respect who may see what, and abstain when the evidence is thin.

A dark diagram from the Homer AI course titled fetch the page first, then answer: a question goes to a search step, the five best passages come back, the model reads them and gives a short answer marked with the passage it came from.
A diagram from our Homer AI course: retrieval first, then a cited answer. A stand-in example over two public poems.

What this covers

Retrieval-augmented generation (RAG) answers questions from your documents instead of from a model's memory. The hard part is not the model; it is the index, the access rules and knowing when retrieval has failed.

We build on Azure AI Search, Qdrant or ChromaDB, combine keyword, vector and semantic ranking, and test retrieval on a labelled set before any answer reaches a user.

What is RAG?

Retrieval-augmented generation answers a question from your own documents and shows where the answer comes from. Open the egg from the question on the outside to the documents at the centre.

  1. The question

    It starts with a question in someone's own words. The system tidies it, works out what is being asked, and checks that it is in scope before any search runs.

    How iCode helps We gather real questions from your people, then use them to shape the system and to test it.

  2. Retrieval

    The question is matched against an index of your content. Keyword search finds exact terms such as names and codes. Vector search finds passages that mean the same thing in different words. Hybrid search runs both and merges the results.

    How iCode helps We set up the index and hybrid search, and measure how well they find the right passages for your own questions.

  3. Ranking and filtering

    The candidates are ranked again so the most useful passages come first. Filters remove anything the person asking may not see, and anything out of date or replaced.

    How iCode helps We carry your existing permissions into the index, so people are shown only passages they could open themselves.

  4. Grounding

    The best passages go to the model with the question and a clear instruction: answer from these, and say so when they do not hold the answer. What goes into the prompt decides what can come out.

    How iCode helps We write prompts that keep the model to the evidence and let it decline when the evidence is thin.

  5. The answer, with citations

    The model writes an answer and marks which passage supports each claim. The reader can open the source and check it, which is what makes the answer usable at work.

    How iCode helps We build the answer view with citations that open at the right passage, and test that answers stay grounded.

  6. Your documents, chunked and indexed

    At the centre are your documents. They are split into passages that keep their headings and their meaning, embedded, and stored in an index with their access fields. Every layer above depends on how well this is done.

    How iCode helps We build the ingestion pipeline on your real documents and keep the index current as they change.

Around every layer: evaluation

A labelled set of questions shows whether retrieval finds the right passages and whether answers stay grounded. Traces tie each answer back to what was retrieved.

How iCode helps We build the labelled set with your experts and run it on every change.Evaluation and observability

Open the RAG and agent eggs on one page ›

What the system does, and what your people keep

Every system we build has a clear line between what it does on its own and what stays with a person.

What the system does and what your people keep, by task
TaskThe systemYour people
RetrievalFinds the passages most likely to answer, filtered by the user's access.Content owners decide what is indexed and who may see it.
AnswersWrites an answer that cites each passage it uses, or abstains.Users see the sources and can check them.
ApprovalHolds new or changed content until it is approved.Reviewers approve what goes live.

Deliverables

The exact scope is in the written proposal. These are the usual deliverables.

  • An index design with field, analyzer and chunking choices explained
  • Loading pipelines for your sources, with access filters
  • A grounded-answer API with citations and abstention
  • A labelled evaluation set and retrieval metrics in CI
  • Cost estimates and a shutdown plan for every cloud resource

Typical stack

  • Azure AI Search
  • Azure OpenAI
  • Qdrant
  • ChromaDB
  • TypeScript
  • Python

How an engagement runs

Nothing is built before you agree the proposal. A senior team, assembled for your requirements, stays with the work from first slice to handover.

  1. Step 1

    Discover

    A call about what you need, then a short look at your goals, data and constraints.

  2. Step 2

    Propose

    A written proposal with scope, team, cost and how we will measure success.

  3. Step 3

    Prove

    A small working slice on your systems within the first weeks.

  4. Step 4

    Build

    Short iterations with demos, reviewed pull requests and green builds.

  5. Step 5

    Hand over

    Documentation, pairing and training, so your team runs it without us.

  6. Step 6

    Support

    Optional check-ins, reviews and help when the next question comes.

  • Course

    Azure AI Search for Apps and Agents

    A course for senior AI engineers: one governed FAQ knowledge base, built from index design to agents.

  • Our product

    Eunomia: a governed AI assistant for savings platforms

    A savings assistant a platform can put in front of its customers and stand behind: exact figures from the customer's own records, rates from the product catalogue, consent and a human reviewer before anything goes further, and every turn traced.

  • Live demo

    Ask Byron: a guarded RAG assistant on Azure

    A live assistant that answers questions about our principal engineer's work from an indexed knowledge base, with guards before and after the model and every stage shown as it runs.

How it connects

  1. Start here

    Direction

    Decide where AI pays off, choose the tools, and get your team using them safely.

    With a direction agreed, we build the first system that proves it.

  2. Then

    BuildThis service

    Retrieval, agents and the product around them, built into the software you already run.

    Whatever we build, we measure, so you can trust it in production.

  3. Throughout

    Assure

    Evaluation, tracing and governance that show what the system does and stop it when it drifts.

    What the measurements show feeds the next round of direction.

Talk to us about rag and knowledge systems

Bring a use case, a worry or a codebase. We come back with a short written view of what we would do and what it would take.