ChromaMemoryBuilderExtensions.WithChromaMemoryStore Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

WithChromaMemoryStore(MemoryBuilder, String)

Registers Chroma memory connector.

WithChromaMemoryStore(MemoryBuilder, HttpClient, String)

Registers Chroma memory connector.

WithChromaMemoryStore(MemoryBuilder, String)

Registers Chroma memory connector.

C#
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithChromaMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string endpoint);

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

endpoint
String

Chroma server endpoint URL.

Returns

Updated Memory builder including Chroma memory connector.

Applies to

Semantic Kernel Dotnet Latest
製品 バージョン
Semantic Kernel Dotnet Latest

WithChromaMemoryStore(MemoryBuilder, HttpClient, String)

Registers Chroma memory connector.

C#
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithChromaMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, System.Net.Http.HttpClient httpClient, string? endpoint = default);

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

httpClient
HttpClient

The HttpClient instance used for making HTTP requests.

endpoint
String

Chroma server endpoint URL. If not specified, the base address of the HTTP client is used.

Returns

Updated Memory builder including Chroma memory connector.

Applies to

Semantic Kernel Dotnet Latest
製品 バージョン
Semantic Kernel Dotnet Latest