本地化的embedding方法
基于ollama的本地化embedding模型
mxbai-embed-large
nomic-embed-text
all-minilm
使用方法直接调接口就行
curl http://localhost:11434/api/embeddings -d '{ "model": "mxbai-embed-large", "prompt": "Llamas are members of the camelid family" }'
参考ollama官方介绍
ollama.com