Closed
Description
Describe the bug
IVectorStoreRecordCollection
does not have a method to list all the keys stored in the collection. So we are missing a way to compare the content of the collection with the source to find what keys are to be deleted (when they are no longer in the source data).
To Reproduce
Steps to reproduce the behavior:
- Go to https://github.com/microsoft/semantic-kernel/blob/main/dotnet/src/Connectors/VectorData.Abstractions/VectorStorage/IVectorStoreRecordCollection.cs
- Observe that there are methods to get by key, delete by key, upsert by key, but no method to list all keys
Expected behavior
We would expect to have something like IVectorStoreRecordCollection.ListAsync
. That would allow to find what keys need to be deleted.
Screenshots
N/A
Platform
- OS: all
- IDE: N/A
- Language: C#
- Source: main branch of repository
Additional context
N/A
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Sprint: Done