The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
refactor: no default embedding function (#238)
cachhoe283315efd0e
diff --git a/embedchain/vectordb/chroma_db.py b/embedchain/vectordb/chroma_db.pyindex 72408104a..2e1d3fdb8 100644--- a/embedchain/vectordb/chroma_db.py+++ b/embedchain/vectordb/chroma_db.py@@ -11,14 +11,7 @@ class ChromaDB(BaseVectorDB):"""Vector database using ChromaDB."""def __init__(self, db_dir=None, ef=None, host=None, port=None):- if ef:- self.ef = ef- else:- self.ef = embedding_functions.OpenAIEmbeddingFunction(- api_key=os.getenv("OPENAI_API_KEY"),- organization_id=os.getenv("OPENAI_ORGANIZATION"),- model_name="text-embedding-ada-002",- )+ self.ef = efif host and port:logging.info(f"Connecting to ChromaDB server: {host}:{port}")