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

user suggestions

Browse files
Files changed (1) hide show
  1. prompts.py +5 -1
prompts.py CHANGED
@@ -124,6 +124,8 @@ Call Type is {ct}.
124
  Speakers: {", ".join(speaker_mapping.values())}
125
  Transcript: {transcript}
126
 
 
 
127
  If a user asks timestamps for a specific topic or things, find the start time and end time of that specific topic and return answer in the format:
128
  Answers and URLs should be formated as follows:
129
  [Topic title <div id='topic' style="display: inline"> 22s at 12:30 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{750}}&et={{772}}&uid={{uid}})
@@ -148,7 +150,9 @@ Provide the exact timestamp where the person begins their introduction, typicall
148
  ....
149
 
150
  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.
151
- 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'."""
 
 
152
 
153
 
154
  def remove_unwanted_prompt(number_of_speakers: int):
 
124
  Speakers: {", ".join(speaker_mapping.values())}
125
  Transcript: {transcript}
126
 
127
+ 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.
128
+
129
  If a user asks timestamps for a specific topic or things, find the start time and end time of that specific topic and return answer in the format:
130
  Answers and URLs should be formated as follows:
131
  [Topic title <div id='topic' style="display: inline"> 22s at 12:30 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{750}}&et={{772}}&uid={{uid}})
 
150
  ....
151
 
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):