mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 13:23:35 +00:00
community[patch]: update connection string in azure cosmos integration test (#25438)
This commit is contained in:
parent
44f69063b1
commit
ba167dc158
@ -25,7 +25,7 @@ model_name = os.getenv("OPENAI_EMBEDDINGS_MODEL_NAME", "text-embedding-ada-002")
|
|||||||
INDEX_NAME = "langchain-test-index"
|
INDEX_NAME = "langchain-test-index"
|
||||||
INDEX_NAME_VECTOR_HNSW = "langchain-test-index-hnsw"
|
INDEX_NAME_VECTOR_HNSW = "langchain-test-index-hnsw"
|
||||||
NAMESPACE = "langchain_test_db.langchain_test_collection"
|
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(".")
|
DB_NAME, COLLECTION_NAME = NAMESPACE.split(".")
|
||||||
|
|
||||||
num_lists = 3
|
num_lists = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user