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 issue related to using embedding model from huggingface (#1242)

Deshraj Yadavfa78c972be0e
diff --git a/embedchain/factory.py b/embedchain/factory.py
index 59570d3ab..9a772eafd 100644
--- a/embedchain/factory.py
+++ b/embedchain/factory.py
@@ -59,6 +59,7 @@ class EmbedderFactory:
"openai": "embedchain.config.embedder.base.BaseEmbedderConfig",
"gpt4all": "embedchain.config.embedder.base.BaseEmbedderConfig",
"google": "embedchain.config.embedder.google.GoogleAIEmbedderConfig",
+ "huggingface": "embedchain.config.embedder.base.BaseEmbedderConfig",
}
@classmethod
diff --git a/pyproject.toml b/pyproject.toml
index 0b333d858..fd2f152e0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
-version = "0.1.72"
+version = "0.1.73"
description = "Simplest open source retrieval(RAG) framework"
authors = [
"Taranjeet Singh <[email protected]>",