Share via


QdrantServiceCollectionExtensions Class

Definition

Extension methods to register Qdrant Microsoft.Extensions.VectorData.IVectorStore instances on an IServiceCollection.

public static class QdrantServiceCollectionExtensions
type QdrantServiceCollectionExtensions = class
Public Module QdrantServiceCollectionExtensions
Inheritance
QdrantServiceCollectionExtensions

Methods

AddQdrantVectorStore(IServiceCollection, QdrantVectorStoreOptions, String)

Register a Qdrant Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where Qdrant.Client.QdrantClient is retrieved from the dependency injection container.

AddQdrantVectorStore(IServiceCollection, String, Int32, Boolean, String, QdrantVectorStoreOptions, String)

Register a Qdrant Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where Qdrant.Client.QdrantClient is constructed using the provided parameters.

AddQdrantVectorStoreRecordCollection<TKey,TRecord>(IServiceCollection, String, QdrantVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Qdrant Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where the Qdrant Qdrant.Client.QdrantClient is retrieved from the dependency injection container.

AddQdrantVectorStoreRecordCollection<TKey,TRecord>(IServiceCollection, String, String, Int32, Boolean, String, QdrantVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Qdrant Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where the Qdrant Qdrant.Client.QdrantClient is constructed using the provided parameters.

Applies to