Skip to main content

wags-llm

image image image Actions status

Wagnerds toolkit for structured LLM workflows.

Execute LLM prompts with:

  • versioned prompts
  • Pydantic-validated structured 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wags_llm-0.3.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wags_llm-0.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file wags_llm-0.3.0.tar.gz.

File metadata

  • Download URL: wags_llm-0.3.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wags_llm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 44951088b286a29b0bcd73604fc0c1599848ce6614a6d43b61392171379a042b
MD5 704e8476112d81555594b6eb79e12005
BLAKE2b-256 bfd91b890dbaa167d22000d2bd1f0957492d4300c4dbeca837b31e224820cba4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wags_llm-0.3.0.tar.gz:

Publisher: release.yaml on GenomicMedLab/wags-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wags_llm-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wags_llm-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wags_llm-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d429e2dc37f00a580d6a62117bbdf0e1382b7cc362f8073c3c2a29751bc814ea
MD5 aa41199e6386fb2a32988e81a6dc5a5a
BLAKE2b-256 b31b77c4e90dc530a8ba51bb337b4903a46a3f32d71a2d5f0bc7908ad4541a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wags_llm-0.3.0-py3-none-any.whl:

Publisher: release.yaml on GenomicMedLab/wags-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page