Repository navigation
Releases
v0.5.0
Speaks VGI protocol 3.4 (vgi-python >=0.55.2,<0.56), so it needs Haybarn 2.0.1 or newer (or stock DuckDB 2.0 with INSTALL vgi FROM query_farm). Haybarn 2.0.0 loads a 3.3 vgi extension that cannot attach it.
- Require vgi-python >=0.55.2,<0.56 (protocol vgi.v3 / 3.4); uv.lock
re-locked. This release needs Haybarn 2.0.1, whose community vgi
extension speaks 3.4; Haybarn 2.0.0 loads a 3.3 extension that cannot
attach it. - SQL tests run on haybarn-unittest 2.0.1rc3.
- serve extra = vgi-python[http,oauth]; the Docker image installs
'.[serve]', so it runs in Orchard hosted mode: VGI_ORCHARD_HOSTED=1 with
VGI_JWT_ISSUER, VGI_JWT_AUDIENCE, VGI_JWT_JWKS_URI and VGI_SIGNING_KEY.
The HEALTHCHECK uses HEAD /health, which stays anonymous in hosted mode. - README quick-start tag points at v0.5.0; CHANGELOG entry.
v0.4.1
v0.4.0
Speaks VGI protocol 3.3 (vgi-python 0.51.0) and requires the current VGI DuckDB extension; 3.2 extensions are incompatible.
v0.3.0
Ported to VGI protocol 3.2: vgi-python 0.49.0 -> 0.50.0 (vgi-rpc unchanged at 0.53.1). Metadata fixes for vgi-lint-check 2.2: short catalog/schema titles (VGI147) and a one-sentence catalog subtitle (VGI148); vgi-lint scores 100/100. Requires haybarn 2.0's community vgi extension with protocol 3.2 support.
v0.2.0
Ported to VGI protocol 3.1 (vgi.v3) / haybarn 2.0: vgi-python 0.46.1 -> 0.49.0, vgi-rpc 0.52.0 -> 0.53.1. This release requires haybarn 2.0's community vgi extension; it is not compatible with haybarn 1.5 / vgi.v2.
v0.1.0
First release of vgi-rerank: local cross-encoder reranking (fastembed/ONNX, no torch) as VGI DuckDB SQL functions — the precision second stage for RAG/semantic search.
rerank_score(query, document[, model])— cross-encoder relevance logit for ORDER BY ... DESC LIMIT k reranking of a recall-produced top-K candidate set.supported_models()— discover the available reranker models and their licenses.
Ships three ways:
- PyPI-style sdist + wheel attached to this release (
uv build, twine-checked). - Multi-arch container
ghcr.io/query-farm/vgi-rerank:0.1.0(also:latest,:edge) serving HTTP (/health + VGI RPC) and stdio. uv run rerank_worker.py/vgi-rerank-workerfor a filesystem ATTACH.
Default model: Xenova/ms-marco-MiniLM-L-6-v2 (~80 MB, Apache-2.0).