I did not know that the ovipositors of some Chrysis species could be this long, and agile until I caught what in Sweden is a very rare and endangered species: Chrysis scutellaris
At one point the tip of the ovipositor was touching the back of her head, maybe she was scratching her head trying to figure out what was happening .
On a more serious note, I guess she was trying to sting me, or fake a sting, it was amazing how agile the ovipositor was, she could bend it in any direction. It behaved very much like a tentacle of some sort.
(Bad) picture below
Just thought I'd share my observation
/Alex