Uses of Enum Class
org.springframework.ai.ollama.management.PullModelStrategy
Package
Description
Management support for Ollama.
-
Uses of PullModelStrategy in org.springframework.ai.autoconfigure.ollama
Modifier and TypeMethodDescriptionvoid
OllamaInitializationProperties.setPullModelStrategy
(PullModelStrategy pullModelStrategy) -
Uses of PullModelStrategy in org.springframework.ai.ollama.management
Modifier and TypeMethodDescriptionModelManagementOptions.pullModelStrategy()
Returns the value of thepullModelStrategy
record component.static PullModelStrategy
Returns the enum constant of this class with the specified name.static PullModelStrategy[]
PullModelStrategy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
OllamaModelManager.pullModel
(String modelName, PullModelStrategy pullModelStrategy) ModelManagementOptions.Builder.withPullModelStrategy
(PullModelStrategy pullModelStrategy) ModifierConstructorDescriptionModelManagementOptions
(PullModelStrategy pullModelStrategy, List<String> additionalModels, Duration timeout, Integer maxRetries) Creates an instance of aModelManagementOptions
record class.