Partager via


QdrantMemoryBuilderExtensions.WithQdrantMemoryStore Method

Definition

Overloads

WithQdrantMemoryStore(MemoryBuilder, String, Int32)

Registers Qdrant memory connector.

WithQdrantMemoryStore(MemoryBuilder, HttpClient, Int32, String)

Registers Qdrant memory connector.

WithQdrantMemoryStore(MemoryBuilder, String, Int32)

Registers Qdrant memory connector.

public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithQdrantMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string endpoint, int vectorSize);
static member WithQdrantMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string * int -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithQdrantMemoryStore (builder As MemoryBuilder, endpoint As String, vectorSize As Integer) As MemoryBuilder

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

endpoint
String

The Qdrant Vector Database endpoint.

vectorSize
Int32

The size of the vectors.

Returns

Updated Memory builder including Qdrant memory connector.

Applies to

WithQdrantMemoryStore(MemoryBuilder, HttpClient, Int32, String)

Registers Qdrant memory connector.

public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithQdrantMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, System.Net.Http.HttpClient httpClient, int vectorSize, string? endpoint = default);
static member WithQdrantMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * System.Net.Http.HttpClient * int * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithQdrantMemoryStore (builder As MemoryBuilder, httpClient As HttpClient, vectorSize As Integer, Optional endpoint As String = Nothing) As MemoryBuilder

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

httpClient
HttpClient

The optional HttpClient instance used for making HTTP requests.

vectorSize
Int32

The size of the vectors.

endpoint
String

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

Returns

Updated Memory builder including Qdrant memory connector.

Applies to