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
⚡️ Speed up `get_word_count()` by 6% in `embedchain/chunkers/base_chunker.py` (#1268)
Saurabh Misra1354747ca8ba
diff --git a/embedchain/chunkers/base_chunker.py b/embedchain/chunkers/base_chunker.pyindex d7d4987d8..274ae5475 100644--- a/embedchain/chunkers/base_chunker.py+++ b/embedchain/chunkers/base_chunker.py@@ -84,4 +84,4 @@ class BaseChunker(JSONSerializable):@staticmethoddef get_word_count(documents) -> int:- return sum([len(document.split(" ")) for document in documents])+ return sum(len(document.split(" ")) for document in documents)