ollama pull unclemusclez/bge-large:en-v1.5-q4_K_S
curl http://localhost:11434/api/embed \
-d '{
"model": "unclemusclez/bge-large:en-v1.5-q4_K_S",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='unclemusclez/bge-large:en-v1.5-q4_K_S',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: 'unclemusclez/bge-large:en-v1.5-q4_K_S',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)