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.

Deprecate list_loaded_data for listing sources, and use metadata DB instead

Sarah Wooders6aa26086baa9
diff --git a/memgpt/connectors/chroma.py b/memgpt/connectors/chroma.py
index 8e3f84f30..b1bcb007c 100644
--- a/memgpt/connectors/chroma.py
+++ b/memgpt/connectors/chroma.py
@@ -139,7 +139,7 @@ class ChromaStorageConnector(StorageConnector):
raise ValueError("Embeddings must be provided to chroma")
self.collection.add(documents=documents, embeddings=embeddings, ids=ids, metadatas=metadatas)
- def insert_many(self, records: List[Record], show_progress=True):
+ def insert_many(self, records: List[Record], show_progress=False):
ids, documents, embeddings, metadatas = self.format_records(records)
if not any(embeddings):
raise ValueError("Embeddings must be provided to chroma")
diff --git a/memgpt/connectors/db.py b/memgpt/connectors/db.py
index c22361995..45338c5ca 100644
--- a/memgpt/connectors/db.py
+++ b/memgpt/connectors/db.py
@@ -239,7 +239,7 @@ class SQLStorageConnector(StorageConnector):
session.add(db_record)
session.commit()
- def insert_many(self, records: List[Record], show_progress=True):
+ def insert_many(self, records: List[Record], show_progress=False):
session = self.Session()
iterable = tqdm(records) if show_progress else records
for record in iterable:
diff --git a/memgpt/connectors/lancedb.py b/memgpt/connectors/lancedb.py
index 5664c5811..1ada22722 100644
--- a/memgpt/connectors/lancedb.py
+++ b/memgpt/connectors/lancedb.py
@@ -164,7 +164,7 @@ class LanceDBConnector(StorageConnector):
pass
@abstractmethod
- def insert_many(self, records: List[Record], show_progress=True):
+ def insert_many(self, records: List[Record], show_progress=False):
# TODO
pass