Install and import from "@langchain/azure-cosmosdb" instead. Configuration options for the AzureCosmosDBVectorStore constructor.

interface AzureCosmosDBConfig {
    client?: MongoClient;
    collectionName?: string;
    connectionString?: string;
    databaseName?: string;
    embeddingKey?: string;
    indexName?: string;
    indexOptions?: AzureCosmosDBIndexOptions;
    textKey?: string;
}

Properties

client?: MongoClient
collectionName?: string
connectionString?: string
databaseName?: string
embeddingKey?: string
indexName?: string
textKey?: string