Class OllamaInitializationProperties
java.lang.Object
org.springframework.ai.autoconfigure.ollama.OllamaInitializationProperties
@ConfigurationProperties("spring.ai.ollama.init")
public class OllamaInitializationProperties
extends Object
Ollama initialization configuration properties.
- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChat()
int
void
setMaxRetries
(int maxRetries) void
setPullModelStrategy
(PullModelStrategy pullModelStrategy) void
setTimeout
(Duration timeout)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OllamaInitializationProperties
public OllamaInitializationProperties()
-
-
Method Details
-
getPullModelStrategy
-
setPullModelStrategy
-
getChat
-
getEmbedding
-
getTimeout
-
setTimeout
-
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries)
-