.Net MEVD: Allow arbitrary provider-specific schema annotations #10359
Labels
memory connector
memory
msft.ext.vectordata
Related to Microsoft.Extensions.VectorData
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
triage
Different databases have different schema configuration options that aren't universal, and therefore cannot be captured by the abstraction. We can have an extensibility mechanism to allow such options to be specified via "annotations" on the abstraction's schema definition objects.
One approach would be to have provider-specific subclasses of e.g. VectorStoreRecordDataProperty; the downside of that approach is that the schema can only be used on a single vector database (applications targeting multiple vector databases - probably rare - would have to have two separate copies of the schema).
The other approach would be a bag-of-properties (e.g.
Dictionary<string, object?>
, along with some user-facing extension methods which allow nice, strongly-typed management of the data in the bag./cc @westey-m
The text was updated successfully, but these errors were encountered: