WhoBuilt

VoiceVision RAG - Integrating Visual Document Intelligence with Voice Response

Dec 6, 2025· 1 h 24 min· 6.0K views·Watch on YouTube

Speaker

Suman Debnath, a principal machine learning advocate at AWS, presents to the AI Engineer channel on visual document retrieval and adding voice responses to a RAG agent.

Three multimodal RAG patterns

Debnath outlines three ways to process documents containing images, tables, and text: embed each directly, embed text summaries, or use summaries to find and retrieve the original content. The first two approaches can lose relationships between elements; the third preserves the original data for answer generation.

Treat pages as images

For documents where text extraction and OCR struggle, Debnath introduces ColPali, which treats each PDF page as an image and divides it into patches. He describes creating an embedding for each patch, then matching text queries to page embeddings using late interaction and MaxSim scoring. Qdrant supports the multi-vector search used in his example.

Build and run the retrieval demo

The notebook demo uses PaliGemma 1.3, Qdrant, and a science textbook PDF. It converts PDF pages to images, generates embeddings, and retrieves the five pages most relevant to a question about trophic levels. Debnath cautions that ingestion can be resource-intensive and recommends starting with a batch size of two or three on a laptop.

Add an agent and voice

Debnath wraps retrieval in a custom Strands tool, then pairs it with an image reader to generate an answer from the retrieved pages. Adding Strands’ speak tool lets the agent respond aloud; his demo also shows built-in file tools and an MCP server generating a Manim animation.

Choose the method for the data

Debnath says ColPali worked well in an insurance use case involving driver’s licenses and policies, but its model is heavy during ingestion and retrieval is faster afterward. He presents it as an option for visually complex documents, not a universal replacement for traditional RAG, and describes exploring hybrid systems for datasets with different needs.

Takeaways

  • Start with OCR or text-based RAG when it handles the documents; use visual retrieval when page layout and imagery carry essential meaning.
  • ColPali retrieves relevant pages; pass those pages and the original question to a multimodal model to generate an answer.
  • Plan for higher compute and memory during visual embedding ingestion, and begin with small batches on local machines.
  • Evaluate retrieval against the actual document set, including image-heavy materials such as IKEA assembly instructions.
  • Wrap retrieval and image-based answering as agent tools, then add speech when spoken responses fit the user experience.

Mentioned in this talk

Search inside this talk

What was claimed 10

Show all 10 facts

Related talks