The Oruch Hashulchan O Ch 224, 6 says
הרואה חכם מחכמי ישראל שגדול בתורה מברך: "ברוך אתה ה' אלהינו מלך העולם שחלק מחכמתו ליריאיו,
Someone who sees a Jewish Torah sage makes the blessing “ שחלק מחכמתו ליריאיו"
and later he says
הרואה חכם מחכמיהם הגדול בשארי חכמות מברך: "ברוך... שנתן מחכמתו לבשר ודם
Someone who sees a non-Jewish wise man with wisdom in other fields makes the blessing שנתן מחכמתו לבשר ודם
What about the blessing for a Jewish wise man with wisdom in other fields?