This project uses Poetry, so the first thing is to install it.
pip install poetry
Poetry allows to
- Install and manage the dependencies of the project
- Create a clean virtual environment that is fully isolated from your current Python environment
Packages are listed in the pyproject.toml
file.
To install them, simply run:
poetry install --with dev
If you're running the app locally, please add a .env
file at the root of the project with your crendentials:
VANNA_API_KEY=...
GCP_PROJECT_ID=...
To create a Vanna API key, please refer to this link.
Then run the app with this command:
poetry run streamlit run app.py