Enter something to start the conversation. If the AI knows how to respond, it will do so. Press space to continue the conversation. If the AI does not know how to respond, it will ask you how it should respond in the future and then will do so when given that input in the future.
I am currently working on creating a cloud based AI system that can use this technique but can remember inputs that other users have entered, in order to create a large collection of responses to inputs.