WeaviateMemoryBuilderExtensions.WithWeaviateMemoryStore 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
WithWeaviateMemoryStore(MemoryBuilder, String, String, String) |
Registers Weaviate memory connector. |
WithWeaviateMemoryStore(MemoryBuilder, HttpClient, String, String, String) |
Registers Weaviate memory connector. |
WithWeaviateMemoryStore(MemoryBuilder, String, String, String)
Registers Weaviate memory connector.
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithWeaviateMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string endpoint, string? apiKey, string? apiVersion = default);
static member WithWeaviateMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string * string * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithWeaviateMemoryStore (builder As MemoryBuilder, endpoint As String, apiKey As String, Optional apiVersion As String = Nothing) As MemoryBuilder
Parameters
- builder
- MemoryBuilder
The MemoryBuilder instance.
- endpoint
- String
The Weaviate server endpoint URL.
- apiKey
- String
The API key for accessing Weaviate server.
- apiVersion
- String
The API version to use.
Returns
Updated Memory builder including Weaviate memory connector.
Applies to
WithWeaviateMemoryStore(MemoryBuilder, HttpClient, String, String, String)
Registers Weaviate memory connector.
public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithWeaviateMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, System.Net.Http.HttpClient httpClient, string? endpoint = default, string? apiKey = default, string? apiVersion = default);
static member WithWeaviateMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * System.Net.Http.HttpClient * string * string * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithWeaviateMemoryStore (builder As MemoryBuilder, httpClient As HttpClient, Optional endpoint As String = Nothing, Optional apiKey As String = Nothing, Optional apiVersion As String = Nothing) As MemoryBuilder
Parameters
- builder
- MemoryBuilder
The MemoryBuilder instance.
- httpClient
- HttpClient
The optional HttpClient instance used for making HTTP requests.
- endpoint
- String
The Weaviate server endpoint URL. If not specified, the base address of the HTTP client is used.
- apiKey
- String
The API key for accessing Weaviate server.
- apiVersion
- String
The API version to use.
Returns
Updated Memory builder including Weaviate memory connector.