You shouldn’t worry about attracting wasps with flowers: most pollinating insects are much more interested in the flowers than they are in stinging you.
Many fruits and vegetables need to have their flowers pollinated to bear fruit, and the easiest way to do that is to call in the professionals, mainly bees. You shouldn’t worry about attracting wasps with flowers: most pollinating insects are much more interested in the flowers than they are in stinging you. But if the insects are undesirable inside your vegetable garden, you can site your pollinator area close to the garden but just outside the fence.