# Vision RAG: Enabling Search on Any Documents

[MongoDB](https://yomu.fyi/company/mongodb) · Thibaut Gourdel · Jan 12, 2026

**Type:** Tutorial

## Summary

Traditional retrieval-augmented generation relies on text parsing and optical character recognition to extract data from complex visual documents. These legacy techniques introduce high engineering effort, inconsistent accuracy, and heavy scaling costs. Vision RAG resolves these challenges by embedding entire visual documents directly through multimodal models like Voyage AI's voyage-multimodal-3.5, removing the need for text extraction pipelines. In this pipeline, dense vector embeddings map both text queries and visual assets into a unified representation space. At query time, the system retrieves relevant document images and supplies them alongside the text prompt to Anthropic's Claude 3.5 Sonnet to generate visually grounded responses.

## Context

Enterprise knowledge frequently resides in complex documents, slide decks, PDFs, and diagrams containing interleaved text and visuals. Traditional text RAG depends on OCR and parsing tools to extract this data, resulting in brittle setups, high operational costs, and low extraction fidelity.

## Approach / What changed

Implement a Vision RAG pipeline using Voyage AI's voyage-multimodal-3.5 model to create unified vector embeddings directly from document images and Anthropic's Claude 3.5 Sonnet to answer queries from retrieved visual assets.

## Takeaways

- Unlike CLIP-based architectures that use dual encoders, Voyage AI's voyage-multimodal-3 and 3.5 models use a single encoder for text and images to prevent modality bias.
- Vision RAG indexes document pages and charts directly as images, bypassing complex optical character recognition and parsing pipelines.
- At runtime, retrieved images are converted to base64 and passed directly alongside user queries to a vision-capable large language model for generation.

**Tags:** [Architecture](https://yomu.fyi/topic/architecture), [LLMs](https://yomu.fyi/topic/llm), [Machine Learning](https://yomu.fyi/topic/machine-learning), [Search](https://yomu.fyi/topic/search)

[Read original post](https://www.mongodb.com/company/blog/technical/vision-rag-enabling-search-on-any-documents)
