.Net: [MEVD] Throw for non-nullable embedding-generated vector properties without a setter #11740
Labels
Build
Features planned for next Build conference
msft.ext.vectordata
Related to Microsoft.Extensions.VectorData
.NET
Issue or Pull requests regarding .NET code
In #10492, we're adding the ability to map arbitrary properties to a data store vector property, via an IEmbeddingGenerator:
Such properties aren't read back from the database (embeddings can't be converted back to their source input) - we through if
Include Vectors
is set to true.To tighten things a bit, we could validate that such properties are nullable. However, these properties can also be getter-only, as follows:
So we should do this only when there's a setter.
The text was updated successfully, but these errors were encountered: