Repository navigation
Releases
v0.6.0
Full Changelog: v0.5.2...v0.6.0
v0.5.2
v0.5.1
v0.5.0
All three embedding functions now support consistent model selection for semantic search and retrieval.
- Add
embed_query(text, model)andembed_passage(text, model)alongside the existingembed(text, model)overload. Query prefixes follow the selected model; passages remain unprefixed. - Set
VGI_EMBED_DEFAULT_MODELbefore worker startup to configure the shared default used by embedding functions, dimension lookup, warm-up, and catalog metadata. Explicit model arguments override it. - Existing one-argument calls retain
BAAI/bge-small-en-v1.5unless the default is configured. Use the same model for queries and stored document vectors; re-embed stored data when changing models.
Validated with unit and worker RPC tests, SQL integration tests over stdio/HTTP/Unix sockets, formatting/lint/type/docstring checks, executable metadata checks, and wheel/sdist validation.
Requires the current VGI DuckDB extension supporting protocol 3.3, as in v0.4.0.
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 SQL changes.
v0.3.0
Ported to VGI protocol vgi.v3 3.2 on vgi-python 0.50.0 (vgi-rpc 0.53.1). Requires a haybarn 2.0 vgi extension that speaks protocol 3.2; 3.1 hosts can no longer attach it. Catalog metadata updated for vgi-lint-check 2.2: shorter display titles (catalog "Text Embeddings", schema "Embeddings", view "Available Models") and a new one-sentence vgi.subtitle for listings.
v0.2.0
Ported to VGI protocol vgi.v3 3.1 / haybarn 2.0 on vgi-python 0.49.0 (vgi-rpc 0.32.x). This release requires haybarn 2.0's community vgi extension. Earlier haybarn 1.5 / vgi.v2 hosts can no longer attach it. CI now resolves haybarn-v2.0.* and gates metadata with vgi-lint-check@v2.
v0.1.0
First release of vgi-embed — local text embeddings (fastembed/ONNX, no torch) as VGI DuckDB SQL functions for semantic search / RAG.
Highlights
embed(text[, model]),embed_query/embed_passage,similarity,embedding_dim, and thesupported_models()discovery table over Apache Arrow (FLOAT[]).- Default model
BAAI/bge-small-en-v1.5(384-dim, MIT); larger bge + all-MiniLM checkpoints supported. - Runs entirely in-process/offline after a one-time model download.
Install
- PyPI-style wheel/sdist: attached to this release by
release.yml(pip install vgi_embed-0.1.0-py3-none-any.whl). - Container:
ghcr.io/query-farm/vgi-embed:0.1.0(multi-arch amd64+arm64; serves HTTP/health+ VGI RPC, andstdio).
Transports: subprocess/stdio, HTTP, and unix — the same sqllogictest E2E suite passes over all three.