Partager via


QdrantMemoryStore Constructors

Definition

Overloads

QdrantMemoryStore(IQdrantVectorDbClient, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

QdrantMemoryStore(String, Int32, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

QdrantMemoryStore(HttpClient, Int32, String, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

QdrantMemoryStore(IQdrantVectorDbClient, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

public QdrantMemoryStore (Microsoft.SemanticKernel.Connectors.Qdrant.IQdrantVectorDbClient client, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore : Microsoft.SemanticKernel.Connectors.Qdrant.IQdrantVectorDbClient * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore
Public Sub New (client As IQdrantVectorDbClient, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

client
IQdrantVectorDbClient

The Qdrant Db client for interacting with Qdrant Vector Database.

loggerFactory
ILoggerFactory

The ILoggerFactory to use for logging. If null, no logging will be performed.

Applies to

QdrantMemoryStore(String, Int32, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

public QdrantMemoryStore (string endpoint, int vectorSize, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore : string * int * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore
Public Sub New (endpoint As String, vectorSize As Integer, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

endpoint
String

The Qdrant Vector Database endpoint.

vectorSize
Int32

The size of the vectors used.

loggerFactory
ILoggerFactory

The ILoggerFactory to use for logging. If null, no logging will be performed.

Applies to

QdrantMemoryStore(HttpClient, Int32, String, ILoggerFactory)

Initializes a new instance of the QdrantMemoryStore class.

public QdrantMemoryStore (System.Net.Http.HttpClient httpClient, int vectorSize, string? endpoint = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore : System.Net.Http.HttpClient * int * string * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Qdrant.QdrantMemoryStore
Public Sub New (httpClient As HttpClient, vectorSize As Integer, Optional endpoint As String = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

httpClient
HttpClient

The HttpClient instance used for making HTTP requests.

vectorSize
Int32

The size of the vectors used in the Qdrant Vector Database.

endpoint
String

The optional endpoint URL for the Qdrant Vector Database. If not specified, the base address of the HTTP client is used.

loggerFactory
ILoggerFactory

The ILoggerFactory to use for logging. If null, no logging will be performed.

Applies to