Vectora RAG
Serverless AI document search & PDF chat on 100% Cloudflare Free Tier.
Launch Vectora live demo ↗The challenge
Teams need AI document search that grounds answers strictly in verified PDFs with clickable citations, role-based access and predictable cost — without managing GPU servers or paid vector clusters.
Architecture & stack
Client-side PDF.js parsing extracts text in the browser before upload. Cloudflare D1 stores document chunks and audit logs, Workers AI (BGE-M3) generates embeddings, Vectorize handles semantic retrieval and KV caches revision-stamped results.
Performance & cost
Running in Free-Tier mode with Smart Placement, Cron Triggers and edge caching keeps cold responses fast and cached queries under 20 ms while scaling to zero with zero R2 or queue fees.
Verification & security
29 automated service tests cover JWT verification, RBAC personas (Admin, Editor, Viewer), chunking idempotency, KV fallback and D1-to-D1 backups, paired with WAF rate limiting.
Production-shaped edge AI without idle infrastructure.
Vectora demonstrates end-to-end RAG ingestion, semantic search, grounded citations, 6 live service probes and isolated D1 backups running on Cloudflare Free Tier.