ChatFiles
A self-hosted document chatbot for multiple uploaded files, using remote GPT-3.5 and a Supabase vector database. Open source under MIT.
ChatFiles is a self-hosted document chatbot for people who want to question their uploaded files in a browser. The application runs locally, while its GPT integration makes remote API calls. Document chat also requires a Supabase vector database.
It supports multiple files and uses embeddings to connect document content with model responses. Alongside file-based conversations, you can have ordinary chats with GPT-3.5. That gives the application two distinct uses: asking about uploaded material and talking directly with the model.
ChatFiles builds on Chatbot-ui and uses LangChainJS for its document-chat workflow. Its local role is the browser application you host and control; GPT supplies the model responses, and Supabase handles vector retrieval. Hosting the app locally doesn't make the GPT calls local or offline.
The project is open source under the MIT license, with a TypeScript codebase you can inspect and adapt. Vercel deployment is also supported.