Class ElizaAgent


  • public class ElizaAgent
    extends java.lang.Object
    This agent implements a simple chat bot based on Eliza code from http://www.jesperjuul.net/eliza/
    • Constructor Detail

      • ElizaAgent

        public ElizaAgent()
    • Method Detail

      • start

        public void start()
        Register to inner chat at startup.
      • writeToLog

        protected void writeToLog​(java.lang.String text,
                                  IComponentIdentifier partner)
        Write logs of conversations.
        Parameters:
        text - The text to write to the log.
        cid - The component identifier of the chat partner.