Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix cannot import name 'EmptyIndex' from 'llama_index' (#558)
Charles Packer74e782610082
diff --git a/memgpt/connectors/local.py b/memgpt/connectors/local.pyindex 5178a9443..a773c3806 100644--- a/memgpt/connectors/local.py+++ b/memgpt/connectors/local.py@@ -8,7 +8,8 @@ import osfrom typing import List, Optional-from llama_index import VectorStoreIndex, EmptyIndex, ServiceContext, set_global_service_context+from llama_index import VectorStoreIndex, ServiceContext, set_global_service_context+from llama_index.indices.empty.base import EmptyIndexfrom llama_index.retrievers import VectorIndexRetrieverfrom llama_index.schema import TextNode