hunch-engine-ollama
An engine plugin for hunch: any model Ollama serves becomes a hunch engine.
model: ollama:qwen2.5:0.5b # hunch's own prompt, read from token probabilities
model: ollama:bespoke-minicheck#rag-unsupported # the model's own format, from a template in this package
hunch install hunch-engine-ollama # once published; from a checkout: hunch install ./plugins/hunch-engine-ollama
hunch plugins # ollama: hunch-engine-ollama==0.1.0 ok
hunch test spec.yml --model ollama:qwen2.5:0.5b --max-cost 0 --receipt # measured like any engine; costs nothing
It is also the reference plugin: one async answer(), answers in Jev's shapes, a cache adapter that changes with
any template, concurrency = 1 for a single local model, and smoke tests that run without Ollama
(python -m pytest). See hunch.engines for the contract, and hunch's Engines reference for what it measured.
A template (TEMPLATES in hunch_engine_ollama.py) asks a specialised model in its own format and says what its Yes
means for the spec's question. The name after # is part of the model string, so its answers are cached and
benchmarked apart from the generic prompt's.
Release files for hunch-engine-ollama 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hunch_engine_ollama-0.1.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hunch_engine_ollama-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / hunch_engine_ollama-0.1.0.tar.gz
| Download URL | hunch_engine_ollama-0.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fc03ca2b523a2c338b4b685bf499207769fcfb1aa7855324a345da1defbca77
|
|
BLAKE2b-256 checksum How to use checksums |
b7253c87098b83a905b27986795d65b7b90680c444bdb65075eb111ee05c01b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency logRelease files / hunch_engine_ollama-0.1.0-py3-none-any.whl
| Download URL | hunch_engine_ollama-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38784bc98434f29382b86dca2e7da8ee3e3038a4b2bbbef7f793d62be4f8619c
|
|
BLAKE2b-256 checksum How to use checksums |
680580904e09a83417e31bcc5fc904c2e44d2933144f7c6aedb16766e3506647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency log