To make your learning curve smoother:
- Start with the
hydra-onlybranch: Get comfortable with Hydra’s basics and structure. - Then move to the
hydra-pydanticbranch: See how to supercharge your configuration handling with Pydantic validation on top of Hydra
- create the environment and activate it
python -m venv .venv
source .venv/bin/activate
-
Install the requirements
pip install -r requirements.txt -
Get your API key for Google models
You can get your FREE api key from https://aistudio.google.com/apikey
Create .env file from .env.template and fill in the API keys
- Running the code:
Running it using default parameters (available in conf/config.yaml)
python my_app.py query=hello
Running it with other parameters:
python my_app.py query=hello generator=gemini_flash_2_5