In my tabletop games I generally give XP for "encounters" not combat. You get the same amount of XP for making the bandits run away, that you'd get from killing them.
This encourages clever thinking.
But as KainLexington points out, you have to avoid double dipping.
But I do think you get XP for some social encounters. I leveled up after I talked to Kagha for the first time.