Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T10:26:50.000Z (about 1 month ago)
- Last Synced: 2024-12-25T19:00:39.256Z (27 days ago)
- Topics: chatbot, chatfile, chatgpt, chatgpt-api, chatpdf
- Language: TypeScript
- Homepage:
- Size: 3.03 MB
- Stars: 3,296
- Watchers: 22
- Forks: 485
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![My Skills](https://skillicons.dev/icons?i=nextjs,tailwind,react,vercel,ts,supabase)](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
![Embedding](./doc/Embedding.png)
Product screenshot.
![ChatFiles](./doc/chatfiles.png)
**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
[![Star History Chart](https://api.star-history.com/svg?repos=guangzhengli/ChatFiles&type=Date)](https://star-history.com/#guangzhengli/ChatFiles&Date)
## Sponsors
[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](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)