Skip to content

Commit

Permalink
[chore]: Added Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
keenborder786 committed Dec 15, 2024
1 parent 20e2d51 commit ed0fb24
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/community/langchain_community/embeddings/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,11 @@ def embed_query(self, text: str) -> List[float]:
)[0]
return embedding.tolist()


@deprecated(
since="0.2.2",
removal="1.0",
alternative_import="langchain_huggingface.HuggingFaceEmbeddings",
)
class HuggingFaceBgeEmbeddings(BaseModel, Embeddings):
"""HuggingFace sentence_transformers embedding models.
Expand Down

0 comments on commit ed0fb24

Please sign in to comment.