-
Make sure to add your own OpenAI API key inside the
.env
file, while testing the AI functionality -
While testing the Dev Workflow, make sure to add
MOCK=True
-
To Test the AI response, add
MOCK=False
-
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