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.

[Bugfix] Fix hugging face command (#944)

Deshraj Yadavb144c7dcccb8
diff --git a/docs/components/llms.mdx b/docs/components/llms.mdx
index 2160ced42..86c84e8e4 100644
--- a/docs/components/llms.mdx
+++ b/docs/components/llms.mdx
@@ -237,7 +237,7 @@ llm:
Install related dependencies using the following command:
```bash
-pip install --upgrade 'embedchain[huggingface_hub]'
+pip install --upgrade 'embedchain[huggingface-hub]'
```
First, set `HUGGINGFACE_ACCESS_TOKEN` in environment variable which you can obtain from [their platform](https://huggingface.co/settings/tokens).
diff --git a/embedchain/llm/huggingface.py b/embedchain/llm/huggingface.py
index 358b1c2a2..97adc67b9 100644
--- a/embedchain/llm/huggingface.py
+++ b/embedchain/llm/huggingface.py
@@ -20,7 +20,7 @@ class HuggingFaceLlm(BaseLlm):
except ModuleNotFoundError:
raise ModuleNotFoundError(
"The required dependencies for HuggingFaceHub are not installed."
- 'Please install with `pip install --upgrade "embedchain[huggingface_hub]"`'
+ 'Please install with `pip install --upgrade "embedchain[huggingface-hub]"`'
) from None
super().__init__(config=config)
diff --git a/pyproject.toml b/pyproject.toml
index 317a80266..36e2cc055 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
-version = "0.1.7"
+version = "0.1.8"
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
authors = [
"Taranjeet Singh <[email protected]>",