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.

[Bug fix] Fix chromadb issue on embedchain version 0.1.58 (#1151)

Deshraj Yadavf3553040bc54
diff --git a/embedchain/embedder/base.py b/embedchain/embedder/base.py
index d0a0b0820..7f65477bf 100644
--- a/embedchain/embedder/base.py
+++ b/embedchain/embedder/base.py
@@ -16,8 +16,8 @@ class EmbeddingFunc(EmbeddingFunction):
def __init__(self, embedding_fn: Callable[[list[str]], list[str]]):
self.embedding_fn = embedding_fn
- def __call__(self, input_: Embeddable) -> Embeddings:
- return self.embedding_fn(input_)
+ def __call__(self, input: Embeddable) -> Embeddings:
+ return self.embedding_fn(input)
class BaseEmbedder:
diff --git a/pyproject.toml b/pyproject.toml
index bb958e148..0d7cdaca8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
-version = "0.1.58"
+version = "0.1.59"
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
authors = [
"Taranjeet Singh <[email protected]>",