ChatGPT, a rapidly growing artificial intelligence program, has received praise for its ability to write quick responses to a wide range of queries, but has also piqued the interest of US lawmakers with concerns about its impact on national security and education.