Share via


ChromaMemoryStore Constructors

Definition

Overloads

ChromaMemoryStore(IChromaClient, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

ChromaMemoryStore(String, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

ChromaMemoryStore(HttpClient, String, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

ChromaMemoryStore(IChromaClient, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

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

Parameters

client
IChromaClient

Instance of IChromaClient implementation.

loggerFactory
ILoggerFactory

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

Applies to

ChromaMemoryStore(String, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

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

Parameters

endpoint
String

Chroma server endpoint URL.

loggerFactory
ILoggerFactory

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

Applies to

ChromaMemoryStore(HttpClient, String, ILoggerFactory)

Initializes a new instance of the ChromaMemoryStore class.

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

Parameters

httpClient
HttpClient

The HttpClient instance used for making HTTP requests.

endpoint
String

Chroma server endpoint URL.

loggerFactory
ILoggerFactory

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

Applies to