Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Update README to show package downloads (#1013)

Deven Patel65c8dd445bce
diff --git a/README.md b/README.md
index 5bc146ca7..2c6a06fac 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,9 @@
<a href="https://codecov.io/gh/embedchain/embedchain">
<img src="https://codecov.io/gh/embedchain/embedchain/graph/badge.svg?token=EMRRHZXW1Q" alt="codecov">
</a>
+ <a href="https://pepy.tech/project/embedchain">
+ <img src="https://static.pepy.tech/badge/embedchain" alt="Downloads">
+ </a>
</p>
<hr />
diff --git a/embedchain/config/add_config.py b/embedchain/config/add_config.py
index c22960caf..31ba477fe 100644
--- a/embedchain/config/add_config.py
+++ b/embedchain/config/add_config.py
@@ -25,7 +25,7 @@ class ChunkerConfig(BaseConfig):
self.min_chunk_size = min_chunk_size
if self.min_chunk_size >= self.chunk_size:
raise ValueError(f"min_chunk_size {min_chunk_size} should be less than chunk_size {chunk_size}")
- if self.min_chunk_size <= self.chunk_overlap:
+ if self.min_chunk_size < self.chunk_overlap:
logging.warn(
f"min_chunk_size {min_chunk_size} should be greater than chunk_overlap {chunk_overlap}, otherwise it is redundant." # noqa:E501
)