https://github.com/guangzhengli/chatfiles
Document Chatbot — multiple files. Powered by GPT / Embedding.
https://github.com/guangzhengli/chatfiles
chatbot chatfile chatgpt chatgpt-api chatpdf
Last synced: 5 months ago
JSON representation
Document Chatbot — multiple files. Powered by GPT / Embedding.
- Host: GitHub
- URL: https://github.com/guangzhengli/chatfiles
- Owner: guangzhengli
- License: mit
- Created: 2023-03-28T11:20:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T10:26:50.000Z (10 months ago)
- Last Synced: 2025-04-03T08:45:03.644Z (6 months ago)
- Topics: chatbot, chatfile, chatgpt, chatgpt-api, chatpdf
- Language: TypeScript
- Homepage:
- Size: 3.03 MB
- Stars: 3,322
- Watchers: 22
- Forks: 485
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://skillicons.dev)
# ChatFiles
## Deploy with Vercel
> this repository use [LangchainJS](https://github.com/hwchase17/langchainjs), based on [Chatbot-ui](https://github.com/mckaywrigley/chatbot-ui)
Technical architecture

Product screenshot.

**Upload your file and have a conversation with it.**
## How to use it
### Init Vector DB
[Crate a vector db on Supabase](doc/vectordb/supabase.md)### How to run locally without limited
1. clone this repository.
2. create a .env file on root path.
3. set environment variables in .env file follow [doc/env-vars.md](doc/env-vars.md).open browser with http://localhost:3000
## How to run locally
### chatfiles-ui```shell
npm install
npm run dev
```### How to deploy on vercel
1. Click the Deploy Button.
2. Set environment variables follow [doc/env-vars.md](doc/env-vars.md).
3. Pay attention to the NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH value must be /tmp.## Feature
- [x] Chat with GPT-3.5
- [x] Chat with file by langchainjs and supabase vector db.## Star History
[](https://star-history.com/#guangzhengli/ChatFiles&Date)
## Sponsors
[](https://www.buymeacoffee.com/iguangzhengli)
More Sponsor methods:
https://guangzhengli.com/sponsors
### Who is sponsoring this project?
Sponsored by [The best china travel guide website](https://chinagotrip.com)