R
RAGBase
Document Intelligence
loading…
Docs0
Chunks0
Queries0
Search Mode
RAGBase

Loading documents...

Document intelligence workspace

Ask your docs. Prove every claim.

Upload a corpus, run hybrid retrieval, and get streaming answers with clickable citations.

KB

Drop files to index

PDF, TXT, MD, CSV — multiple files supported.

PDFTXTMDCSV

Architecture

📕
PDF + Text
pdf.js extraction, TXT/MD/CSV. Multi-file batch.
✂️
Chunk
Sentence-aware splitting (~500 chars, 100 overlap)
🧮
Embed
768-dim vectors via POST /api/embed
🗄️
Index + Persist
Supabase pgvector + BM25 (server-side hybrid)
Hybrid Search
BM25 + Cosine via Reciprocal Rank Fusion
🌊
Stream Generate
Live streaming answers with [Source N] citations