From 2c93f43eee1e51f4ca1d8715046a9e50f768902c Mon Sep 17 00:00:00 2001 From: Nirant Date: Thu, 15 Feb 2024 10:24:23 +0530 Subject: [PATCH] Add import statement to the warning message --- fastembed/embedding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastembed/embedding.py b/fastembed/embedding.py index e7c207e6..933e36b9 100644 --- a/fastembed/embedding.py +++ b/fastembed/embedding.py @@ -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