3 ms·
They have a server/client model. The binary comes with a basic terminal front-end but you can just create your own self-hosted GUI or editor integration against
by natrys 3y ago
They have a server/client model. The binary comes with a basic terminal front-end but you can just create your own self-hosted GUI or editor integration against the API[1]:
[1] https://github.com/jmorganca/ollama/blob/main/docs/api.md https://github.com/jmorganca/ollama/blob/main/docs/api.md
- jmorgan 3y agoIndeed! After pulling a model with "ollama pull codellama" you can access it via the REST API: curl -X POST http://localhost:11434/api/generate -d '{ "model": "codellama", "prompt":"write a python script to add two numbers" }'