Skip to content

v0.5.0

Choose a tag to compare

@rustyconover rustyconover released this 13 Nov 04:14
· 15 commits to main since this release

All three embedding functions now support consistent model selection for semantic search and retrieval.

  • Add embed_query(text, model) and embed_passage(text, model) alongside the existing embed(text, model) overload. Query prefixes follow the selected model; passages remain unprefixed.
  • Set VGI_EMBED_DEFAULT_MODEL before 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.5 unless 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.