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.
VoiceVision RAG - Integrating Visual Document Intelligence with Voice Response
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.
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.
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.
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.
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
- feature
Strands Agents: Open-source, lightweight, model-first framework for building agentic applications
“It's a lightweight framework for building agentic applications.”
YouTube Unverified1 source· Talk
- uses
“By default, it uses an Amazon Bedrock model”
3:45inIntroducing Strands Agents, an Open Source AI Agents SDKYouTube Verified4 sources· Talk
- role atSuman Debnath is principal machine learning advocate at
AWS
“I work at AWS as a principal machine learning advocate.”
YouTube Unverified1 source· Talk
- launched
AWS launched
Strands Agents
“Strands Agents was announced about a month ago.”
6:25inBuilding Agents with Amazon Nova Act and MCPYouTube Verified3 sources· Talk
- featureColPali: Treats each document page as an image and embeds its patches for retrieval
“The motivation is that we treat every page as an image.”
YouTube Unverified1 source· Talk
- metricColPali: 32 by 32 patches in the paper's described training setup
“In the paper, I think the model was trained with 32 patches, like 32 by 32 here.”
YouTube Unverified1 source· Talk
- metricPaliGemma: Version 1.3
“This is the model we're going to use: PaliGemma version 1.3.”
YouTube Unverified1 source· Talk
- feature
Qdrant: Supports multi-vector configuration with MaxSim comparison
“Qdrant supports that matrix multiplication, that late interaction thing.”
YouTube Unverified1 source· Talk














