PineconeKernelBuilderExtensions.AddPineconeVectorStoreRecordCollection Method
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.
Overloads
| AddPineconeVectorStoreRecordCollection<TRecord>(IKernelBuilder, 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>(IKernelBuilder, 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. |
AddPineconeVectorStoreRecordCollection<TRecord>(IKernelBuilder, 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.
public static Microsoft.SemanticKernel.IKernelBuilder AddPineconeVectorStoreRecordCollection<TRecord>(this Microsoft.SemanticKernel.IKernelBuilder builder, string collectionName, Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreRecordCollectionOptions<TRecord>? options = default, string? serviceId = default);
static member AddPineconeVectorStoreRecordCollection : Microsoft.SemanticKernel.IKernelBuilder * string * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreRecordCollectionOptions<'Record> * string -> Microsoft.SemanticKernel.IKernelBuilder
<Extension()>
Public Function AddPineconeVectorStoreRecordCollection(Of TRecord) (builder As IKernelBuilder, collectionName As String, Optional options As PineconeVectorStoreRecordCollectionOptions(Of TRecord) = Nothing, Optional serviceId As String = Nothing) As IKernelBuilder
Type Parameters
- TRecord
The type of the data model that the collection should contain.
Parameters
- builder
- IKernelBuilder
The builder to register the Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 on.
- collectionName
- String
The name of the collection that this PineconeVectorStoreRecordCollection<TRecord> will access.
Optional configuration options to pass to the PineconeVectorStoreRecordCollection<TRecord>.
- serviceId
- String
An optional service id to use as the service key.
Returns
The kernel builder.
Applies to
AddPineconeVectorStoreRecordCollection<TRecord>(IKernelBuilder, 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.
public static Microsoft.SemanticKernel.IKernelBuilder AddPineconeVectorStoreRecordCollection<TRecord>(this Microsoft.SemanticKernel.IKernelBuilder builder, string collectionName, string apiKey, Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreRecordCollectionOptions<TRecord>? options = default, string? serviceId = default);
static member AddPineconeVectorStoreRecordCollection : Microsoft.SemanticKernel.IKernelBuilder * string * string * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeVectorStoreRecordCollectionOptions<'Record> * string -> Microsoft.SemanticKernel.IKernelBuilder
<Extension()>
Public Function AddPineconeVectorStoreRecordCollection(Of TRecord) (builder As IKernelBuilder, collectionName As String, apiKey As String, Optional options As PineconeVectorStoreRecordCollectionOptions(Of TRecord) = Nothing, Optional serviceId As String = Nothing) As IKernelBuilder
Type Parameters
- TRecord
The type of the data model that the collection should contain.
Parameters
- builder
- IKernelBuilder
The builder to register the Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 on.
- collectionName
- String
The name of the collection that this PineconeVectorStoreRecordCollection<TRecord> will access.
- apiKey
- String
The api key for Pinecone.
Optional configuration options to pass to the PineconeVectorStoreRecordCollection<TRecord>.
- serviceId
- String
An optional service id to use as the service key.
Returns
The kernel builder.