chatgpt automation legal