PineconeKernelBuilderExtensions.AddPineconeVectorStore Method

Definition

Overloads

AddPineconeVectorStore(IKernelBuilder, PineconeVectorStoreOptions, String)

Register a Pinecone IVectorStore with the specified service ID and where Pinecone.PineconeClient is retrieved from the dependency injection container.

AddPineconeVectorStore(IKernelBuilder, String, PineconeVectorStoreOptions, String)

Register a Pinecone IVectorStore with the specified service ID and where Pinecone.PineconeClient is constructed using the provided apikey.

AddPineconeVectorStore(IKernelBuilder, PineconeVectorStoreOptions, String)

Register a Pinecone IVectorStore with the specified service ID and where Pinecone.PineconeClient is retrieved from the dependency injection container.

public static Microsoft.SemanticKernel.IKernelBuilder AddPineconeVectorStore (this Microsoft.SemanticKernel.IKernelBuilder builder, Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreOptions? options = default, string? serviceId = default);
static member AddPineconeVectorStore : Microsoft.SemanticKernel.IKernelBuilder * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreOptions * string -> Microsoft.SemanticKernel.IKernelBuilder
<Extension()>
Public Function AddPineconeVectorStore (builder As IKernelBuilder, Optional options As PineconeVectorStoreOptions = Nothing, Optional serviceId As String = Nothing) As IKernelBuilder

Parameters

builder
IKernelBuilder

The builder to register the IVectorStore on.

options
PineconeVectorStoreOptions

Optional options to further configure the IVectorStore.

serviceId
String

An optional service id to use as the service key.

Returns

The kernel builder.

Applies to

AddPineconeVectorStore(IKernelBuilder, String, PineconeVectorStoreOptions, String)

Register a Pinecone IVectorStore with the specified service ID and where Pinecone.PineconeClient is constructed using the provided apikey.

public static Microsoft.SemanticKernel.IKernelBuilder AddPineconeVectorStore (this Microsoft.SemanticKernel.IKernelBuilder builder, string apiKey, Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreOptions? options = default, string? serviceId = default);
static member AddPineconeVectorStore : Microsoft.SemanticKernel.IKernelBuilder * string * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreOptions * string -> Microsoft.SemanticKernel.IKernelBuilder
<Extension()>
Public Function AddPineconeVectorStore (builder As IKernelBuilder, apiKey As String, Optional options As PineconeVectorStoreOptions = Nothing, Optional serviceId As String = Nothing) As IKernelBuilder

Parameters

builder
IKernelBuilder

The builder to register the IVectorStore on.

apiKey
String

The api key for Pinecone.

options
PineconeVectorStoreOptions

Optional options to further configure the IVectorStore.

serviceId
String

An optional service id to use as the service key.

Returns

The kernel builder.

Applies to