Wagnerds toolkit for structured LLM workflows.
Run LLM tasks with:
- versioned prompts
- typed (Pydantic) outputs
- optional caching
Extend by defining your own prompts and response models
Wags-LLM is available on PyPI:
python3 -m pip install wags_llmSee our Example Notebook for an example on how to use Wags-LLM.
Clone the repo and create a virtual environment:
git clone https://github.com/genomicmedlab/wags_llm
cd wags_llm
python3 -m virtualenv venv
source venv/bin/activateInstall development dependencies and prek:
python3 -m pip install -e '.[dev,tests]'
prek installCheck style with ruff:
python3 -m ruff format . && python3 -m ruff check --fix .Run tests with pytest:
pytest