From ba167dc15852043f185c12103fde00f28b14a29c Mon Sep 17 00:00:00 2001 From: ccurme Date: Thu, 15 Aug 2024 10:07:54 -0400 Subject: [PATCH] community[patch]: update connection string in azure cosmos integration test (#25438) --- .../integration_tests/vectorstores/test_azure_cosmos_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/tests/integration_tests/vectorstores/test_azure_cosmos_db.py b/libs/community/tests/integration_tests/vectorstores/test_azure_cosmos_db.py index 7555a6bd560..b76bba231a2 100644 --- a/libs/community/tests/integration_tests/vectorstores/test_azure_cosmos_db.py +++ b/libs/community/tests/integration_tests/vectorstores/test_azure_cosmos_db.py @@ -25,7 +25,7 @@ model_name = os.getenv("OPENAI_EMBEDDINGS_MODEL_NAME", "text-embedding-ada-002") INDEX_NAME = "langchain-test-index" INDEX_NAME_VECTOR_HNSW = "langchain-test-index-hnsw" NAMESPACE = "langchain_test_db.langchain_test_collection" -CONNECTION_STRING: str = "mongodb+srv://akataria:Basket24ball@akataria-vector-search-testing.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000" +CONNECTION_STRING: str = os.environ.get("MONGODB_VCORE_URI", "") DB_NAME, COLLECTION_NAME = NAMESPACE.split(".") num_lists = 3