How do I get my AI out of the way of my player?

Well, you must realize that the solution depends on your AI.

In my case, the AI is roaming between random points. Therefore this would be a solution (implemented in the AI character BP):

If it hits the player, it will move 5 meters in the forward direction of the player, and once it reaches that point, it will go back to roaming.