Skip to content
Snippets Groups Projects
Unverified Commit c14a21bc authored by yangqiao's avatar yangqiao Committed by GitHub
Browse files

fix: Add user agent for AzureCosmosDBMongoDBVectorStore (#1729)


Co-authored-by: default avataryangqiao <yangqiao@microsoft.com>
parent 33f98565
No related branches found
No related tags found
No related merge requests found
---
"@llamaindex/azure": patch
---
Add UA for convenient statistics of usage
......@@ -106,7 +106,9 @@ export class AzureCosmosDBMongoDBVectorStore extends BaseVectorStore {
"AzureCosmosDBMongoDBVectorStore client or connection string must be set.",
);
}
this.mongodbClient = new MongoClient(mongoUri);
this.mongodbClient = new MongoClient(mongoUri, {
appName: "LLAMAINDEX_JS",
});
}
this.dbName = init.dbName ?? "documentsDB";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment