Share via


AzureCosmosDBMongoDBVectorStore Constructor

Definition

Initializes a new instance of the AzureCosmosDBMongoDBVectorStore class.

public AzureCosmosDBMongoDBVectorStore (MongoDB.Driver.IMongoDatabase mongoDatabase, Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBVectorStoreOptions? options = default);
new Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBVectorStore : MongoDB.Driver.IMongoDatabase * Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBVectorStoreOptions -> Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBVectorStore
Public Sub New (mongoDatabase As IMongoDatabase, Optional options As AzureCosmosDBMongoDBVectorStoreOptions = Nothing)

Parameters

mongoDatabase
MongoDB.Driver.IMongoDatabase

MongoDB.Driver.IMongoDatabase that can be used to manage the collections in Azure CosmosDB MongoDB.

options
AzureCosmosDBMongoDBVectorStoreOptions

Optional configuration options for this class.

Applies to