Uses of Class
dev.langchain4j.model.jitllm.JitLLMChatModel.JitLLMChatModelBuilder
Packages that use JitLLMChatModel.JitLLMChatModelBuilder
-
Uses of JitLLMChatModel.JitLLMChatModelBuilder in dev.langchain4j.model.jitllm
Methods in dev.langchain4j.model.jitllm that return JitLLMChatModel.JitLLMChatModelBuilderModifier and TypeMethodDescriptionJitLLMChatModel.builder()Creates a new builder.JitLLMChatModel.JitLLMChatModelBuilder.contextLength(Integer contextLength) Sets the context window: the maximum number of tokens of the whole conversation (system message, history, tool definitions and the generated response).JitLLMChatModel.JitLLMChatModelBuilder.defaultRequestParameters(ChatRequestParameters defaultRequestParameters) Sets the parameters used for every request, unless the request sets them itself.JitLLMChatModel.JitLLMChatModelBuilder.listeners(List<ChatModelListener> listeners) Sets the listeners notified about every request, response and error.Sets the maximum number of tokens to generate per response, including the thinking.Sets the path to the model file in GGUF format.Sets whether the model runs on a GPU (true) or on the CPU (false).JitLLMChatModel.JitLLMChatModelBuilder.returnThinking(Boolean returnThinking) Sets whether the thinking of reasoning models (the text between<think>and</think>) is returned inAiMessage.thinking().Sets the seed of the random sampling, to make responses reproducible.JitLLMChatModel.JitLLMChatModelBuilder.stopSequences(List<String> stopSequences) Sets the sequences that end the response when they appear in the answer.JitLLMChatModel.JitLLMChatModelBuilder.temperature(Double temperature) Sets the sampling temperature.Sets whether reasoning models think before answering:trueenables thinking,falsedisables it, and when not set, the model's own default applies (Qwen 3, for example, thinks).Sets the nucleus sampling probability.