Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

[![My Skills](https://skillicons.dev/icons?i=nextjs,tailwind,react,vercel,ts,supabase)](https://skillicons.dev)Buy Me A Coffee

# ChatFiles

## Deploy with Vercel


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?

johnliu33  
noxonsu  
magedhelmy1  
Zhang Andy  
Huayu-Qin