-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
There’s an existing API in the Ollama application to create models dynamically via the endpoint:
POST /api/create
Currently, the Spring AI OllamaApi does not expose this operation.
Adding a createModel() method would be very useful, especially for initializing or customizing models and "template" at application startup.
Right now, there’s no way to change a model’s template through Java — this feature would make it possible to.
Here are a couple of reference screenshots from the Ollama Doc:
Create Model Doc


Looking forward to seeing this feature added — it would make Spring AI’s Ollama integration much more flexible and complete.