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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetModel()voidvoidsetProvider(String provider) The options of the decision model.
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
SystemOneDecisionProperties
public SystemOneDecisionProperties()
-
-
Method Details
-
getModel
-
setModel
-
getProvider
-
setProvider
-
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
-