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: 2 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T11:23:51.000Z (6 months ago)
- Last Synced: 2024-10-15T12:43:20.317Z (3 months ago)
- Topics: chatbot, chatfile, chatgpt, chatgpt-api, chatpdf
- Language: TypeScript
- Homepage:
- Size: 3.11 MB
- Stars: 3,265
- Watchers: 22
- Forks: 483
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-langchain-zh - ChatFiles
- awesome-langchain - ChatFiles
- StarryDivineSky - guangzhengli/ChatFiles
- awesome-chatgpt-api - ChatFiles
- awesome-chatgpt - guangzhengli/ChatFiles - Document Chatbot — multiple files. Powered by GPT / Embedding. (UIs / Browser extensions)
- my-awesome - guangzhengli/ChatFiles - api,chatpdf pushed_at:2024-12 star:3.3k fork:0.5k Document Chatbot — multiple files. Powered by GPT / Embedding. (TypeScript)
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?