see here:
Pillars of Eternity: Special Dialog Options
its not just attributes that affect dialog, but also stuff like race, class, gender, priest deity, paladin order, and more.
For example I tried a Skaen Priest and got some new dialog options in one of the dungeons in act ii