Class ChoiceQuestion.Builder
java.lang.Object
org.springframework.ai.decision.question.ChoiceQuestion.Builder
- Enclosing class:
- ChoiceQuestion
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Add an option.Add an option with a description.Add options without a description.Add multiple options.The question text.
-
Method Details
-
text
The question text. -
option
Add an option. -
option
Add an option with a description. A blank description counts as none. -
options
Add multiple options. -
options
Add options without a description. -
build
-