Skip to content

The agent engineering platform.

instruct embeddings docs (#1131)

Harrison Chaseee3590cb6112
diff --git a/langchain/embeddings/huggingface.py b/langchain/embeddings/huggingface.py
index 095a2c9173..9477258b75 100644
--- a/langchain/embeddings/huggingface.py
+++ b/langchain/embeddings/huggingface.py
@@ -78,7 +78,8 @@ class HuggingFaceEmbeddings(BaseModel, Embeddings):
class HuggingFaceInstructEmbeddings(BaseModel, Embeddings):
"""Wrapper around sentence_transformers embedding models.
- To use, you should have the ``sentence_transformers`` python package installed.
+ To use, you should have the ``sentence_transformers``
+ and ``InstructorEmbedding`` python package installed.
Example:
.. code-block:: python