patrickstigler / youtube-transcript-to-article

YouTube Transcript to Article is a Docker-based Python project that provides an API to automatically convert YouTube transcripts into professional articles using OpenAI's ChatGPT.
2 stars 1 forks source link

long videos & % level of detail #4

Open reddai75 opened 1 week ago

reddai75 commented 1 week ago

Hi Patrick, thanks again! I've been testing your project with videos around 30 minutes in length. While the results are mostly good, I noticed that it sometimes seems to miss parts of the content. Is there a parameter I can adjust to ensure no details are lost?

Additionally, I encountered a generic error with longer videos, such as a 1h 48m episode of "Diary of a CEO." youtube channel Any suggestions?

Lastly, for summary detail, would it be possible to set a custom percentage for detail, from 100% (almost a transcript) down to 10%?

Thanks for your hard work!

patrickstigler commented 1 week ago

Hi reddai75, I modified the prompt quite a bit. It should perform way better. Let me know how your results are?

I Might add something like "Summarize it with [number] words".

reddai75 commented 1 week ago

I tested the latest changes, and they work great! The way you've structured the prompt is impressive, as it effectively captures a wide range of scenarios and videos. Another feature that could enhance flexibility would be adding pre-set prompts, like the one you’ve already built, while also allowing users to customize their own prompts. For instance, I’d like to use this Docker for summarizing macroeconomics videos, so I'd need to tweak the prompt a bit. Also, an option to select between ChatGPT 3.5, 4 or any other future version would be useful... thanks again!