Repository navigation
Releases
v0.5.0
- Require vgi-python >=0.55.2,<0.56 (protocol vgi.v3 / 3.4). 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.
serveextra = vgi-python[http,oauth]; the Docker image installs it, 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 tags point at v0.5.0; README notes the Haybarn 2.0.1
requirement.
v0.4.2
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. The SQL surface is unchanged; the llm secret type now documents each provider field and links to the setup guide.
v0.3.0
Ported to VGI protocol vgi.v3 / 3.2 (filtered scan planning), matching the current haybarn 2.0 community vgi extension. SDKs: vgi-python 0.50.0, vgi-rpc 0.53.1. Catalog metadata updated for vgi-lint 2.2 (short titles, catalog subtitle).
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.3
Metadata + docs pass.
- vgi-lint 0.73.0: 100/100, 0 findings (fixed VGI181 boilerplate + VGI182 type-name code-formatting).
- Corrected the documented error contract to fail-loud (matches actual behavior + README/CLAUDE.md): only empty/NULL input maps to NULL; a provider error, missing key, or unparseable structured reply raises a DuckDB error. No signature or name changes (ai_* mirrors Snowflake Cortex AISQL).
- SDK: vgi-python 0.16.1, vgi-rpc 0.25.0.
Gates green: ruff, mypy --strict, pydoclint 0.9.1, pytest (88), haybarn SQLLogic E2E.
vgi-llm v0.1.2
Patch release: publishes a container image, and tracks the current VGI ecosystem.
New
- OCI image — each release now builds + publishes a multi-arch (linux/amd64 + linux/arm64), keyless-cosign-signed image to
ghcr.io/query-farm/vgi-llm(vX.Y.Z→:X.Y.Z/:X.Y/:latest;main→:edge). Run it directly (docker run -p 8000:8000 ghcr.io/query-farm/vgi-llm:latest) orATTACH … LOCATION 'oci://ghcr.io/query-farm/vgi-llm:latest'.
Fixed
- Track vgi-python 0.16.0 — matches the current community
vgiDuckDB extension's catalog schema (the prior pin failed against the freshly-installed extension). - Satisfy vgi-lint 0.69.0's new VGI515 rule — every example query now carries a description (via the
vgi.example_queriestag).
CI green across Python 3.13–3.14 × Linux+macOS, haybarn SQLLogic E2E, vgi-lint 100/100. MIT — Copyright 2026 Query Farm LLC.
vgi-llm v0.1.1
Patch release hardening secret handling and CI.
Changes
- Aggregates honor
CREATE SECRETvia the public API —ai_agg/ai_summarize_aggnow read the resolvedllmsecret throughSecretsAccessor.get("llm")at bind (was a private-attribute read). - End-to-end secret proof — new
test/sql/secrets.test: against the livevgiextension,CREATE SECRET (TYPE llm, anthropic_api_key …, openrouter_api_key …, openai_api_key …, ollama_host …)is accepted and typedllm. Every provider key is configurable via a DuckDB secret. - CI determinism — run pydoclint isolated via
uvx(dodges adocstring_parsernamespace collision), install withuv sync --frozen, and use process-local in-memory test storage underpytest -xdist.
No functional/API changes to the SQL surface since v0.1.0. CI green across Python 3.13–3.14 × Linux+macOS, haybarn E2E, vgi-lint 100/100. MIT — Copyright 2026 Query Farm LLC.
vgi-llm v0.1.0
vgi-llm brings Snowflake Cortex AISQL-style AI functions to DuckDB — call LLMs and embed text directly in SQL — over a pluggable provider (Anthropic / OpenRouter / OpenAI / local Ollama) plus keyless local ONNX embeddings.
Highlights
- 14 functions:
ai_complete(+_details/_imagevision),ai_classify,ai_filter(BOOLEAN forWHERE),ai_extract,ai_sentiment,ai_summarize,ai_count_tokens(tiktoken),prompt(safe substitution),ai_embed/ai_similarity(keyless, fastembed/ONNX), andai_agg/ai_summarize_agg(hierarchical chunked map-reduce). - Keyless to start — embeddings, similarity,
prompt, and token counting need no key; one OpenRouter key unlocks hundreds of cloud models; local Ollama gives keyless completions. - Model auto-routing by prefix; keys via a unified
llmDuckDB secret or env vars; sixllm_*session settings (max_tokens/temperature/top_p/model/max_workers/timeout). - Loud failures — provider/runtime errors raise a DuckDB error; only empty input maps to
NULL.
Install
INSTALL vgi FROM community; LOAD vgi;
ATTACH 'llm' (TYPE vgi, LOCATION 'uv run vgi-llm-worker'); -- from a source checkoutOr install the attached wheel (pip install vgi_llm-0.1.0-py3-none-any.whl) and use LOCATION 'vgi-llm-worker'. See the README.
Status
Solid beta. Calls paid provider APIs (cost is per-row); not yet security-hardened for untrusted input. CI green (ruff/mypy --strict/pytest × Python 3.13–3.14 on Linux+macOS, haybarn SQLLogic E2E, vgi-lint 100/100). MIT — Copyright 2026 Query Farm LLC.