AzureCosmosDBMongoDBServiceCollectionExtensions Class
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.
Extension methods to register Azure CosmosDB MongoDB Microsoft.Extensions.VectorData.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 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(IServiceCollection, 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 |
| AddAzureCosmosDBMongoDBVectorStoreRecordCollection<TRecord>(IServiceCollection, 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>(IServiceCollection, 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 |