Image of a flowchart. Step 1: Ask name and nickname. Step 2: How are you and sentimental analysis. Step 3: Random question on a random topic. Step 4: Response based on polarity and subjectivity. This links back to step 3, with the statement: Repeat a random number of times. Step 5: Say goodbye, give random reason.