Share via


PineconeServiceCollectionExtensions Class

Definition

Extension methods to register Pinecone Microsoft.Extensions.VectorData.IVectorStore instances on an IServiceCollection.

public static class PineconeServiceCollectionExtensions
type PineconeServiceCollectionExtensions = class
Public Module PineconeServiceCollectionExtensions
Inheritance
PineconeServiceCollectionExtensions

Methods

AddPineconeVectorStore(IServiceCollection, PineconeVectorStoreOptions, String)

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

AddPineconeVectorStore(IServiceCollection, String, PineconeVectorStoreOptions, String)

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

AddPineconeVectorStoreRecordCollection<TRecord>(IServiceCollection, String, PineconeVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Pinecone Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where Pinecone.PineconeClient is retrieved from the dependency injection container.

AddPineconeVectorStoreRecordCollection<TRecord>(IServiceCollection, String, String, PineconeVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Pinecone Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the provided Pinecone.PineconeClient and the specified service ID.

Applies to