Add text classification to inference client (#1606)
* Add text classification to inference client
* Address PR review comments
* Return a list of dictionaries and update test
* Apply suggestions from code review
* make style
---------
Co-authored-by: Lucain Pouget <lucainp@gmail.com>