I'm trying to convert a long YouTube transcript or podcast into a blog post. My approach is to divide the labour rather than using a single one-shot prompt because I tried both & dividing the labor gets me accurate/better output.
My plan is to first have a process that breaks the transcript down into logical topics, creating Section A, Section B, Section C, and so on. Then, I'll have another process write the content for each section individually.
My question is about the bridge between these two steps:
What is the best way to structure the output for Section A, Section B, etc.? How should I represent these divided sections so that I can easily and reliably assemble them in the correct order to create the final blog post?
The problem is these sections are dynamic. Also, what would be the data structure for this? I was thinking of putting in array but the sections can be sometimes 3 or sometimes 7 or sometimes 13 so totally random.