Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 707 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 707 Bytes

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.