Repository navigation
v0.3.2
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:
AddChromaVectorStoreandAddKeyedChromaVectorStoreno longer warn, as the vector store maps no record type: register it and get aChromaDynamicCollectionwithGetDynamicCollection. 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 itsHttpClient.
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