PineconeClient(String, String, ILoggerFactory, HttpClient) Constructor
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.
Initializes a new instance of the PineconeClient class.
public PineconeClient (string pineconeEnvironment, string apiKey, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.SemanticKernel.Connectors.Pinecone.PineconeClient : string * string * Microsoft.Extensions.Logging.ILoggerFactory * System.Net.Http.HttpClient -> Microsoft.SemanticKernel.Connectors.Pinecone.PineconeClient
Public Sub New (pineconeEnvironment As String, apiKey As String, Optional loggerFactory As ILoggerFactory = Nothing, Optional httpClient As HttpClient = Nothing)
Parameters
- pineconeEnvironment
- String
The environment for Pinecone.
- apiKey
- String
The API key for accessing Pinecone services.
- loggerFactory
- ILoggerFactory
The ILoggerFactory to use for logging. If null, no logging will be performed.
- httpClient
- HttpClient
An optional HttpClient instance for making HTTP requests.