diff --git a/cognee/api/v1/add/add.py b/cognee/api/v1/add/add.py index e7180e437..07822e20b 100644 --- a/cognee/api/v1/add/add.py +++ b/cognee/api/v1/add/add.py @@ -73,7 +73,7 @@ async def add_files(file_paths: List[str], dataset_name: str): else: processed_file_paths.append(file_path) - db = duckdb.connect(relational_config.database_path) + db = duckdb.connect(relational_config.database_directory_path) destination = dlt.destinations.duckdb( credentials = db,