How Does AI in a Chatbot for Healthcare Work?