4 ms·
Isn't ollama terminal only? For code, that wouldn't be good.
by Pesthuf 3y ago
Isn't ollama terminal only? For code, that wouldn't be good.
- natrys 3y agoThey 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" }'
- TheLegace 3y agoThere is also ollama-ui. https://github.com/ollama-ui/ollama-ui https://github.com/ollama-ui/ollama-ui