Ollama:api
Ir para navegação
Ir para pesquisar
sudo systemctl edit ollama.service
OLLAMA_HOST=0.0.0.0
Testar
curl http://localhost:11434/api/generate -d '{ "model": "llama3.1", "prompt": "Why is the sky blue?", "options": { "num_ctx": 4096 } }'