diff --git a/langchain/embeddings/huggingface.py b/langchain/embeddings/huggingface.py index 095a2c91..9477258b 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