-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed as not planned
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeNextSemestermsft.ext.vectordataRelated to Microsoft.Extensions.VectorDataRelated to Microsoft.Extensions.VectorData
Description
The current approach requires different code for each storage type, making it hard to switch storage backends without modifying the code.
Example inconsistencies:
- Qdrant: GetCollection<Guid, object> or GetCollection<Guid, ulong>
- Weaviate: GetCollection<Guid, object>
- Azure AI Search: GetCollection<string, object>
- Sqlite: GetCollection<Guid, object> or GetCollection<Guid, ulong>
- Postgres: supports short, int, long, string, Guid, but not ulong
- AzureCosmosDbNoSQL: allows composite keys
Suggestion: introduce a more general abstraction that allows using different storage backends without requiring code changes. Don’t force .NET “generics” unless they are consistent across storage engines.
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeNextSemestermsft.ext.vectordataRelated to Microsoft.Extensions.VectorDataRelated to Microsoft.Extensions.VectorData
Type
Projects
Status
Backlog