QdrantVectorDbClient.DeleteVectorByPayloadIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
override this.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.