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
add: Allow setting OpenAI organization along with api_key (#84)
Mike Makuch3461ef4b1457
diff --git a/embedchain/vectordb/chroma_db.py b/embedchain/vectordb/chroma_db.pyindex e49813943..30de7bacd 100644--- a/embedchain/vectordb/chroma_db.py+++ b/embedchain/vectordb/chroma_db.py@@ -7,6 +7,7 @@ from embedchain.vectordb.base_vector_db import BaseVectorDBopenai_ef = embedding_functions.OpenAIEmbeddingFunction(api_key=os.getenv("OPENAI_API_KEY"),+ organization_id=os.getenv("OPENAI_ORGANIZATION"),model_name="text-embedding-ada-002")@@ -27,4 +28,4 @@ class ChromaDB(BaseVectorDB):def _get_or_create_collection(self):return self.client.get_or_create_collection('embedchain_store', embedding_function=openai_ef,- )\ No newline at end of file+ )