ollama pull ttempvnn/Qwen3-Embedding-8B-Q4-K-M
curl http://localhost:11434/api/embed \
-d '{
"model": "ttempvnn/Qwen3-Embedding-8B-Q4-K-M",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='ttempvnn/Qwen3-Embedding-8B-Q4-K-M',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: 'ttempvnn/Qwen3-Embedding-8B-Q4-K-M',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)