ChatGPT-style UI for document RAG with topics and threads
It exists because querying a pile of PDFs deserves better than one giant chat window.

What it does
doc-chatbot is a Next.js app that ingests .pdf, .docx, and .txt files, vectorizes them through LangChain, and parks the embeddings in Pinecone. You query the results through a ChatGPT-inspired interface. The organizational hook is that files live inside topics, and every topic supports multiple independent chat windows with their own local-storage history.
The interesting bit
Most RAG tutorials stop at a single script; this adds a full React frontend with topic-based Pinecone namespaces and browser-side index management. It is essentially a polished glue layer around OpenAI, LangChain, and Pinecone, forked from a simpler PDF chatbot but rebuilt with a multi-chat, multi-topic architecture.
Key highlights
- Browser-based upload and deletion of Pinecone namespaces.
- Topics act as folders for files; each topic holds multiple isolated chat threads.
- Chat history persists in local storage by default; a separate
mongodb-and-authbranch offers server-side persistence. - Supports
.pdf,.docx, and.txtinputs. - Built on the standard retrieval stack: Next.js, React, Tailwind, LangChain, and Pinecone.
Caveats
- The
mongodb-and-authbranch is several commits behind main and lacks certain features. - Pinecone Starter-plan indexes are deleted after seven days of inactivity.
- File parsing can fail on corrupted, scanned, or OCR-dependent documents.
Verdict
A handy reference for developers who want a ready-made Next.js RAG interface with user-friendly organization primitives. Look elsewhere if you need a production-grade auth layer or a vector backend that isn’t tied to Pinecone’s free-tier lifecycle.
Frequently asked
- What is dissorial/doc-chatbot?
- It exists because querying a pile of PDFs deserves better than one giant chat window.
- Is doc-chatbot open source?
- Yes — dissorial/doc-chatbot is an open-source project tracked on heatdrop.
- What language is doc-chatbot written in?
- dissorial/doc-chatbot is primarily written in TypeScript.
- How popular is doc-chatbot?
- dissorial/doc-chatbot has 855 stars on GitHub.
- Where can I find doc-chatbot?
- dissorial/doc-chatbot is on GitHub at https://github.com/dissorial/doc-chatbot.