WeaviateMemoryStore Constructors
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
WeaviateMemoryStore(String, String, String, ILoggerFactory) |
Initializes a new instance of the WeaviateMemoryStore class. |
WeaviateMemoryStore(HttpClient, String, String, String, ILoggerFactory) |
Initializes a new instance of the WeaviateMemoryStore class. |
WeaviateMemoryStore(String, String, String, ILoggerFactory)
Initializes a new instance of the WeaviateMemoryStore class.
public WeaviateMemoryStore (string endpoint, string? apiKey = default, string? apiVersion = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateMemoryStore : string * string * string * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateMemoryStore
Public Sub New (endpoint As String, Optional apiKey As String = Nothing, Optional apiVersion As String = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- endpoint
- String
The Weaviate server endpoint URL.
- apiKey
- String
The API key for accessing Weaviate server.
- apiVersion
- String
The API version to use.
- loggerFactory
- ILoggerFactory
The ILoggerFactory to use for logging. If null, no logging will be performed.
Applies to
WeaviateMemoryStore(HttpClient, String, String, String, ILoggerFactory)
Initializes a new instance of the WeaviateMemoryStore class.
public WeaviateMemoryStore (System.Net.Http.HttpClient httpClient, string? apiKey = default, string? endpoint = default, string? apiVersion = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateMemoryStore : System.Net.Http.HttpClient * string * string * string * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Weaviate.WeaviateMemoryStore
Public Sub New (httpClient As HttpClient, Optional apiKey As String = Nothing, Optional endpoint As String = Nothing, Optional apiVersion As String = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- httpClient
- HttpClient
The HttpClient instance used for making HTTP requests.
- apiKey
- String
The API key for accessing Weaviate server.
- endpoint
- String
The optional Weaviate server endpoint URL. If not specified, the base address of the HTTP client is used.
- apiVersion
- String
The API version to use.
- loggerFactory
- ILoggerFactory
The ILoggerFactory to use for logging. If null, no logging will be performed.