I've encountered similar issues when requesting that ChatGPT generate code for some specific tasks. It would return what looks like plausible code at first glance. But, then you'd notice that it is relying on libraries that don't exist. 1