Closed gregnwosu closed 5 months ago
@gregnwosu thanks. Could please tell us about a use case when you would need it?
This project is intended to be a thin client library for the Ollama API. A running ollama instance is required. You can change which instance the library uses by manually creating a client ollama.Client(host='')
or by setting OLLAMA_HOST
I want to serve the API from python in a similar way as
maybe that returns a server reference that can be used to shutdown the model once done. Happy to contribute if there is a need