DocuMind AI
DocuMind AI is a production-ready multi-tenant SaaS platform that enables users to have intelligent conversations with their PDF documents.
Preview Gallery
5 mediaTechnologies & Skills
One-time purchase
What's Included
Support & Customization
you can tell any modification required according to your requirements.
Resource Links
Purchase this project to unlock source and premium resources. Document/report remain secure preview-based on this page.
Overview
DocuMind AI is a production-ready multi-tenant SaaS platform that enables users to have intelligent conversations with their PDF documents. Built on a modern AI stack with LangChain, Groq, and pgvector, it delivers accurate, citation-backed answers in real-time.
Key differentiators:
- ๐ Complete data isolation โ every user's data is strictly separated
- ๐ก Streaming responses โ token-by-token delivery via ReadableStream
- ๐ Grounded answers โ every response includes document citations
- ๐ Free tier friendly โ uses free APIs (Groq + HuggingFace)
- ๐ Usage tracking โ per-user token consumption with limits
Features
User Features
- ๐ง Email + password authentication (JWT, httpOnly cookies)
- ๐ PDF upload with drag-and-drop interface
- ๐ค AI-powered chat with streaming responses
- ๐ Citation tracking (page numbers, relevance scores)
- ๐ฌ Chat history per document
- ๐ Token usage dashboard
Technical Features
- ๐๏ธ RAG Pipeline: LangChain โ HuggingFace โ pgvector โ Groq
- ๐ Multi-tenant isolation: userId filtering at every layer
- โก Rate limiting: Redis sliding window (5 req/min)
- ๐ก๏ธ Prompt injection prevention: Input sanitization
- ๐ Admin dashboard: Platform-wide analytics with Recharts
- ๐งช Evaluation script: Precision@K, Groundedness, Relevance
Future Enhancements
Known Issues
Installation
# 1. Clone the repository
git clone https://github.com/yourusername/documind-ai.git
cd documind-ai
# 2. Install dependencies
npm install
# 3. Set up environment variables
cp .env.example .env
# Edit .env with your actual values
# Database
DATABASE_URL="postgresql://..." # Supabase connection URL
DIRECT_URL="postgresql://..." # Direct connection (migrations)
# AI Services
GROQ_API_KEY="gsk_..." # groq.com - free tier
HUGGINGFACEHUB_API_KEY="hf_..." # huggingface.co - free tier
# Auth
JWT_SECRET="min-32-chars-secret" # openssl rand -base64 64
# Redis
UPSTASH_REDIS_REST_URL="https://..."
UPSTASH_REDIS_REST_TOKEN="..."
# App Config
NEXT_PUBLIC_APP_URL="http://localhost:3000"
ADMIN_EMAIL="admin@yourdomain.com"
FREE_TIER_MONTHLY_TOKEN_LIMIT=50000
MAX_FILE_SIZE_BYTES=10485760
VECTOR_STORE_TABLE_NAME="document_embeddings"
RETRIEVER_TOP_K=4
# 4. Set up database
# Run prisma/setup-pgvector.sql in your Supabase SQL editor first
npx prisma generate
npx prisma db push
# 5. Start development server
npm run dev
Usage
Features
User Features
- ๐ง Email + password authentication (JWT, httpOnly cookies)
- ๐ PDF upload with drag-and-drop interface
- ๐ค AI-powered chat with streaming responses
- ๐ Citation tracking (page numbers, relevance scores)
- ๐ฌ Chat history per document
- ๐ Token usage dashboard
Technical Features
- ๐๏ธ RAG Pipeline: LangChain โ HuggingFace โ pgvector โ Groq
- ๐ Multi-tenant isolation: userId filtering at every layer
- โก Rate limiting: Redis sliding window (5 req/min)
- ๐ก๏ธ Prompt injection prevention: Input sanitization
- ๐ Admin dashboard: Platform-wide analytics with Recharts
- ๐งช Evaluation script: Precision@K, Groundedness, Relevance
System Requirements
Environment Requirements
ServiceFree Tier LimitsSupabase500MB DB, 1GB bandwidth/monthVercel100GB bandwidth, 100hr compute/monthGroq14,400 req/day, 30 req/minHuggingFaceRate limited, ~1 req/secUpstash Redis10,000 commands/day, 256MB
Slides Open in New Tab
For better readability, slides are opened directly. Documents remain preview-only with secure backend rendering.
Showing preview pages only. Purchase for full access to all pages and complete source package.
Login for Full AccessNo Q&A available yet
Be the first to ask a question!
Ask a Question
Customer Reviews
Write Your Review
No reviews yet
Be the first to review this project!
Similar Projects
You might also be interested in these projects
Social Platform
AI-powered social platform for language learning with chat, video calls, gamification, partner matching, and Stripe subscriptions.
Stationery Swap โ Student Marketplace for Buying & Selling Stationery
A MERN-based marketplace that enables students to buy, sell, and exchange stationery securely with authentication, image uploads, and smart search.
StayNext - Pg Discovery Platform
Built a full-stack PG platform where users discover PGs and owners manage listings, rooms, and tenant details.
Personal Portfolio
"My personal portfolio is a Django-powered website showcasing my projects, skills, and experience"