Wagnerds toolkit for structured LLM workflows
Project description
wags-llm
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wags_llm-0.1.0.tar.gz.
File metadata
- Download URL: wags_llm-0.1.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee4ab16ab6acfc538fb43759e56f944c917779b10125a26d438d5526af8bd416
|
|
| MD5 |
95275443ef4609c5815dcd393683be75
|
|
| BLAKE2b-256 |
eb2e8f493bd31f89c49bfe99a4c663082d60b1b3184f08e1bb3ca676065adbc3
|
Provenance
The following attestation bundles were made for wags_llm-0.1.0.tar.gz:
Publisher:
release.yaml on GenomicMedLab/wags-llm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wags_llm-0.1.0.tar.gz -
Subject digest:
ee4ab16ab6acfc538fb43759e56f944c917779b10125a26d438d5526af8bd416 - Sigstore transparency entry: 1199845034
- Sigstore integration time:
-
Permalink:
GenomicMedLab/wags-llm@0491f0ebdeed002f2d00ac04b25250c49cce0fec -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/GenomicMedLab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@0491f0ebdeed002f2d00ac04b25250c49cce0fec -
Trigger Event:
release
-
Statement type:
File details
Details for the file wags_llm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wags_llm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e55a15045895a6d062613916eee17d75608450947110934f1be733b9f6f486a
|
|
| MD5 |
189aa322a0c663e9b3b71de6ebeeb11b
|
|
| BLAKE2b-256 |
434ee3329ece88c7c5e4c700abf3db35bc35ea754724258d3f67e5867d318c1a
|
Provenance
The following attestation bundles were made for wags_llm-0.1.0-py3-none-any.whl:
Publisher:
release.yaml on GenomicMedLab/wags-llm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wags_llm-0.1.0-py3-none-any.whl -
Subject digest:
7e55a15045895a6d062613916eee17d75608450947110934f1be733b9f6f486a - Sigstore transparency entry: 1199845046
- Sigstore integration time:
-
Permalink:
GenomicMedLab/wags-llm@0491f0ebdeed002f2d00ac04b25250c49cce0fec -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/GenomicMedLab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@0491f0ebdeed002f2d00ac04b25250c49cce0fec -
Trigger Event:
release
-
Statement type: