How can I make bone rotations smoothly transition?

Hi So I’m playing around with creating a function in my animation blueprint with would make the character turn their head and look at a specific object. Now I have it working well except for it jerk suddenly to look at the object. Is their anyway I could slow this down and get the head to turn over a few frames so it looks more natural?

At the moment I have this code connected to my state machine:

and this is the function that calculates the additional rotation:

Thanks guys.

Ed