Fix typo in huggingface.py (#4277)

enviroment -> environment
This commit is contained in:
Ikko Eltociear Ashimine 2023-05-08 00:37:06 +09:00 committed by GitHub
parent 0c646bb703
commit f70e18a5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)