ollama pull 2002bona/intfloat-multilingual-e5-large-instruct
curl http://localhost:11434/api/embed \
-d '{
"model": "2002bona/intfloat-multilingual-e5-large-instruct",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='2002bona/intfloat-multilingual-e5-large-instruct',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: '2002bona/intfloat-multilingual-e5-large-instruct',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)