slightly better prompt
Browse files- transcript.py +4 -2
transcript.py
CHANGED
@@ -73,6 +73,8 @@ def enhance_transcript(chunk_text, audio_segment):
|
|
73 |
|
74 |
IMPORTANT: Respond ONLY with the enhanced transcript. Do not include any explanations, headers, or phrases like "Here is the transcript."
|
75 |
|
|
|
|
|
76 |
Please:
|
77 |
1. Fix speaker attribution errors, especially at segment boundaries. Watch for incomplete thoughts that were likely from the previous speaker.
|
78 |
|
@@ -92,12 +94,12 @@ Please:
|
|
92 |
- Preserve distinct speaker turns
|
93 |
|
94 |
Example input:
|
95 |
-
Speaker
|
96 |
|
97 |
Um, yeah, so like, what I was thinking was, you know, when we look at the data, the data shows us that, uh, there's this pattern, this pattern that keeps coming up again and again in the results.
|
98 |
|
99 |
Example output:
|
100 |
-
Speaker
|
101 |
|
102 |
When we look at the data, we see a consistent pattern in the results.
|
103 |
|
|
|
73 |
|
74 |
IMPORTANT: Respond ONLY with the enhanced transcript. Do not include any explanations, headers, or phrases like "Here is the transcript."
|
75 |
|
76 |
+
Note: Below you'll find an auto-generated transcript that may help with speaker identification, but focus on creating your own high-quality transcript from the audio.
|
77 |
+
|
78 |
Please:
|
79 |
1. Fix speaker attribution errors, especially at segment boundaries. Watch for incomplete thoughts that were likely from the previous speaker.
|
80 |
|
|
|
94 |
- Preserve distinct speaker turns
|
95 |
|
96 |
Example input:
|
97 |
+
Speaker A 00:01:15
|
98 |
|
99 |
Um, yeah, so like, what I was thinking was, you know, when we look at the data, the data shows us that, uh, there's this pattern, this pattern that keeps coming up again and again in the results.
|
100 |
|
101 |
Example output:
|
102 |
+
Speaker A 00:01:15
|
103 |
|
104 |
When we look at the data, we see a consistent pattern in the results.
|
105 |
|