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

I spawn it like this https://i.imgur.com/aTWWoLN.png . Get camera from character bp and then tell the server to spawn it there