.Net: [MEVD] Remove the ability to use doubles (float64) as embedding #11654
Labels
Build
Features planned for next Build conference
msft.ext.vectordata
Related to Microsoft.Extensions.VectorData
.NET
Issue or Pull requests regarding .NET code
Some of our connectors (Weaviate, Mongo+Azure Mongo, Azure NoSQL, Redis JSON) support
ReadOnlyMemory<double>
as embedding types. No actual major embedding model supports producing 64-bit floating point numbers AFAIK, and there's apparently no reason for them to.I'm assuming that doubles were supported in JSON-based connectors, where the number isn't actually typed (in the sense that the number representation is textual in JSON). However, this does not mean we should be exposing double embeddings to users: it's likely that most vector databases will truncate the precision anyway, and this isn't an actual supported scenario anywhere.
The text was updated successfully, but these errors were encountered: