I guess the algorithm is similar here except the AI is drawing on the internet for resources to formulate its replies,
As does Alexa.
Like Alexa, but Alexa manages to interpret the spoken word, and answer in the same mode.you can still tell it's a bot you're talking to but only really because the replies have certain structure to them and the speed at which it replies ... which is far too fast for a human to type up.
I was generally impressed with Alexas capabilities, but it is fairly easy to catch it out.