ollama pull hans-tech/bge-reranker-v2-m3:260522
curl http://localhost:11434/api/embed \
-d '{
"model": "hans-tech/bge-reranker-v2-m3:260522",
"input": "Why is the sky blue?"
}'
import ollama
response = ollama.embed(
model='hans-tech/bge-reranker-v2-m3:260522',
input='The sky is blue because of Rayleigh scattering',
)
print(response.embeddings)
import ollama from 'ollama'
const response = await ollama.embed({
model: 'hans-tech/bge-reranker-v2-m3:260522',
input: 'The sky is blue because of Rayleigh scattering',
})
console.log(response.embeddings)