rivescript

RiveScript is a scripting language for chatterbots, making it easy to write trigger/response pairs for building up a bot's intelligence.

botchatbotchatterbotaimlartificial intelligencechatscriptbuddyscript

https://www.rivescript.com/