Customer review pros and cons analysis by openai api

I have used the API and open source algorithm to write a python code, I want to analyze all our online customer reviews from excel and classify pros and cons, then count each pros and cons mentioned times by customer. Because of the token limit of each answer, it generates to me many sets of pros and cons, now I want to combine them into one set, how can I enhance my python code? Below is the code: