Students explore the foundations of chatbot technology by learning about natural language processing (NLP) and analyzing different types of chatbot interactions. They then progressively build and refine a chatbot in Java, enhancing it with random responses, keyword detection, string transformation, and arrays to simulate increasingly sophisticated conversation behaviors.
All but Activity 5 of this lab can be used after Unit 2: Selection and Iteration in Cortado, Unit 4: Iteration in Nitro, and Unit 2: Basic Java in Mocha.
Activity 5, which includes arrays, can be used after completing basic array creation lessons.