From f70e18a5b3a5c3205dfefd3c1470d42cd789f797 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 8 May 2023 00:37:06 +0900 Subject: [PATCH] Fix typo in huggingface.py (#4277) enviroment -> environment --- langchain/embeddings/huggingface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/embeddings/huggingface.py b/langchain/embeddings/huggingface.py index e00df753..2d87ae0d 100644 --- a/langchain/embeddings/huggingface.py +++ b/langchain/embeddings/huggingface.py @@ -33,7 +33,7 @@ class HuggingFaceEmbeddings(BaseModel, Embeddings): """Model name to use.""" cache_folder: Optional[str] = None """Path to store models. - Can be also set by SENTENCE_TRANSFORMERS_HOME enviroment variable.""" + Can be also set by SENTENCE_TRANSFORMERS_HOME environment variable.""" model_kwargs: Dict[str, Any] = Field(default_factory=dict) """Key word arguments to pass to the model.""" encode_kwargs: Dict[str, Any] = Field(default_factory=dict)