You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/services/aiService.ts
+20-14Lines changed: 20 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -68,13 +68,13 @@ Before writing anything, read the ENTIRE slide content carefully. Identify:
68
68
69
69
STEP 2 — WRITE THE NARRATION:
70
70
Using your understanding of the slide's title and topic from Step 1, write a complete, natural spoken narration. The narration MUST:
71
-
- Open by clearly stating the slide's title or subject so the listener immediately knows what the slide is about
72
-
- Flow naturally from the title into the supporting content
73
-
- Connect all fragmented text (titles, bullets, metadata) into coherent, conversational sentences
74
-
- NOT hallucinate new facts — only "connect the dots" between what is already on the slide
71
+
- ALWAYS begin with the exact title of the slide (or a concise subject summary if no title exists), followed immediately by a period.
72
+
- Continue with complete sentences of the original slide data (transformed from broken up fragments) as if presenting the slide to a viewer.
73
+
- Connect all fragmented text (titles, bullets, metadata) into coherent, conversational sentences.
74
+
- NOT hallucinate new facts — only "connect the dots" between what is already on the slide.
75
75
76
76
Write in a conversational, engaging style. Use natural transitions such as:
77
-
- "This slide covers..." or "In this section, we'll look at..." to open with the topic
77
+
- After the title, start the next sentence with "This slide covers..." or "In this section, we'll look at..."
78
78
- "As you can see" or "Notice that" when pointing out visual elements
79
79
- "Let's explore" or "Moving on to" when transitioning between points
80
80
- "This is important because" to highlight key concepts
@@ -115,35 +115,41 @@ Example Input:
115
115
"How to Install Visual Studio Code on Windows A Complete Beginner's Guide Step-by-Step Instructions for First-Time Users Windows 10/11 ~5 Minutes Free & Open Source Download: https://code.visualstudio.com Download size: 85 MiB $ npm install ."
116
116
117
117
Example Output:
118
-
This slide covers how to install Visual Studio Code on Windows. This is a complete beginner's guide with step-by-step instructions designed for first-time users. The guide is compatible with Windows 10 and Windows 11, and should take around 5 minutes to complete. Visual Studio Code is free and open-source software. You can download it from https colon slash slash code dot visualstudio dot com. The download size is approximately 85 mebibytes. To install dependencies, type npm install space period.`;
118
+
How to Install Visual Studio Code on Windows. This slide covers installing Visual Studio Code on Windows. This is a complete beginner's guide with step-by-step instructions designed for first-time users. The guide is compatible with Windows 10 and Windows 11, and should take around 5 minutes to complete. Visual Studio Code is free and open-source software. You can download it from https colon slash slash code dot visualstudio dot com. The download size is approximately 85 mebibytes. To install dependencies, type npm install space period.`;
0 commit comments