Class OllamaGenerateRequestBuilder
java.lang.Object
io.github.amithkoujalgi.ollama4j.core.models.generate.OllamaGenerateRequestBuilder
Helper class for creating
OllamaGenerateRequestModel
objects using the builder-pattern.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static OllamaGenerateRequestBuilder
getInstance
(String model) withKeepAlive
(String keepAlive) withOptions
(Options options) withPrompt
(String prompt) withTemplate
(String template)
-
Method Details
-
getInstance
-
build
-
withPrompt
-
withGetJsonResponse
-
withOptions
-
withTemplate
-
withStreaming
-
withKeepAlive
-