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.
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithChromaMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string endpoint);
static member WithChromaMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithChromaMemoryStore (builder As MemoryBuilder, endpoint As String) As MemoryBuilder
Parameters
- builder
- MemoryBuilder
The MemoryBuilder instance.
- endpoint
- String
Chroma server endpoint URL.
Returns
Updated Memory builder including Chroma memory connector.
Applies to
WithChromaMemoryStore(MemoryBuilder, HttpClient, String)
Registers Chroma memory connector.
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithChromaMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, System.Net.Http.HttpClient httpClient, string? endpoint = default);
static member WithChromaMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * System.Net.Http.HttpClient * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithChromaMemoryStore (builder As MemoryBuilder, httpClient As HttpClient, Optional endpoint As String = Nothing) As MemoryBuilder
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.