From d2772d22b871b509161f1e0df1d95e69de414d19 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Fri, 18 Oct 2024 15:03:28 +0200 Subject: [PATCH] refactor: Formatting change for create_vector_engine Change formatting for connection string for PGVectorAdapter Refactor #COG-170 --- cognee/infrastructure/databases/vector/create_vector_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/create_vector_engine.py b/cognee/infrastructure/databases/vector/create_vector_engine.py index b1d185755..f0cbfcd5a 100644 --- a/cognee/infrastructure/databases/vector/create_vector_engine.py +++ b/cognee/infrastructure/databases/vector/create_vector_engine.py @@ -41,7 +41,7 @@ def create_vector_engine(config: VectorConfig, embedding_engine): connection_string: str = ( f"postgresql+asyncpg://{db_username}:{db_password}@{db_host}:{db_port}/{db_name}" - ) + ) return PGVectorAdapter(connection_string, config["vector_db_key"],