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. No worker-visible changes beyond the protocol bump.
v0.3.0
Ported to VGI protocol 3.2. SDKs: vgi-python 0.50.0, vgi-rpc 0.53.1. Metadata fixes for vgi-lint-check 2.1/2.2: short catalog and schema titles (VGI147) and a one-sentence catalog subtitle (VGI148).
v0.2.0
Ported to VGI protocol vgi.v3 / 3.1, which requires haybarn 2.0 (the community vgi extension for haybarn 2.0). SDKs: vgi-python 0.49.0, vgi-rpc 0.53.1. CI now runs on haybarn 2.0 and uses vgi-lint-check v2.
v0.1.0
First tagged release of vgi-translate — a VGI worker bringing local, offline neural machine translation and language detection into DuckDB/SQL.
Highlights
- Scalar
translate(text, target[, source])anddetect_lang(text), plus the batchedtranslate_all(rows, id, target, source)table function, in thetranslate(tr) catalog. - Fully local: Argos Translate / OPUS-MT (MIT, commercial-safe) + py3langid (BSD). No API keys, no per-query network once a language package is cached.
- Browsable
languagesreference view of ISO 639-1 codes. vgi-lint 100/100.
Install
- Container:
ghcr.io/query-farm/vgi-translate:0.1.0(also:latest,:edge) — HTTP (/healthon :8000) and stdio transports from one image. - Wheel/sdist: attached to this release (built +
twine checked in CI).
Runs on DuckDB via the signed community vgi extension:
INSTALL vgi FROM community; LOAD vgi;
ATTACH 'tr' (TYPE vgi, LOCATION 'vgi-translate-worker');
SELECT tr.translate('Hello, world.', 'es');