Create Chatbot code