From 9943b2b2c385eb7a71818c75b427721f0296b436 Mon Sep 17 00:00:00 2001 From: Jenny <143733659+mrscoopers@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:05:28 +0100 Subject: [PATCH] Update qdrant-landing/content/documentation/embeddings/jina-embeddings.md Co-authored-by: Anush --- .../content/documentation/embeddings/jina-embeddings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdrant-landing/content/documentation/embeddings/jina-embeddings.md b/qdrant-landing/content/documentation/embeddings/jina-embeddings.md index 7af50dd71..d84efb643 100644 --- a/qdrant-landing/content/documentation/embeddings/jina-embeddings.md +++ b/qdrant-landing/content/documentation/embeddings/jina-embeddings.md @@ -137,8 +137,8 @@ data = { response = requests.post(url, headers=headers, json=data) response_data = response.json()["data"] -# Extract embeddings -text_embedding = response_data[0]["embedding"] #jina-clip-v2 model doesn't differentiate between images and text, so we just assign them based on the order +# The model doesn't differentiate between images and text, so we extract output based on the input order. +text_embedding = response_data[0]["embedding"] image_embedding = response_data[1]["embedding"] # Initialize Qdrant client