Class MessagesInput

java.lang.Object
dev.langchain4j.model.decision.request.MessagesInput
All Implemented Interfaces:
DecisionInput

@Experimental public final class MessagesInput extends Object implements DecisionInput
A DecisionInput that is a conversation: messages in the order they were exchanged, for example a chat between a user and an AI assistant, including the tools the assistant called (AiMessage.toolExecutionRequests()) and their results (ToolExecutionResultMessage). Which kinds of messages and contents are supported depends on the decision model.
Since:
1.23.0