Your documents, finally answering back
Upload documents, ask complex questions, and receive instant, citation-backed answers with real-time SSE token streaming and FlashRank reranking.
Architected with Industry-Leading AI Frameworks
How AskDoc Answers Your Questions
Experience an enterprise-grade retrieval pipeline engineered for speed, accuracy, and absolute precision.
1. Upload Documents
Server ValidationDrag & drop PDF, DOCX, XLSX, PPTX, or CSV files
Files are processed server-side with strict 10MB validation, split into semantic overlapping chunks, and vectorized instantly.
2. Hybrid Rerank & Quality Check
Rerank LoopPinecone Sparse/Dense Fusion + FlashRank Reranker
LangGraph queries Pinecone vectors & BM25 keyword indexes simultaneously, then re-scores top candidates using FlashRank before checking relevance quality.
3. Citation-Backed Response
SSE StreamingReal-Time SSE Token Streaming + Citations
Gemini streams verified answers token-by-token alongside exact page citations and response metrics.
Status: Parsed & Vectorized
Under the Hood Execution:
> Validating 10MB limit... Chunking 500 tokens / 50 overlap... Upserting Pinecone vectors.
Architected for Uncompromising Quality
Scroll down to explore how AskDoc processes, reranks, and streams citation-backed answers.
Multi-Format Document Support
Ingest PDF, DOCX, XLSX, PPTX & CSV
Ingest any document type effortlessly. Server-side 10MB file validation occurs instantly before parsing text into 500-token semantic chunks with 50-token overlapping boundaries.
Pinecone Hybrid Vector Search
Dense Vectors + Sparse BM25 Keywords
Executes simultaneous dense embedding vector similarity queries alongside sparse BM25 keyword matching using Reciprocal Rank Fusion (RRF) for 99.4% precision.
FlashRank Candidate Reranking
Ultra-Fast Context Re-scoring
Reranks top candidate passages before passing context to the Gemini LLM. Eliminates irrelevant noise, preserving token budget and driving millisecond latency.
LangGraph StateGraph & Checkpointer
Stateful Reasoning & Ambiguity Detection
Orchestrates intent routing, quality-check loops, ambiguity detection, and persistent Postgres checkpointer thread memory for multi-turn conversations.
See Real-Time Streaming & Citations
Try sample prompts below to test SSE token streaming, FlashRank citations, and ambiguity detection in action.
Under the Hood Pipeline
A multi-stage LangGraph StateGraph workflow built for latency, precision, and state persistence.
User Query
FastAPI Route
Intent Classifier
LangGraph Node
Pinecone + BM25
Reciprocal Rank Fusion
FlashRank Reranker
Top Candidate Scoring
Gemini LLM
SSE Streaming
Try AskDoc on Your Own Documents Now
Upload your PDF, DOCX, XLSX, PPTX, or CSV files and start asking questions in seconds with zero setup.
User-scoped Supabase Row-Level Security Enabled