2023Anita / ChatFiles

Document Chatbot — multiple files. Powered by GPT / Embedding.

Home Page:https://chat-file.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My SkillsBuy Me A Coffee

ChatFiles

Deploy with Vercel

Deploy with Vercel

EN | 中文文档

this repository use LangchainJS, based on Chatbot-ui

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.

About

Document Chatbot — multiple files. Powered by GPT / Embedding.

https://chat-file.vercel.app

License:MIT License


Languages

Language:TypeScript 95.9%Language:JavaScript 2.2%Language:CSS 1.4%Language:Dockerfile 0.5%