From 59c1b944b935222c9c49ac35ece0808de9ddc6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=81ukawski?= Date: Tue, 29 Nov 2022 16:45:57 +0100 Subject: [PATCH] Divide two code blocks with some text to avoid tabs in UI --- qdrant-landing/content/articles/qa-with-cohere-and-qdrant.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qdrant-landing/content/articles/qa-with-cohere-and-qdrant.md b/qdrant-landing/content/articles/qa-with-cohere-and-qdrant.md index 79c4c0278..30fc0d6dd 100644 --- a/qdrant-landing/content/articles/qa-with-cohere-and-qdrant.md +++ b/qdrant-landing/content/articles/qa-with-cohere-and-qdrant.md @@ -201,6 +201,8 @@ for embedding, pubid in tqdm(zip(question_response.embeddings, ids)): answer_positions.append(-1) ``` +Saved answer positions allow us to calculate the metric for different *k* values. + ```python # Prepared answer positions are being used to calculate different values of accuracy@k for k in range(1, k_max + 1):