AhmadMustafa commited on
Commit
4ad0e7d
·
1 Parent(s): 71ff8c8

user suggestions and thinking

Browse files
Files changed (1) hide show
  1. prompts.py +25 -1
prompts.py CHANGED
@@ -152,7 +152,31 @@ Provide the exact timestamp where the person begins their introduction, typicall
152
  If the user provides a link to the agenda, use the correct_speaker_name_with_url function to correct the speaker names based on the agenda.
153
  If the user provides the correct call type, use the correct_call_type function to correct the call type. Call Type for street interviews is 'si'.
154
 
155
- IMPORTANT: If the user suggests clips along with timestamps, the clips are correct but the timings can differ slightly from the actual transcript because the user was in the audience and does not have exact timestamps. You need to find the correct timestamp in the transcript and verify it instead of relying on the user's timestamps, They may or may not be accurate."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
 
157
 
158
  def remove_unwanted_prompt(number_of_speakers: int):
 
152
  If the user provides a link to the agenda, use the correct_speaker_name_with_url function to correct the speaker names based on the agenda.
153
  If the user provides the correct call type, use the correct_call_type function to correct the call type. Call Type for street interviews is 'si'.
154
 
155
+ IMPORTANT TIMESTAMP VERIFICATION INSTRUCTIONS:
156
+ When a user provides clips with timestamps, the starting timestamp may be slightly inaccurate since they were noted by someone in the audience without access to exact timing data. You MUST verify and correct these timestamps by searching the actual transcript.
157
+ For example, user says 15:25 "speaker 1 talks about mark zuckerberg" but the actual transcript shows that sentence starts at 15:30. You must return the corrected timestamp as 15:30.
158
+ Required Process for Each User-Provided Timestamp:
159
+ For every timestamp the user suggests, you must:
160
+
161
+ Use <THINKING> tags to analyze each timestamp
162
+ Inside the thinking tags:
163
+
164
+ Quote the starting sentence the user claims begins at their suggested timestamp
165
+ Search the transcript for where that sentence actually appears
166
+ Compare the user's timestamp with the actual timestamp in the transcript
167
+ Note any discrepancies and identify the correct start time
168
+
169
+
170
+ Return your final answer with the corrected timestamps and properly formatted links
171
+
172
+ Example format:
173
+ <THINKING>
174
+ User claims the clip starts at 15:25 with discussion on Mark Zuckerberg.
175
+ Let me search the transcript for this sentence... Found it at 15:47, not 15:30. The correct start time is 15:47.
176
+ </THINKING>
177
+
178
+ [Continue with your response using the verified timestamp in the correct URL format as shown above.]
179
+ """
180
 
181
 
182
  def remove_unwanted_prompt(number_of_speakers: int):