To make the Jupyter environment, git friendly: nbdev_install_hooks
If you want to render documentation locally, you will want to install Quarto.
nbdev_install_quarto
Put API secrets in .env
cp .env.example .env
Edit .env with your secret key(s). Only OPEN_AI_KEY is required.
Then start the Gradio demo from within the virtual environment.
python3 app.py
Preview documentation
nbdev_preview
Dependencies
If a new dependency for development is helpful for developers, add it to dev.txt.
If it is a dependency for the app that is imported in source code, add it to core.txt.
Then run:
scripts/pin_requirements.sh
This will update our requirements.txt to include the dependency as it should be pinned in the environment.