פִּ֭י יְדַבֵּ֣ר חָכְמ֑וֹת וְהָג֖וּת לִבִּ֣י תְבוּנֽוֹת׃
我的口要說出智慧的話,我心中所思想的盡是明理之言。
Rashi
and the thoughts of my heart are understanding The thoughts of my heart are understanding.
Ibn Ezra
"My mouth" - to teach all the wisdom hidden from them, which those wise of heart explain by riddles.