Uses of Class
org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
Packages that use OllamaApi.ChatRequest.Builder
-
Uses of OllamaApi.ChatRequest.Builder in org.springframework.ai.ollama.api
Methods in org.springframework.ai.ollama.api that return OllamaApi.ChatRequest.BuilderModifier and TypeMethodDescriptionOllamaApi.ChatRequest.Builder.disableThinking()Disable thinking mode for the model.OllamaApi.ChatRequest.Builder.enableThinking()Enable thinking mode for the model.OllamaApi.ChatRequest.Builder.messages(List<OllamaApi.Message> messages) OllamaApi.ChatRequest.Builder.options(OllamaChatOptions options) OllamaApi.ChatRequest.Builder.stream(boolean stream) OllamaApi.ChatRequest.Builder.think(ThinkOption think) OllamaApi.ChatRequest.Builder.thinkHigh()Set thinking level to "high" (for GPT-OSS model).OllamaApi.ChatRequest.Builder.thinkLow()Set thinking level to "low" (for GPT-OSS model).OllamaApi.ChatRequest.Builder.thinkMedium()Set thinking level to "medium" (for GPT-OSS model).OllamaApi.ChatRequest.Builder.tools(List<OllamaApi.ChatRequest.Tool> tools)