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?

Thanks!

3 Likes

Hi Brett,

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

So I created a video about it:
https://www.youtube.com/watch?v=JHKs5jwnAhc&list=PL-ciccwnzEooZVQhUGafF5pEEIZgQFD0f&index=2

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 www.promptsplitter.com. It breaks long text into AI-friendly chunks while preserving context, ideal for summarizing lengthy conversations.