For anyone having issues with ChatGPT truncating the output of very long texts, I think I figured out a solution. Tell it to store each paragraph of the output in an array called text. Then if the output is truncated, ask it to show text[n] where n is the paragraph number