Class OllamaModelManager

java.lang.Object
org.springframework.ai.ollama.management.OllamaModelManager

public class OllamaModelManager extends Object
Manage the lifecycle of models in Ollama.
Since:
1.0.0
Author:
Christian Tzolov, Thomas Vitale
  • Constructor Details

  • Method Details

    • isModelAvailable

      public boolean isModelAvailable(String modelName)
    • deleteModel

      public void deleteModel(String modelName)
    • pullModel

      public void pullModel(String modelName)
    • pullModel

      public void pullModel(String modelName, PullModelStrategy pullModelStrategy)