Skip to content

Visual-document & multimodal RAG (ColPali-style page retrieval) #894

Closed

Description

@AmitoVrito

Strategic bet

Most enterprise knowledge is in PDFs/slides where layout, tables, and figures carry meaning that text extraction destroys. Late-interaction visual retrieval (ColPali/ColQwen) retrieves over page images directly — a step-change for real documents, and something LangChain/LlamaIndex handle poorly. We already have late_chunking + multimodal loaders to build on.

Scope

  • VisualDocumentRetriever: render pages → visual embeddings (ColPali/ColQwen) → late-interaction (MaxSim) scoring
  • Multimodal embedding backend (image+text) plugged into the embeddings layer (#embeddings epic)
  • Answer synthesis with a vision LLM over retrieved page crops; cite page + bbox
  • Fallback to text RAG when a visual model isn't configured
  • Extend AudioLoader/VideoLoader path into unified multimodal RAG facade routing

Acceptance

  • Benchmark on a visual-doc QA set (e.g. DocVQA/ViDoRe subset): visual vs text-only uplift, with a CI gate
  • Docs + example: "RAG over scanned PDFs / slide decks"

Activity

  1. added
    enhancement
    epic
    on Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementepic

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions