Package dev.langchain4j.model.ollama
Class OllamaChatModel.OllamaChatModelBuilder
java.lang.Object
dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
- Enclosing class:
OllamaChatModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
customHeaders
(Map<String, String> customHeaders) listeners
(List<ChatModelListener> listeners) logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) maxRetries
(Integer maxRetries) numPredict
(Integer numPredict) repeatPenalty
(Double repeatPenalty) temperature
(Double temperature)
-
Constructor Details
-
OllamaChatModelBuilder
public OllamaChatModelBuilder()
-
-
Method Details
-
baseUrl
-
modelName
-
temperature
-
topK
-
topP
-
repeatPenalty
-
seed
-
numPredict
-
numCtx
-
stop
-
format
-
timeout
-
maxRetries
-
customHeaders
-
logRequests
-
logResponses
-
listeners
-
build
-