Interface DecisionInput

All Known Implementing Classes:
ContentsInput, FieldsInput, MessagesInput, TextInput

@Experimental public interface DecisionInput
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

    Modifier and Type
    Method
    Description
    The type of this input.