Hello guys,
I need to know how to catch predicates the AIML and send to my java code. I am using the code:
private Chat chatSession;
public AIMLAnswer(){
BotMother bm = new BotMother();
Bot bot = bm.getBot(); //method to initialize bot, load aiml files etc.
bot.brain.nodeStats();
chatSession = new Chat(bot);
}
And I use this code to get predicates value:
ChatSession.predicates.get ("predicate_name")
but its does not work