Create a virtual environment:
python -m venv venv
Activate the virtual environment:
for windows
.\venv\Scripts\activate
for Linux
source venv/bin/activate
Install the required Python packages:
pip install -r requirements.txt
Create a .env
file in the root directory with the following content or check Discord #resources for my .env
OPENAI_API_KEY = <your_api_key_here>
FT_MODEL = <finetuned_model_id>
MONGODB_URI = <mongodb_uri>
JWT_SECRET_KEY = <jwt_secret_key>
TOKENIZERS_PARALLELISM = false
Install Node.js dependencies:
npm install
Start the frontend development server:
npm start
Create a .env file in the frontend directory and add the following
REACT_APP_BACKEND_HOST=http://127.0.0.1:8080
Use /login /register and /chat if some of the pages are in development and you cannot access pages.
Color Palette