Federal lawmakers must create a legislative framework to address the quickly evolving technology of artificial intelligence, and make sure they make no mistakes along the way, a leading senator in developing AI legislation said Tuesday.