Package com.embabel.common.ai.model
Class Thinking
-
- All Implemented Interfaces:
public final class ThinkingThinking config. Set on Anthropic models and some Ollama models.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classThinking.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenabledprivate final IntegertokenBudgetprivate final BooleanextractThinkingpublic final static Thinking.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()final IntegergetTokenBudget()final BooleangetExtractThinking()final ThinkingapplyExtraction()Enable thinking block extraction for user access. final ThinkingapplyTokenBudget(Integer tokenBudget)Configure thinking token budget. final static ThinkingwithTokenBudget(Integer withTokenBudget)final static ThinkingwithExtraction()-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
-
getTokenBudget
final Integer getTokenBudget()
-
getExtractThinking
final Boolean getExtractThinking()
-
applyExtraction
final Thinking applyExtraction()
Enable thinking block extraction for user access.
-
applyTokenBudget
final Thinking applyTokenBudget(Integer tokenBudget)
Configure thinking token budget.
-
withTokenBudget
final static Thinking withTokenBudget(Integer withTokenBudget)
-
withExtraction
final static Thinking withExtraction()
-
-
-
-