Spaces:
Running
Running
Commit
·
0f83e13
1
Parent(s):
37b73c5
update: live event prompt
Browse files
app.py
CHANGED
@@ -343,7 +343,7 @@ def get_initial_analysis(
|
|
343 |
Your task is to analyze this street interview transcript and identify the final/best timestamps for each topic or question discussed. Here are the key rules:
|
344 |
|
345 |
1. For any topic/answer that appears multiple times in the transcript (even partially):
|
346 |
-
- The LAST occurrence is always considered the best version
|
347 |
- This includes cases where parts of an answer are scattered throughout the transcript
|
348 |
- Even slight variations of the same answer should be tracked
|
349 |
- List timestamps for ALL takes, with the final take highlighted as the best answer
|
@@ -359,6 +359,8 @@ Your task is to analyze this street interview transcript and identify the final/
|
|
359 |
- If a question or introduction is revisited later at any point, please use the later timestamp
|
360 |
- Track partial answers to the same question across the transcript
|
361 |
|
|
|
|
|
362 |
Return format:
|
363 |
|
364 |
[Question Title]
|
@@ -385,17 +387,19 @@ Total takes: 2
|
|
385 |
Format the output as follows:
|
386 |
|
387 |
**Speaker Name**
|
388 |
-
1. [Topic title <div id='topic' style="display: inline">
|
389 |
-
2. [Topic title <div id='topic' style="display: inline">
|
390 |
3. [Topic title <div id='topic' style="display: inline"> 1m 10s at 16:20 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{980}}&et={{1050}})
|
|
|
391 |
|
392 |
Requirements:
|
393 |
- Only speaker names should be bold using markdown **Name**
|
394 |
- Topic titles should be in normal case (i.e first word of Sentence capital rest small)
|
395 |
- Use timestamp and duration format: HH:MM (Xs) where X is seconds
|
396 |
- Each line should be a clickable link including timestamp and title
|
|
|
397 |
- Convert display timestamps to seconds for URL parameters
|
398 |
-
Example:
|
399 |
|
400 |
URL format: {link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}}
|
401 |
|
|
|
343 |
Your task is to analyze this street interview transcript and identify the final/best timestamps for each topic or question discussed. Here are the key rules:
|
344 |
|
345 |
1. For any topic/answer that appears multiple times in the transcript (even partially):
|
346 |
+
- The LAST occurrence is always considered the best version. If the same thing is said multiple times, the last time is the best, all previous times are considered as additional takes.
|
347 |
- This includes cases where parts of an answer are scattered throughout the transcript
|
348 |
- Even slight variations of the same answer should be tracked
|
349 |
- List timestamps for ALL takes, with the final take highlighted as the best answer
|
|
|
359 |
- If a question or introduction is revisited later at any point, please use the later timestamp
|
360 |
- Track partial answers to the same question across the transcript
|
361 |
|
362 |
+
You need to make sure that any words that are repeated, you need to pick the last of them.
|
363 |
+
|
364 |
Return format:
|
365 |
|
366 |
[Question Title]
|
|
|
387 |
Format the output as follows:
|
388 |
|
389 |
**Speaker Name**
|
390 |
+
1. [Topic title <div id='topic' style="display: inline"> 12s at 12:30 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{750}}&et={{762}})
|
391 |
+
2. [Topic title <div id='topic' style="display: inline"> 33s at 14:45 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{885}}&et={{918}})
|
392 |
3. [Topic title <div id='topic' style="display: inline"> 1m 10s at 16:20 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{980}}&et={{1050}})
|
393 |
+
4. [Topic title <div id='topic' style="display: inline"> 25s at 14:00 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{840}}&et={{865}})
|
394 |
|
395 |
Requirements:
|
396 |
- Only speaker names should be bold using markdown **Name**
|
397 |
- Topic titles should be in normal case (i.e first word of Sentence capital rest small)
|
398 |
- Use timestamp and duration format: HH:MM (Xs) where X is seconds
|
399 |
- Each line should be a clickable link including timestamp and title
|
400 |
+
- When selecting timestamps, strictly limit the start and end times to contain only the current speaker's continuous dialogue. The timestamp should begin exactly when the current speaker starts talking about that specific topic and end when they finish their point or another speaker begins. Do not include any portions of previous or subsequent speakers' dialogue in the selected time range.
|
401 |
- Convert display timestamps to seconds for URL parameters
|
402 |
+
Example: 21s at 10:13 in URL would be st=613&et=634
|
403 |
|
404 |
URL format: {link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}}
|
405 |
|