LEGAL CONSIDERATIONS IN THE USE OF ARTIFICIAL INTELLIGENCE