Share via


PineconeMemoryStore Constructors

Definition

Overloads

PineconeMemoryStore(IPineconeClient, ILoggerFactory)

Initializes a new instance of the PineconeMemoryStore class.

PineconeMemoryStore(String, String, ILoggerFactory)

Initializes a new instance of the PineconeMemoryStore class.

PineconeMemoryStore(IPineconeClient, ILoggerFactory)

Initializes a new instance of the PineconeMemoryStore class.

public PineconeMemoryStore (Microsoft.SemanticKernel.Connectors.Pinecone.IPineconeClient pineconeClient, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.Connectors.Pinecone.PineconeMemoryStore : Microsoft.SemanticKernel.Connectors.Pinecone.IPineconeClient * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.Connectors.Pinecone.PineconeMemoryStore
Public Sub New (pineconeClient As IPineconeClient, Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

pineconeClient
IPineconeClient

Instance of Pinecone client which implements IPineconeClient interface.

loggerFactory
ILoggerFactory

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

Applies to

PineconeMemoryStore(String, String, ILoggerFactory)

Initializes a new instance of the PineconeMemoryStore class.

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

Parameters

pineconeEnvironment
String

Pinecone project environment, see https://docs.pinecone.io/docs/projects#project-environment.

apiKey
String

Pinecone API key.

loggerFactory
ILoggerFactory

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

Applies to