Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix scheme

Sarah Wooders380a92941c47
diff --git a/memgpt/connectors/connector.py b/memgpt/connectors/connector.py
index 8e2b828c7..470cb208d 100644
--- a/memgpt/connectors/connector.py
+++ b/memgpt/connectors/connector.py
@@ -78,12 +78,12 @@ def load_database(
from llama_index.readers.database import DatabaseReader
db = DatabaseReader(
- scheme="postgresql", # Database Scheme
- host="localhost", # Database Host
- port="5432", # Database Port
- user="postgres", # Database User
- password="FakeExamplePassword", # Database Password
- dbname="postgres", # Database Name
+ scheme=scheme, # Database Scheme
+ host=host, # Database Host
+ port=port, # Database Port
+ user=user, # Database User
+ password=password, # Database Password
+ dbname=dbname, # Database Name
)
# load data