Partager via


QdrantVectorDbClient Class

Definition

An implementation of a client for the Qdrant Vector Database. This class is used to connect, create, delete, and get embeddings data from a Qdrant Vector Database instance.

public sealed class QdrantVectorDbClient : Microsoft.SemanticKernel.Connectors.Qdrant.IQdrantVectorDbClient
type QdrantVectorDbClient = class
    interface IQdrantVectorDbClient
Public NotInheritable Class QdrantVectorDbClient
Implements IQdrantVectorDbClient
Inheritance
QdrantVectorDbClient
Implements

Constructors

QdrantVectorDbClient(HttpClient, Int32, String, ILoggerFactory)

Initializes a new instance of the QdrantVectorDbClient class.

QdrantVectorDbClient(String, Int32, ILoggerFactory)

Initializes a new instance of the QdrantVectorDbClient class.

Methods

CreateCollectionAsync(String, CancellationToken)

Create a Qdrant vector collection.

DeleteCollectionAsync(String, CancellationToken)

Delete a Qdrant vector collection.

DeleteVectorByPayloadIdAsync(String, String, CancellationToken)

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

DeleteVectorsByIdAsync(String, IEnumerable<String>, CancellationToken)

Delete vectors by their unique Qdrant IDs.

DoesCollectionExistAsync(String, CancellationToken)

Check if a vector collection exists.

FindNearestInCollectionAsync(String, ReadOnlyMemory<Single>, Double, Int32, Boolean, IEnumerable<String>, CancellationToken)

Find the nearest vectors in a collection using vector similarity search.

GetVectorByPayloadIdAsync(String, String, Boolean, CancellationToken)

Get a specific vector by a unique identifier in the metadata (Qdrant payload).

GetVectorsByIdAsync(String, IEnumerable<String>, Boolean, CancellationToken)

Get vectors by their unique Qdrant IDs.

ListCollectionsAsync(CancellationToken)

List all vector collections.

UpsertVectorsAsync(String, IEnumerable<QdrantVectorRecord>, CancellationToken)

Upsert a group of vectors into a collection.

Applies to