Package org.springframework.ai.decision
Interface DecisionOptions
- All Superinterfaces:
ModelOptions
- All Known Implementing Classes:
DefaultDecisionOptions,OllamaDecisionOptions,OpenAiDecisionOptions,SystemOneDecisionOptions
Portable options for decision models. Options are immutable:
mutate() returns
a builder with their values, and DecisionOptions.Builder.combineWith(Builder) overrides them
with the non-null values of another builder.- Since:
- 2.1.0
- Author:
- Thomas Vitale
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDecisionOptions.Builder<B extends DecisionOptions.Builder<B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic DecisionOptions.Builder<?>builder()@Nullable StringgetModel()The name of the model to use.mutate()A builder initialized with these options.
-
Method Details
-
getModel
@Nullable String getModel()The name of the model to use. -
mutate
DecisionOptions.Builder<?> mutate()A builder initialized with these options. -
builder
-