For example:
>>> pprint(response.choices)
[Choice(finish_reason='length', index=0, message=ChatCompletionMessage(content='The time complexity of the code is O(n * k), where n is the value of parameter n and k is the value of parameter k. This is because there are two nested loops, one iterating n times and the other iterating k times. The accum variable is incremented `n *', role='assistant', function_call=None, tool_calls=None))]
I try print
and pprint
and response is as above (other lists also the same). How can I print this in readable format (not in one line)?