Package org.freeplane.api.ai
Class AiModelConfiguration
java.lang.Object
org.freeplane.api.ai.AiModelConfiguration
Immutable public model configuration for script-facing AI requests.
The three fields are inherited independently when left unset. For a saved prompt request, unset fields inherit from the saved prompt. For a direct request, unset fields inherit from the current provider/model defaults.
- Since:
- 1.13.3
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AiModelConfiguration.Builderbuilder()Creates a model-configuration builder.booleanReturns the requested model selection, ornullto inherit it.Returns the requested temperature, ornullto inherit it.Returns the requested thinking effort, ornullto inherit it.inthashCode()
-
Method Details
-
builder
Creates a model-configuration builder.- Returns:
- a new builder
-
getModelSelection
Returns the requested model selection, ornullto inherit it.- Returns:
- model selection, or
null
-
getThinkingEffort
Returns the requested thinking effort, ornullto inherit it.- Returns:
- thinking effort, or
null
-
getTemperature
Returns the requested temperature, ornullto inherit it.- Returns:
- temperature, or
null
-
hashCode
public int hashCode() -
equals
-