Freigeben über


AzureCosmosDBNoSQLServiceCollectionExtensions Class

Definition

Extension methods to register Azure CosmosDB NoSQL Microsoft.Extensions.VectorData.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 Microsoft.Extensions.VectorData.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 Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where the Azure CosmosDB NoSQL Database is constructed using the provided connectionString and databaseName.

AddAzureCosmosDBNoSQLVectorStoreRecordCollection<TRecord>(IServiceCollection, String, AzureCosmosDBNoSQLVectorStoreRecordCollectionOptions<TRecord>, String)

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

AddAzureCosmosDBNoSQLVectorStoreRecordCollection<TRecord>(IServiceCollection, String, String, String, AzureCosmosDBNoSQLVectorStoreRecordCollectionOptions<TRecord>, String)

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

Applies to