Virginia lawmakers are taking steps to address the use of artificial intelligence in political campaigns.