How to split long text into multiple prompts and get one summary

I’m sorry I haven’t found this answer elsewhere. God knows I tried.

I have a forum on my website. I’d like to enter the conversations into the API and have it return a summary of the conversation. The conversations are too long to fit into one prompt.

How can I structure the prompts so that the API understands I’m entering 5 or 10 prompts and then would like a summary of all of them combined?



Hi Brett,

The same question was asked 2 days ago at a prompting meetup!

So I created a video about it:

also here are the tools if you just want to jump straight in and use the tool:

1 Like

Hi Brett,

For your requirement, I recommend using It breaks long text into AI-friendly chunks while preserving context, ideal for summarizing lengthy conversations.