- Introduce support for Ollama model auto-pull at startup time
- Enhance support for Ollama model auto-pull at run time
- Update documentation about integrating with Ollama and managing models
- Adopt Builder pattern in Ollama Model classes for better code readability
- Unify Ollama model auto-pull functionality in production and test code
- Improve integration tests for Ollama with Testcontainers
Comment From: tzolov
Great stuff @ThomasVitale , thanks. I've been thinking that perhaps we can allow listing multiple models (additional property in OllamaInitializationProperties) to be pulled at init time? We can discuss this for future improvements.
Comment From: tzolov
rebased and merged at 8eef6e6da5d4df07dd323b0be2f0972259a6b823
Comment From: ThomasVitale
@tzolov thanks! I like the idea of the list of models. I'll work on a followup PR, including also a couple of improvements to add a bit more flexibility.
Comment From: ThomasVitale
@tzolov I have made some improvements and added the possibility to pull an explicit list of models: https://github.com/spring-projects/spring-ai/pull/1566