RafalWilinski/cloudflare-rag
Fullstack "Chat with your PDFs" RAG (Retrieval Augmented Generation) app built fully on Cloudflare
Implements hybrid RAG combining full-text search (BM25 on D1) and vector search (Vectorize) with reciprocal rank fusion for result ranking. Uses Workers AI with multi-provider fallbacks (OpenAI, Groq, Anthropic) via AI Gateway, streams responses through Server-Sent Events, and performs OCR directly in Workers using unpdf. Rate limiting and document storage leverage Cloudflare's KV and R2 primitives respectively.
596 stars. No commits in the last 6 months.
Stars
596
Forks
89
Language
TypeScript
License
—
Category
Last pushed
Sep 05, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/RafalWilinski/cloudflare-rag"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
hoangsonww/AI-RAG-Assistant-Chatbot
👨🏻💻 Meet Lumina – my personal chatbot assistant designed to answer any questions, either about...
wahl-chat/wahl-chat-app
Source code of the wahl.chat platform. Our mission: Make politics more accessible.
rishi-raj-jain/custom-rag-chatbot-upstash-vector
Build your own RAG chatbot with Upstash
TejasQ/danGPT
An AI of Dan Abramov using RAG and GenAI.
govind-kumarr/simple_rag_dashboard
Chat with your docs. The deployed link is not updated. Please setup project locally to find issues.