Class QdrantEmbeddingStore
Implements the IVectorStore interface using Qdrant as the backend. Provides operations for creating, deleting, updating, and querying vector data with associated metadata, leveraging Qdrant's vector search capabilities.
public sealed class QdrantEmbeddingStore : IVectorStore
- Inheritance
-
QdrantEmbeddingStore
- Implements
- Inherited Members
Constructors
- QdrantEmbeddingStore(QdrantGrpcClient)
Initializes a new instance of the QdrantEmbeddingStore class using a pre-configured QdrantGrpcClient. This constructor is intended for use under .NET Framework to support HTTPS connections with secure gRPC communication.
- QdrantEmbeddingStore(Uri, string, string)
Initializes a new instance of the QdrantEmbeddingStore.
Methods
- CollectionExistsAsync(string, CancellationToken)
Asynchronously checks if a collection with the specified identifier exists in the storage system.
- CreateCollectionAsync(string, uint, CancellationToken)
Asynchronously creates a new collection for storing vectors of a fixed size.
- DeleteCollectionAsync(string, CancellationToken)
Asynchronously deletes the specified collection from the storage system.
- DeleteFromMetadataAsync(string, MetadataCollection, CancellationToken)
Asynchronously deletes all vector entries from the specified collection that match the provided metadata filter.
- GetMetadataAsync(string, string, CancellationToken)
Asynchronously retrieves the metadata associated with a specific vector entry in a collection.
- RetrieveFromMetadataAsync(string, MetadataCollection, bool, bool, CancellationToken)
Asynchronously retrieves vector entries from the specified collection that match the given metadata criteria.
- SearchSimilarVectorsAsync(string, float[], uint, bool, bool, CancellationToken)
Asynchronously searches for vectors within the specified collection that are similar to a given query vector.
- UpdateMetadataAsync(string, string, MetadataCollection, bool, CancellationToken)
Asynchronously updates the metadata associated with an existing vector entry in the specified collection.
- UpsertAsync(string, string, float[], MetadataCollection, CancellationToken)
Asynchronously inserts a new vector entry or updates an existing one in the specified collection, along with its associated metadata.