After MS started down the AI path I updated all my licensing for what I hosted there excluding it from all AI training. Yeah I know they won't listen but if we ever have a tech based class action lawsuit I am ready.
I then archieved all my projects posting a link to my self hosted git solution. The new solution again constantly states AI has no business here.
Last step was setting the guards and traps. I have a robots.txt file setup and my nginx is configured to send 444 to all requests who report as bots. All methods that they should obey. But if they don't every page I host has an invisible link to a cgi script that creates an infinite loop of links. The bot falls down this rabit hole and I eventually ban their IP.