Class AgentProcessChatbot

  • All Implemented Interfaces:
    com.embabel.chat.Chatbot

    
    public final class AgentProcessChatbot
     implements Chatbot
                        

    Chatbot implementation backed by an ongoing AgentProcess The AgentProcess must react to UserMessage and respond on its output channel The AgentProcess can assume that the Conversation will be available in the blackboard, and the latest UserMessage. Action methods will often take precondition being that the last event was a UserMessage. A convenient approach is for the core action methods to return ChatbotReturn, and handle ConversationOver, although that is not required.