ChatCompletion display chinese

I am trying to use Jupter notebook to run ChatCompletion api.
I send in Chinese but got Unicode response. Where am I supposed to set to get the correct response with correct language?


You can simply use strip() function.
Which in your case, should be res[‘choices’][0][‘message’][‘content’].strip()