Add an image-aware PDF RAG example with page-level citations

Author: Arindam200Created Aug 19, 2026Updated Sep 20, 2026
Labelsenhancementhelp wantedgood first issue

Summary

Add a practical multimodal RAG example that can answer questions about both text and visuals in a PDF, such as charts, diagrams, and tables.

Proposed location

rag_apps/image_aware_pdf_rag/

What to build

Build a small Streamlit or FastAPI application that:

  1. Accepts a PDF upload.
  2. Extracts text by page and renders page images or visual regions.
  3. Indexes text and visual descriptions or embeddings.
  4. Retrieves the most relevant evidence for a question.
  5. Returns an answer with page-level citations and links or previews for the supporting pages.

A contributor may use a multimodal model and an embedding provider of their choice, but the project must make the provider configuration explicit and preserve an offline-friendly sample path where possible.

Acceptance criteria

  • Includes a README.md, dependency manifest, and .env.example with no secrets.
  • Includes a small license-compatible sample PDF or instructions for creating one.
  • Demonstrates at least one text question and one visual question about a chart, diagram, or table.
  • Shows page numbers with every answer and lets a user inspect the cited page.
  • Handles an unsupported or empty PDF with a helpful error message.
  • Adds one catalog entry to the root README.md under RAG Applications.

Contribution notes

Please keep the project self-contained, submit it in one pull request, and link the pull request with Closes #<issue-number>.

Source: Arindam200/awesome-ai-apps