mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-06 19:38:30 +02:00
Fix ollama example
This commit is contained in:
@@ -34,7 +34,7 @@ qclient = QdrantClient(host="localhost", port=6333)
|
||||
text = "Ollama excels in niche applications with specific embeddings"
|
||||
|
||||
# Generate embeddings
|
||||
response = oclient.embeddings(model="llama3.2", prompt=text)
|
||||
response = oclient.embeddings(model="qwen3-embedding", prompt=text)
|
||||
embeddings = response["embedding"]
|
||||
|
||||
# Create a collection if it doesn't already exist
|
||||
|
||||
Reference in New Issue
Block a user