It would be useful to have an interactive mode accessed via CLI and the REST API (see also #183) , something like this:
$ python -m ollama --endpoint http://remotehost:11434 --model llama3 --interactive
[Connected to endpoint: http://remotehost:11434]
[Model: llama3]
$ Why is the sky blue?
The sky appears blue because of a phenomenon called scattering, which occurs when sunlight interacts
with tiny molecules of gases in the Earth's atmosphere.
It would be useful to have an interactive mode accessed via CLI and the REST API (see also #183) , something like this: