Skip to content

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

License

Notifications You must be signed in to change notification settings

JunpingHe/ChatFiles

 
 

Repository files navigation

My Skills

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

  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

Feature

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.0%
  • Python 4.6%
  • JavaScript 1.1%
  • Other 1.3%