From c82bcff005d5745d78cd55759b706d8636854343 Mon Sep 17 00:00:00 2001 From: Andre Zayarni <926368+azayarni@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:47:38 +0200 Subject: [PATCH] typo in code --- qdrant-landing/content/articles/bm42.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdrant-landing/content/articles/bm42.md b/qdrant-landing/content/articles/bm42.md index 2defcbef0..b25c57755 100644 --- a/qdrant-landing/content/articles/bm42.md +++ b/qdrant-landing/content/articles/bm42.md @@ -305,7 +305,7 @@ query_text = "best programming language for beginners?" model_bm42 = SparseTextEmbedding(model_name="Qdrant/bm42-all-minilm-l6-v2-attentions") model_jina = TextEmbedding(model_name="jinaai/jina-embeddings-v2-base-en") -sparse_embedding = list(embedding_model.query_embed(query_text))[0] +sparse_embedding = list(model_bm42.query_embed(query_text))[0] dense_embedding = list(model_jina.query_embed(query_text))[0] client.query_points(