This API is built with FastAPI and depends on a few environment variables.
Create a .env file (or export variables in your shell) with the following values:
SUPABASE_URL– URL of your Supabase instance.SUPABASE_KEY– API key used to authenticate with Supabase.OPENAI_API_KEY– key for accessing the OpenAI API.
An .env.example file is provided as a template.
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate -
Install Python dependencies:
pip install -r requirements.txt
-
Start the application:
uvicorn app.main:app
Execute the test suite with:
pytest