docker部署ollama

curl -fsSL https://ollama.com/install.sh | sh
ollama serve &
ollama pull bge-m3

curl -X POST http://127.0.0.1:11434/api/embeddings
-H "Content-Type: application/json"
-d '{
"model": "qwen3-embedding:0.6b",
"prompt": "人工智能的发展前景"
}'

posted on 2026-02-06 09:24  张博的博客  阅读(5)  评论(0)    收藏  举报

导航