Uses of Interface
org.springframework.ai.ollama.api.ThinkOption
Packages that use ThinkOption
-
Uses of ThinkOption in org.springframework.ai.ollama.api
Classes in org.springframework.ai.ollama.api that implement ThinkOptionModifier and TypeClassDescriptionstatic final recordBoolean-style think option for models that support simple enable/disable.static final recordString-level think option for the GPT-OSS model which requires explicit levels.Methods in org.springframework.ai.ollama.api that return ThinkOptionModifier and TypeMethodDescriptionThinkOption.ThinkOptionDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) OllamaChatOptions.getThinkOption()OllamaApi.ChatRequest.think()Returns the value of thethinkrecord component.Methods in org.springframework.ai.ollama.api with parameters of type ThinkOptionModifier and TypeMethodDescriptionvoidThinkOption.ThinkOptionSerializer.serialize(ThinkOption value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) voidOllamaChatOptions.setThinkOption(ThinkOption thinkOption) OllamaApi.ChatRequest.Builder.think(ThinkOption think) OllamaChatOptions.Builder.thinkOption(ThinkOption thinkOption) Set the think option explicitly.Constructors in org.springframework.ai.ollama.api with parameters of type ThinkOptionModifierConstructorDescriptionChatRequest(String model, List<OllamaApi.Message> messages, Boolean stream, Object format, String keepAlive, List<OllamaApi.ChatRequest.Tool> tools, Map<String, Object> options, ThinkOption think) Creates an instance of aChatRequestrecord class.