I’m no expert, but because of the way the ovipositor curves around the abdomen, I’m guessing something in Leucospidae
Leucospidae - Wikipedia

It could be Leucospis (https://en.wikipedia.org/wiki/Leucospis) which are parasitic wasps that prey on solitary bees
Leucospis - Wikipedia