Skip to content

Commit

Permalink
Add import statement to the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
NirantK authored Feb 15, 2024
1 parent 558a837 commit 2c93f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastembed/embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from fastembed.text.text_embedding import TextEmbedding

logger.warning("DefaultEmbedding, FlagEmbedding, JinaEmbedding are deprecated." " Use TextEmbedding instead.")
logger.warning("DefaultEmbedding, FlagEmbedding, JinaEmbedding are deprecated." "Use from fastembed import TextEmbedding instead.")

DefaultEmbedding = TextEmbedding
FlagEmbedding = TextEmbedding
Expand Down

0 comments on commit 2c93f43

Please sign in to comment.