Class ModelManagementOptions.Builder
java.lang.Object
org.springframework.ai.ollama.management.ModelManagementOptions.Builder
- Enclosing class:
- ModelManagementOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalModels
(List<String> additionalModels) build()
maxRetries
(Integer maxRetries) pullModelStrategy
(PullModelStrategy pullModelStrategy) withAdditionalModels
(List<String> additionalModels) Deprecated, for removal: This API element is subject to removal in a future version.withMaxRetries
(Integer maxRetries) Deprecated, for removal: This API element is subject to removal in a future version.usemaxRetries(Integer)
instead.withPullModelStrategy
(PullModelStrategy pullModelStrategy) Deprecated, for removal: This API element is subject to removal in a future version.usepullModelStrategy(PullModelStrategy)
instead.withTimeout
(Duration timeout) Deprecated, for removal: This API element is subject to removal in a future version.usetimeout(Duration)
instead.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pullModelStrategy
-
additionalModels
-
timeout
-
maxRetries
-
withPullModelStrategy
@Deprecated(forRemoval=true, since="1.0.0-M5") public ModelManagementOptions.Builder withPullModelStrategy(PullModelStrategy pullModelStrategy) Deprecated, for removal: This API element is subject to removal in a future version.usepullModelStrategy(PullModelStrategy)
instead. -
withAdditionalModels
@Deprecated(forRemoval=true, since="1.0.0-M5") public ModelManagementOptions.Builder withAdditionalModels(List<String> additionalModels) Deprecated, for removal: This API element is subject to removal in a future version.useadditionalModels(List)
instead. -
withTimeout
@Deprecated(forRemoval=true, since="1.0.0-M5") public ModelManagementOptions.Builder withTimeout(Duration timeout) Deprecated, for removal: This API element is subject to removal in a future version.usetimeout(Duration)
instead. -
withMaxRetries
@Deprecated(forRemoval=true, since="1.0.0-M5") public ModelManagementOptions.Builder withMaxRetries(Integer maxRetries) Deprecated, for removal: This API element is subject to removal in a future version.usemaxRetries(Integer)
instead. -
build
-
additionalModels(List)
instead.