-
Make sure to add your own OpenAI API key inside the
.env
file, while testing the AI functionality -
Else, while testing the Dev Workflow, make sure to add
SHOULD_MOCK_AI_RESPONSE=True
-
Running this would mock the AI response, and not call the OpenAI API
MOCK=true uvicorn main:app --reload
- Only run for the very first time of the installation setup:
cd server/
python -m venv venv
source venv/Scripts/activate
pip install -r requirements.txt
cd app/
echo "OPEN_AI_API=sk-your-key" > .env
MOCK=true uvicorn main:app --reload
- Else use these commands for any other time:
cd server/
source venv/Scripts/activate
cd app/
MOCK=true uvicorn main:app --reload
- Only run for the very first time of the installation setup:
cd server/
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cd app/
echo "OPEN_AI_API=sk-your-key" > .env
MOCK=true uvicorn main:app --reload
- Else use these commands for any other time:
cd server/
source venv/bin/activate
cd app/
MOCK=true uvicorn main:app --reload