#173 · Primary category: Knowledge Base & RAG

doc-chatbot

chat chatbot document-embedding gpt-3 gpt-4 langchain mongoose nextjs openai openai-api pdf-processing pinecone reactjs tailwindcss typescript vectorization

Document chatbot — multiple files, topics, chat windows and chat history. Powered by GPT.

Project last updated:07/21/23

GitHub Stars

853

Forks

137

Contributors

1

License

MIT

Why we included this project

This is a working Next.js app that answers questions about your own documents through a chat interface. You can group uploaded PDFs, DOCX files, or text files into topics, open several chat windows per topic, and the conversation history is saved automatically in the browser. Each topic gets its own Pinecone namespace, and you can manage the vectors, including deleting them, without leaving the page. Because it is a small real application rather than a library, it works both as a self-hosted document assistant and as a readable reference for how LangChain, OpenAI, and a vector store fit together. The README covers setup step by step, right down to the QA prompt you will want to rewrite for your own domain. Just note that it requires accounts with OpenAI and Pinecone, and the repo has not been updated since mid-2023.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category