How to make a spawned AI not attack the one who spawned it?

Thank you. :')