Class AiModelConfiguration

java.lang.Object
org.freeplane.api.ai.AiModelConfiguration

public class AiModelConfiguration extends Object
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
  • Method Details

    • builder

      public static AiModelConfiguration.Builder builder()
      Creates a model-configuration builder.
      Returns:
      a new builder
    • getModelSelection

      public AiModelSelection getModelSelection()
      Returns the requested model selection, or null to inherit it.
      Returns:
      model selection, or null
    • getThinkingEffort

      public AiThinkingEffort getThinkingEffort()
      Returns the requested thinking effort, or null to inherit it.
      Returns:
      thinking effort, or null
    • getTemperature

      public AiTemperature getTemperature()
      Returns the requested temperature, or null to inherit it.
      Returns:
      temperature, or null
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object