ollama pull RobinBially/jina-embeddings-v2-small-en-8k
curl http://localhost:11434/api/embed \
-d '{
"model": "RobinBially/jina-embeddings-v2-small-en-8k",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='RobinBially/jina-embeddings-v2-small-en-8k',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: 'RobinBially/jina-embeddings-v2-small-en-8k',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)