Skip to content

v2.9.2

Choose a tag to compare

@Laurianti Laurianti released this 06 Oct 03:47
· 64 commits to main since this release

Patch release of ChromaDotNet.Client and ChromaDotNet.Client.DependencyInjection. Package validation against 2.9.1 finds no breaking change, and there is no new public API.

dotnet add package ChromaDotNet.Client

Fixed

  • Floats that Chroma cannot write. Chroma 1.x sends null for an embedding beyond the range of a float in a cosine collection, and for the distance to it in an l2 or ip collection. GetAsync and QueryAsync threw a ChromaException for the whole answer. Now null reads as NaN, and the other records come back as they are, as with the Python client. A distance beyond the range of a float, which Chroma 0.6.3 sends, reads as an infinity with its sign.

Documentation

  • Shorter texts in the README and in the migration guide from 1.x.
  • docs/COMPATIBILITY.md: the null embeddings and distances of Chroma 1.x, and -0.0 in metadata, which Chroma 0.6.3, 1.0.0 and 1.5.9 return as 0.0.