Fix ollama example

This commit is contained in:
Abdon Pijpelink
2025-12-10 11:48:05 +01:00
parent 2f24f52a5c
commit cc8e9c56fd
@@ -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