Algorithm is pre-defined, chatgpt gives results in a pre defined form. An AI is a computer system that can learn and make decisions independently. Technically we can't even create AI that is faster/better than the human brain(yet).