Skip to content

Ollama: add model auto-pull feature #1551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented Oct 16, 2024

  • Introduce internal OllamaModelPuller helper for managing model availability
  • Add pullMissingModel option to OllamaOptions
  • Implement auto-pull functionality in OllamaChatModel and OllamaEmbeddingModel
  • Update tests to cover new auto-pull feature
  • Add reference documentation

Resolves #526

 - Introduce internal OllamaModelPuller helper for managing model availability
 - Add pullMissingModel option to OllamaOptions
 - Implement auto-pull functionality in OllamaChatModel and OllamaEmbeddingModel
 - Update tests to cover new auto-pull feature
 - Add reference documentation

 Resolves spring-projects#526
@tzolov tzolov added documentation Improvements or additions to documentation embedding ollama chat client chat options labels Oct 16, 2024
@tzolov tzolov added this to the 1.0.0-M4 milestone Oct 16, 2024
@sobychacko sobychacko merged commit 2a9f9c8 into spring-projects:main Oct 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Function to load model on Spring Ollama
2 participants