次の方法で共有


AzureCosmosDBMongoDBServiceCollectionExtensions Class

Definition

Extension methods to register Azure CosmosDB MongoDB IVectorStore instances on an IServiceCollection.

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

Methods

AddAzureCosmosDBMongoDBVectorStore(IServiceCollection, AzureCosmosDBMongoDBVectorStoreOptions, String)

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

AddAzureCosmosDBMongoDBVectorStore(IServiceCollection, String, String, AzureCosmosDBMongoDBVectorStoreOptions, String)

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

Applies to