Skip to content

GenomicMedLab/wags-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wags-llm

image image image Actions status

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


Installation

Wags-LLM is available on PyPI:

python3 -m pip install wags_llm

Example

See our Example Notebook for an example on how to use Wags-LLM.


Development

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/activate

Install development dependencies and prek:

python3 -m pip install -e '.[dev,tests]'
prek install

Check style with ruff:

python3 -m ruff format . && python3 -m ruff check --fix .

Run tests with pytest:

pytest

About

Wagnerds toolkit for structured LLM workflows.

Resources

License

Stars

Watchers

Forks

Packages