Uses of Class
dev.langchain4j.model.ollama.OllamaChatRequestParameters.Builder
Packages that use OllamaChatRequestParameters.Builder
-
Uses of OllamaChatRequestParameters.Builder in dev.langchain4j.model.ollama
Methods in dev.langchain4j.model.ollama that return OllamaChatRequestParameters.BuilderModifier and TypeMethodDescriptionOllamaChatRequestParameters.builder()
Controls how long the model will stay loaded into memory following the requestAlternative to thetopP
, and aims to ensure a balance of quality and variety.Enable Mirostat sampling for controlling perplexity.OllamaChatRequestParameters.Builder.mirostatEta
(Double mirostatEta) Influences how quickly the algorithm responds to feedback from the generated text.OllamaChatRequestParameters.Builder.mirostatTau
(Double mirostatTau) Controls the balance between coherence and diversity of the output.OllamaChatRequestParameters.Builder.overrideWith
(ChatRequestParameters parameters) OllamaChatRequestParameters.Builder.repeatLastN
(Integer repeatLastN) OllamaChatRequestParameters.Builder.repeatPenalty
(Double repeatPenalty)