DocMind - Chat with Your Documents (RAG)
AI / ML
RAG
Python
FastAPI
LangChain
Nextjs
Tech Stack
Python
FastAPI
LangChain
RAG
Ollama
Llama 3.2
PGVector
PostgreSQL
Next.js
JWT Auth
Description
DocMind is a Retrieval-Augmented Generation (RAG) application that answers questions from uploaded documents using local models, an OpenAI-compatible API, and persistent PostgreSQL chat memory.
Uploaded documents are chunked and embedded into PGVector with LangChain, so every answer is grounded in the user's own content. Llama 3.2 (3B) and nomic-embed-text run locally through Ollama at zero API cost, and each user gets a private workspace behind JWT-secured FastAPI endpoints with a Next.js frontend.
- Built a RAG app that chunks and embeds uploaded documents into PGVector, giving users AI answers grounded in their content.
- Ran Llama 3.2 (3B) and nomic-embed-text locally with Ollama at zero API cost.
- Exposed an OpenAI-compatible API and stored conversation history as persistent PostgreSQL chat memory.
- Isolated private per-user workspaces behind JWT-secured FastAPI endpoints.