Interface DecisionInput
- All Known Implementing Classes:
ContentsInput, FieldsInput, MessagesInput, TextInput
The input of a
DecisionRequest: what the questions are answered about.
LangChain4j provides one implementation per DecisionInputType: TextInput, FieldsInput,
ContentsInput and MessagesInput. Decision models support only these implementations: they throw an
UnsupportedFeatureException for an input they do not support, including other
implementations of this interface. More types can be added in future releases.
- Since:
- 1.23.0
-
Method Summary
-
Method Details
-
type
DecisionInputType type()The type of this input.
-