Package dev.langchain4j.model.ollama
Class OllamaModels.OllamaModelsBuilder
java.lang.Object
dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
- Enclosing class:
OllamaModels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
httpClientBuilder
(HttpClientBuilder httpClientBuilder) TODO TODOtimeout(Duration)
overrides timeouts set on theHttpClientBuilder
logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) maxRetries
(Integer maxRetries)
-
Constructor Details
-
OllamaModelsBuilder
public OllamaModelsBuilder()
-
-
Method Details
-
httpClientBuilder
TODO TODOtimeout(Duration)
overrides timeouts set on theHttpClientBuilder
- Parameters:
httpClientBuilder
-- Returns:
-
baseUrl
-
timeout
-
maxRetries
-
logRequests
-
logResponses
-
build
-