Share via


AzureCosmosDBMongoDBKernelBuilderExtensions Class

Definition

Extension methods to register Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.IVectorStore instances on the IKernelBuilder.

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

Methods

AddAzureCosmosDBMongoDBVectorStore(IKernelBuilder, AzureCosmosDBMongoDBVectorStoreOptions, String)

Register a Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where the Azure CosmosDB MongoDB MongoDB.Driver.IMongoDatabase is retrieved from the dependency injection container.

AddAzureCosmosDBMongoDBVectorStore(IKernelBuilder, String, String, AzureCosmosDBMongoDBVectorStoreOptions, String)

Register a Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where the Azure CosmosDB MongoDB MongoDB.Driver.IMongoDatabase is constructed using the provided connectionString and databaseName.

AddAzureCosmosDBMongoDBVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord>, String)

Register an Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where the Azure CosmosDB MongoDB MongoDB.Driver.IMongoDatabase is retrieved from the dependency injection container.

AddAzureCosmosDBMongoDBVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, String, String, AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord>, String)

Register an Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 and Microsoft.Extensions.VectorData.IVectorizedSearch`1 with the specified service ID and where the Azure CosmosDB MongoDB MongoDB.Driver.IMongoDatabase is constructed using the provided connectionString and databaseName.

Applies to