esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
Let’s talk

I’ll build the agent for it.

What Is Multimodal RAG?

What multimodal RAG is, how pictures, charts and scanned pages get searched alongside text, and the trade-offs, explained simply for your AI interview.

In short

Multimodal RAG is retrieval-augmented generation over more than text: images, charts, tables and scanned pages are searched too, and a vision model reads them when it writes the answer.

11 min readAdvancedOccasional · estimateFacts checked 27 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Multimodal RAG means the AI searches more than text before it answers. Pictures, charts, tables and scanned pages go into the search index too. There are two ways in: write a short text note about each picture, or embed the picture itself so it can be matched directly. When a question comes in, the system finds the best pages and a vision model reads them. The hard part is that a note can drop a number from a table, so I would test it on real pages first.

What is multimodal RAG, in plain words?

RAG stands for retrieval-augmented generation. Before the AI writes an answer, the system first looks up useful material from a store of documents, and the model writes from what it found. Retrieval is the lookup. Generation is the writing.

Multimodal means more than one kind of content. Microsoft defines multimodal search as the ability to take in, understand and find information across text, images, video and audio. Multimodal RAG applies that to RAG. It searches the pictures, charts, tables and scanned pages in your files as well as the words, and a vision model reads whatever it finds.

Think of a new claims officer at an insurance firm. The policy rules sit in a binder, but half the answers are in tables and diagrams inside it. A good colleague flips to the right page and reads the table and the sentence above it. In AI terms, that binder page is a scanned page in the index, and the vision model is the colleague who reads it. Multimodal RAG teaches the AI to find the right page first, then read what is on it.

Key words

RAG
Looks up the right material first, then writes the answer from it.
Embedding
A list of numbers that captures what a piece of content means, so similar things get similar lists.
Vector index
A store of those lists that can find the closest matches quickly.
Vision model
An AI model that can read images and text together.

How does a picture get into the search?

Both designs start the same way. The file is split into pieces, each picture, table or page is kept, and every piece gets an entry in a search index. The difference is what goes into that entry.

How a page gets into the answer

Scanned policy page

text, a table and a diagram

Path A: describe

Write a short note

a model reads the picture

Path B: embed

Embed the picture

no description needed

Search index

text and pictures together

Find the best pages

ranked by closeness to the question

Answer with the page cited

a vision model reads the page

  1. 1A model writes a short text note of each picture on the page.
  2. 2The same picture can also be embedded as it is.
  3. 3The text note goes into the search index.
  4. 4The embedded picture goes into the same index.
  5. 5The search finds the pages closest to the question.
  6. 6A vision model reads those pages and writes the answer.
A scanned page goes down two paths. A model writes a short text note of each picture, or the picture is embedded as it is. Both land in one index. At question time the best matches are found, and a vision model reads the pages to write the answer.

The text route works with ordinary text search, so it is the easier one to add. Microsoft's guide describes it as a model call during ingestion that writes a concise description of each extracted image. The embedding route keeps more of what the picture shows, because the picture itself is what gets matched.

Tip

Using Google's multimodal embedding model? Its docs recommend one page per PDF for the best quality.

Why does text-only search miss things?

Tables and diagrams lose their shape when they are turned into plain text. The rows merge, the numbers drift away from their labels, and a flowchart becomes a list of words. A 2024 paper on ColPali, a document-retrieval model, says that text-based systems struggle to use the visual cues on a page.

Worked example. A claims team at a mid-size insurer keeps 40,000 pages of policy wording and scanned claim files. An adjuster asks whether burst-pipe water damage is covered under the home schedule.

  1. 1

    Ingest the scan

    The policy is split into pages. Page 212 holds the schedule table, but plain text extraction jumbles it, so the burst-pipe row merges into the text around it.

  2. 2

    Index both ways

    A text note says the page has a schedule table, and an embedding stores the table itself. Microsoft's guide gives the same kind of case, where the only authoritative description of a process sits inside a diagram in a PDF.

  3. 3

    Retrieve the page

    Search finds page 212 because the table matches the question's words and meaning. If only a loose note about water damage is indexed, page 212 may never rank near the top.

  4. 4

    Read the picture

    The vision model reads the table image, finds the burst-pipe row, and reports its cover and excess.

  5. 5

    Answer with the page

    The answer cites page 212, so the adjuster can check the row before a claim is paid.

Google's embedding docs say the model can tell text apart inside an image, similar to optical character recognition, which is software that turns printed letters into text. That helps with the scan. The layout of the table still has to reach the final model, which is why the page image matters.

What are the trade-offs of the two designs?

  • Text notes

    Works with text search

    Easy to add to what you have. But a note can drop a footnote or a number, and every picture costs a model call.

  • Direct embeddings

    Finds look-alikes

    Good at matching a diagram to a similar one. But the vector cannot say why two images match, and it gives the model no words to cite.

  • Both

    Usually the answer

    Many solutions use both. Keep the page image too, so the final model reads the real page as well as the note.

  • “Because the representation is purely mathematical, it doesn't convey why two images are related, and it doesn't offer the LLM ready context for citations or detailed explanations.”

    Microsoft, Foundry IQ (Azure AI Search) guide

  • “doing document retrieval by directly embedding the images of the document pages”

    ColPali authors, on arXiv

Plan for the cost up front. Every picture described at ingestion is a model call, and every stored page image is one more thing to keep in step when the files change.

How would you make sure the right page comes back?

Prove retrieval before you trust the answer. A wrong answer can come from a right page that the model misread, or from the right page never coming back. Test the two separately.

  1. 1

    Keep the context

    Store the file name, page number and reading order with every match. Microsoft's guide says multimodal search has to preserve the order of information as it appears in the documents.

  2. 2

    Write test questions

    Take 50 real questions from claims staff, each with the page that truly answers it.

  3. 3

    Check retrieval first

    Count how often the right page is in the top results. If it is missing, the model never had a chance.

  4. 4

    Then check the answer

    For the questions where the right page came back, check whether the model read the table correctly.

  5. 5

    Change one thing at a time

    Change the chunking, the description prompt or the embedding model, then measure again.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition: RAG that also searches pictures, charts, tables and scans.
  • The two routes: a text note per picture, or embedding the picture itself.
  • Why plain text misses things: tables and diagrams lose their layout.
  • The trade-offs: model cost, lost detail, and no words to cite from a vector.
  • Keep the page image so the final model reads the real thing.
  • How they test it: real questions, a known right page, and retrieval measured first.

Common traps

  • Trap"Extract the text and the tables are covered."

    BetterText extraction catches tables too, but they lose their rows. Check the page image as well.

  • Trap"A vision model reads everything, so no index is needed."

    BetterA model cannot read a whole archive for every question. Index first, then send the few matching pages.

  • Trap"The embedding explains why the image matches."

    BetterA vector shows closeness, not reasons. Keep the page so the model can explain the match.

Can you spot the gap?

Spot the gap

A claims bot answers from one text note per scanned page. Which note shows it has lost the detail it needs?

Quick check

The right page is already retrieved, but the model misreads the diagram on it. Which change helps most?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q111What is RAG, and why use it?13 min
  2. Q441What is a vision-language model?9 min
  3. Q448How do you extract structured data from documents and images?12 min
  4. Q452Native multimodal vs pipeline approach?12 min
  5. Q455How do you evaluate multimodal outputs?14 min

Last updated on 27 November 2026

Building a search over documents with pictures, tables or scans?

I design and build AI products and agents, and the system behind them. Book a short call and tell me what your files look like and what question you need answered.