-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeBuildFeatures planned for next Build conferenceFeatures planned for next Build conferencemsft.ext.vectordataRelated to Microsoft.Extensions.VectorDataRelated to Microsoft.Extensions.VectorData
Description
PostgresVectorStore.GetCollection() currently returns the abstraction interface IVectorStoreRecordCollection<TKey, TRecord>; if a user then wishes to use a PG-specific API on the collection, they then must downcast the interface. This makes it awkward to both use the IVectorStore implementation (as a factory for collection instances) and use connector-specific APIs.
We can simply have GetCollection() return a PostgresVectorStoreRecordCollection, and have an explicit interface implementation to implement the required IVectorStore interface method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeBuildFeatures planned for next Build conferenceFeatures planned for next Build conferencemsft.ext.vectordataRelated to Microsoft.Extensions.VectorDataRelated to Microsoft.Extensions.VectorData
Type
Projects
Status
Sprint: Done