Closed asmith26 closed 8 months ago
Ah, I've just realised I need to run ollama in the background.
I'll close this ticket - let me know if I can with something like add this to the README or enhancing the error message with this info.
Many thanks for these amazing libs!
How do I run ollama in the background in a python environment? I know that ollama serve
works on CLI, I am getting the same Error 111 in an environment where I can only use ollama-python and not CLI.
How do I run ollama in the background in a python environment? I know that
ollama serve
works on CLI, I am getting the same Error 111 in an environment where I can only use ollama-python and not CLI.
I'm not an expert but may be you can try running a Custom client and refer to it in your said environment. Ref: https://ollama.com/blog/python-javascript-libraries
ollama = Client(host='my.ollama.host')
Hope it helps.
Hi there,
I'm trying to run simple-chat-stream example, but unfortunately I'm geeting
I'm using
ollama = 0.1.2
and have tried runningollama.pull("mistral")
.Many thanks for any help!