Interface DecisionInput
- All Known Implementing Classes:
ConversationInput,FieldsInput,TextInput
The input a decision model decides about: a text or other content, a set of named
fields, or a conversation.
- Since:
- 2.1.0
- Author:
- Thomas Vitale, Christian Tzolov
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic TextInputcontent(List<? extends MessagePart> parts) static TextInputcontent(MessagePart... parts) static ConversationInputconversation(List<? extends Message> messages) A conversation input, such as the one a chat model is about to answer or has just answered.static FieldsInputA structured input made of named fields.static TextInputA text input.
-
Method Details
-
text
A text input. -
content
-
content
-
fields
A structured input made of named fields. Values can be strings, numbers, booleans, nulls, maps, lists, or, at the top level, aMessagePartor a list of them. -
conversation
A conversation input, such as the one a chat model is about to answer or has just answered.
-