Class SystemOneDecisionProperties

java.lang.Object
org.springframework.ai.model.systemone.autoconfigure.SystemOneDecisionProperties

@ConfigurationProperties("spring.ai.systemone.decision") public class SystemOneDecisionProperties extends Object
Properties of the System One decision model: the model and the provider name recorded in observations.

The model has no default here. Left unset, the decision model asks for the default model of the client it is given, so that a client the application defines keeps the model it was built with.

Since:
2.1.0
Author:
Christian Tzolov
  • Field Details

  • Constructor Details

    • SystemOneDecisionProperties

      public SystemOneDecisionProperties()
  • Method Details

    • getModel

      public @Nullable String getModel()
    • setModel

      public void setModel(@Nullable String model)
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • toOptions

      public SystemOneDecisionOptions toOptions()
      The options of the decision model. They name a model only when one is configured, which leaves the decision model to fall back on the default model of its client.
      Returns:
      the options