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