/ChatFiles

Have a conversation with files |与你的文件对话

Primary LanguageTypeScriptMIT LicenseMIT

My SkillsBuy Me A Coffee

ChatFiles

EN | 中文文档

this repository use jerryjliu/llama_index, based on mckaywrigley/chatbot-ui, inspired by madawei2699/myGPTReader

Chatfiles

Upload your file and have a conversation with it.

How to use it

Open https://chatfiles-ui.fly.dev and chat with Good Example

How to run locally without limited

  1. clone this repository.
  2. create a .env file on root path.
  3. put your OpenAI Key to .env file with OPENAI_API_KEY='your token'

run this project with docker compose.

docker compose up

open browser with http://localhost:3000

chat with file

  1. upload a file.
  2. have a conversation with it.

chat with GPT

  1. send message without upload file.

How to run locally

chatfiles-ui

cd chatfiles-ui
npm install
npm run dev

chatfiles

cd chatfiles

create a file named .env with value(OPENAI_API_KEY=your token)

python3 server.py

how to deploy flyio

Feature

  • Chat with GPT-3.5
  • Chat with file by llama_index
  • Upload multiple files to one index, chat with multiple files.