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