From 7f43d121029b89f91fc2c36872d4174d5b8c7877 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sat, 25 May 2024 19:50:13 +0200 Subject: [PATCH] fix db engine config --- cognee/tests/test_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/tests/test_library.py b/cognee/tests/test_library.py index 9012f515b..cc02e533a 100755 --- a/cognee/tests/test_library.py +++ b/cognee/tests/test_library.py @@ -24,7 +24,7 @@ async def main(): dataset_name = "cs_explanations" - explanation_file_path = os.path.join(os.getcwd(), "test_data/Natural_language_processing.txt") + explanation_file_path = os.path.join(pathlib.Path(__file__).parent, "test_data/Natural_language_processing.txt") # await cognee.add([explanation_file_path], dataset_name)