Share via


AzureCosmosDBMongoDBMemoryStore Constructors

Definition

Overloads

AzureCosmosDBMongoDBMemoryStore(MongoClient, String, AzureCosmosDBMongoDBConfig)

Initiates a AzureCosmosDBMongoDBMemoryStore instance using a Azure CosmosDB MongoDB client and other properties required for vector search.

AzureCosmosDBMongoDBMemoryStore(String, String, AzureCosmosDBMongoDBConfig)

Initiates a AzureCosmosDBMongoDBMemoryStore instance using a Azure CosmosDB Mongo vCore connection string and other properties required for vector search.

AzureCosmosDBMongoDBMemoryStore(MongoClient, String, AzureCosmosDBMongoDBConfig)

Initiates a AzureCosmosDBMongoDBMemoryStore instance using a Azure CosmosDB MongoDB client and other properties required for vector search.

public AzureCosmosDBMongoDBMemoryStore (MongoDB.Driver.MongoClient mongoClient, string databaseName, Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBConfig config);
new Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBMemoryStore : MongoDB.Driver.MongoClient * string * Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBConfig -> Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBMemoryStore
Public Sub New (mongoClient As MongoClient, databaseName As String, config As AzureCosmosDBMongoDBConfig)

Parameters

mongoClient
MongoDB.Driver.MongoClient
databaseName
String

Applies to

AzureCosmosDBMongoDBMemoryStore(String, String, AzureCosmosDBMongoDBConfig)

Initiates a AzureCosmosDBMongoDBMemoryStore instance using a Azure CosmosDB Mongo vCore connection string and other properties required for vector search.

public AzureCosmosDBMongoDBMemoryStore (string connectionString, string databaseName, Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBConfig config);
new Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBMemoryStore : string * string * Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBConfig -> Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBMongoDBMemoryStore
Public Sub New (connectionString As String, databaseName As String, config As AzureCosmosDBMongoDBConfig)

Parameters

connectionString
String

Connection string required to connect to Azure Cosmos Mongo vCore.

databaseName
String

Database name for Mongo vCore DB

config
AzureCosmosDBMongoDBConfig

Azure CosmosDB MongoDB Config containing specific parameters for vector search.

Applies to