Skip to content

massquantity/mays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

mays

This project builds a RAG chatbot based on LlamaIndex. It supports file uploading and chatting.

Mistral 7B is used as the LLM model, and one can get api key from https://console.mistral.ai/api-keys.

Running

First, install the dependencies and run the backend. Requires Python >= 3.9.

$ cd backend
$ pip install -r requirements.txt
$ export MISTRAL_API_KEY=...  # set the mistral api key environment variable
$ python main.py

Second, run the frontend. pnpm is used to manage dependencies.

$ cd frontend
$ pnpm install
$ pnpm run dev

Open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published