-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)StoreIssues & PRs about the AI Store componentIssues & PRs about the AI Store component
Description
There should be a possibility to delete points from the store, for example by metadata or by ID.
In my case (I use qdrant), when I add a file to the store and also save information about this file in the Doctrine database, I want to have the ability to remove this file (or multiple files) both from the Doctrine DB and from the vector store.
public function deletePointByMetadata(array $metadataFilter): void
{
$this->request(
'POST',
\sprintf('collections/%s/points/delete', $this->collectionName),
[
'filter' => [
'must' => [
[
'key' => array_key_first($metadataFilter),
'match' => [
'value' => $metadataFilter[array_key_first($metadataFilter)],
],
],
],
],
],
['wait' => $this->async ? 'false' : 'true'],
);
}Or a more general function like public function delete(...) that would allow deleting either by ID or by metadata.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)StoreIssues & PRs about the AI Store componentIssues & PRs about the AI Store component