Share via


IQdrantVectorDbClient.DeleteVectorByPayloadIdAsync Method

Definition

Delete a vector by its unique identifier in the metadata (Qdrant payload).

public System.Threading.Tasks.Task DeleteVectorByPayloadIdAsync (string collectionName, string metadataId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteVectorByPayloadIdAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteVectorByPayloadIdAsync (collectionName As String, metadataId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionName
String

The name assigned to a collection of vectors.

metadataId
String

The unique ID stored in a Qdrant vector entry's metadata.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Applies to