try few things

This commit is contained in:
Vasilije 2024-05-25 14:26:46 +02:00
parent 710b27993a
commit d5827b3fff

View file

@ -2,6 +2,11 @@ import duckdb
class DuckDBAdapter():
def __init__(self, db_path: str, db_name: str):
if db_path is None:
db_path = "/Users/runner/work/cognee/cognee/.cognee_system"
if db_name is None:
db_name = "cognee.db"
db_location = db_path + "/" + db_name
self.get_connection = lambda: duckdb.connect(db_location)