Skip to content

Lasagna 0.2.1

Choose a tag to compare

@dolev31 dolev31 released this 04 Nov 08:45
5df85c7

A patch release: uploads to the default Docker Compose stack are indexed again.
Thank you to @tnalbant, for the CLI reference
that no longer changes with the installed Typer version, and to
@segevshlomovIBM, whose evidence runs on
Milvus Lite and in the Compose stack found seven harness bugs, filed as #46 to
#52 (still open).

Added

  • A dev container (.devcontainer/devcontainer.json): a GitHub Codespace or
    the Dev Containers extension sets up Python 3.12, the full development
    install (with CPU-only torch, under the release's constraints) and Docker on
    first start, so the Compose stack a pull request is tested in runs inside
    it.

Fixed

  • Uploads to the default Docker Compose stack (Milvus server, Celery worker)
    are indexed again. Before indexing, the worker clears what an earlier attempt
    at the document left, and a Milvus server refuses a filtered delete on a
    collection that is not loaded, so before any search had loaded it every upload
    ended in error. MilvusBackend.delete and delete_raw now load the
    collection first, as its reads already did.
  • An AUTOINDEX index is accepted by a Milvus server, whether it comes from an
    IndexConfig (which carried its default HNSW params) or from the collection
    manager with index_params set. A server refuses any param but the metric
    with AUTOINDEX; only Milvus Lite, which builds a FLAT index instead, took it.
  • The generated CLI reference labels an option's type the same way whichever
    Typer version is installed, so a checkout installed under the release's
    constraints file (Typer 0.26.8) no longer reports the page as out of date and
    rewrites it.
  • The evaluation SDK's benchmark catalog lists 2wikimultihopqa and says 32
    public benchmarks; it had kept 31 since 0.2.0. Every page that states how many
    benchmarks, components or published loops there are is now checked against
    the code, so a pull request that adds one updates each page that counts it.

Earlier changes: https://github.com/dolev31/lasagna/blob/v0.2.1/CHANGELOG.md