Skip to content

Commit 88522ac

Browse files
alwinrajujosStorer
authored andcommitted
Changed youtube summary prompt for better formatting
Changed the youtube summary prompt for better formatting by outputting the answer in markdown. Now it includes the title, summary and key takeaways as bullet points and titles.
1 parent 9e52ce8 commit 88522ac

File tree

1 file changed

+2
-2
lines changed
  • src/content-script/site-adapters/youtube

1 file changed

+2
-2
lines changed

src/content-script/site-adapters/youtube/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export default {
5353
subtitleContent = replaceHtmlEntities(subtitleContent)
5454

5555
return cropText(
56-
`Provide a brief summary of the following video using concise language, still including all the important details, and incorporating the video title.` +
57-
`The video title is "${title}". The subtitle content is as follows:\n${subtitleContent}`,
56+
`Provide a structured summary of the following video in markdown format, focusing on key takeaways and crucial information, and ensuring to include the video title. The summary should be easy to read and concise, yet comprehensive.` +
57+
`The video title is "${title}". The subtitle content is as follows:\n${subtitleContent}`,
5858
)
5959
} catch (e) {
6060
console.log(e)

0 commit comments

Comments
 (0)