Skip to content

v0.3.2

Choose a tag to compare

@Laurianti Laurianti released this 05 Oct 13:12
· 26 commits to main since this release

Patch release of ChromaDotNet.VectorData: the vector store registers with dependency injection also with NativeAOT and trimming, and the README of the package is complete. Built on ChromaDotNet.Client 2.8.0.

dotnet add package ChromaDotNet.VectorData

Fixes

  • NativeAOT and trimming with dependency injection: AddChromaVectorStore and AddKeyedChromaVectorStore no longer warn, as the vector store maps no record type: register it and get a ChromaDynamicCollection with GetDynamicCollection. The collection registrations, which map the record type by reflection, still warn, and their warnings now say this. Before, every registration warned, and the warnings for trimming and for NativeAOT had each other's message.
  • Documentation: the README of the package describes the registrations and the package of AddChromaClient, the score of hybrid search, the nullable types and the target frameworks; the XML documentation gives the lifetime of a collection registration and when the vector store disposes its HttpClient.

Tested

The Microsoft.Extensions.VectorData conformance tests pass against Chroma 1.5.0, 1.5.9 and the latest release, and the NativeAOT application of the repository now registers the vector store with dependency injection.

Package: ChromaDotNet.VectorData 0.3.2