The correct sentence that includes a properly punctuated nonrestrictive clause is:
"I asked my best friend, who has great taste in books, for a recommendation."
In this sentence, the nonrestrictive clause "who has great taste in books" is correctly set off by commas.