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