Partager via


PineconeMemoryBuilderExtensions.WithPineconeMemoryStore Method

Definition

Registers Pinecone memory connector.

public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithPineconeMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string environment, string apiKey, System.Net.Http.HttpClient? httpClient = default);
static member WithPineconeMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string * string * System.Net.Http.HttpClient -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithPineconeMemoryStore (builder As MemoryBuilder, environment As String, apiKey As String, Optional httpClient As HttpClient = Nothing) As MemoryBuilder

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

environment
String

The environment for Pinecone.

apiKey
String

The API key for accessing Pinecone services.

httpClient
HttpClient

An optional HttpClient instance for making HTTP requests.

Returns

Updated Memory builder including Pinecone memory connector.

Applies to