Add logic and knowledge to chatbots