pdf-rag and ask-my-pdf
These are competitors—both implement RAG-based PDF chatbots with similar core functionality (vector search, LLM integration, chat interface), though they differ in deployment model (renton4code targets backend/full-stack while nico-martin emphasizes in-browser client-side processing).
About pdf-rag
renton4code/pdf-rag
RAG (Retrieval-Augmented Generation) template with PDF OCR, vector search and chat/documents UI
About ask-my-pdf
nico-martin/ask-my-pdf
A Webapp that uses Retrieval Augmented Generation (RAG) and Large Language Models to interact with a PDF directly in the browser.
Executes the entire RAG pipeline in-browser using PDF.js for extraction, TransformersJS with all-MiniLM-L6-v2 for semantic vector embedding, and an in-memory VectorDB for cosine similarity retrieval. Generates responses via Gemma 2B/9B models compiled to WebAssembly/WebGPU with MLC LLM, with optional fallback to Google's experimental Prompt API for supported browsers.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work