dissorial/doc-chatbot
A Next.js chatbot application that uploads PDF, DOCX, and TXT files, converts them to vector embeddings stored in Pinecone, and uses GPT via LangChain to answer questions about the documents.

This application implements a retrieval-augmented generation (RAG) chatbot where users can create topics, upload documents, and chat with an AI about the content. Files are processed into embeddings and stored in Pinecone namespaces for semantic search. When a user asks a question, relevant document chunks are retrieved and combined with GPT to generate contextually appropriate answers. The app supports multiple chat windows per topic with persistent chat history stored in local storage.