mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 15:38:33 +02:00
Update qdrant-landing/content/documentation/embeddings/jina-embeddings.md
Co-authored-by: Anush <anushshetty90@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user