Skip to content

guangzhengli/ChatFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My SkillsBuy Me A Coffee

ChatFiles

Deploy with Vercel

Deploy with Vercel

this repository use LangchainJS, based on Chatbot-ui

Technical architecture

Embedding

Product screenshot.

ChatFiles

Upload your file and have a conversation with it.

How to use it

Init Vector DB

Crate a vector db on Supabase

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.

open browser with http://localhost:3000

How to run locally

chatfiles-ui

npm install
npm run dev

How to deploy on vercel

  1. Click the Deploy Button.
  2. Set environment variables follow doc/env-vars.md.
  3. Pay attention to the NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH value must be /tmp.

Feature

  • Chat with GPT-3.5
  • Chat with file by langchainjs and supabase vector db.

Star History

Star History Chart

Sponsors

Buy Me A Coffee

More Sponsor methods:

https://guangzhengli.com/sponsors

Who is sponsoring this project?

johnliu33   noxonsu   magedhelmy1   Zhang Andy   Huayu-Qin