Partager via


AzureCosmosDBNoSQLServiceCollectionExtensions Class

Definition

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

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

Methods

AddAzureCosmosDBNoSQLVectorStore(IServiceCollection, AzureCosmosDBNoSQLVectorStoreOptions, String)

Register an Azure CosmosDB NoSQL IVectorStore with the specified service ID and where the Azure CosmosDB NoSQL Database is retrieved from the dependency injection container.

AddAzureCosmosDBNoSQLVectorStore(IServiceCollection, String, String, AzureCosmosDBNoSQLVectorStoreOptions, String)

Register an Azure CosmosDB NoSQL IVectorStore with the specified service ID and where the Azure CosmosDB NoSQL Database is constructed using the provided connectionString and databaseName.

Applies to