AhmadMustafa commited on
Commit
768a878
·
1 Parent(s): 680df35

update: chatbot street interview prompt format

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -363,10 +363,10 @@ Return format:
363
 
364
  [Question Title]
365
  Total takes: [X] (Include ONLY if content appears more than once)
366
- [Take 1. start_time - end_time]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}})
367
- [Take 2. start_time - end_time]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}})
368
  ...
369
- [Take X (Best). start_time - end_time]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}})
370
 
371
  URL formatting:
372
  - Convert timestamps to seconds (e.g., 10:13 → 613)
@@ -376,9 +376,9 @@ URL formatting:
376
  Example:
377
  1. Introduction
378
  Total takes: 2
379
- Take 1. 09:45 - 09:50
380
- Take 2. 10:13 - 10:18
381
- Best Answer: [10:13 - 10:18]({link_start}://roll.ai/colab/1234aq_12314/51234151?st=613&et=618)"""
382
  else:
383
  prompt = f"""<div id="initial_message"> Given the transcript {transcript}, analyze all speakers' discussions and list out people, news, events, trends, and sources mentioned. For each speaker, provide at least 3 topics that would make engaging social media clips. Include timestamp and duration for each topic.
384
 
 
363
 
364
  [Question Title]
365
  Total takes: [X] (Include ONLY if content appears more than once)
366
+ - [Take 1. <div id='topic' style="display: inline"> 15s at 12:30 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{750}}&et={{765}})
367
+ - [Take 2. <div id='topic' style="display: inline"> 30s at 14:45 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{885}}&et={{915}})
368
  ...
369
+ - [Take X (Best). <div id='topic' style="display: inline"> 1m 10s at 16:20 </div>]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{980}}&et={{1050}})
370
 
371
  URL formatting:
372
  - Convert timestamps to seconds (e.g., 10:13 → 613)
 
376
  Example:
377
  1. Introduction
378
  Total takes: 2
379
+ - [Take 1. <div id='topic' style="display: inline"> 10s at 09:45]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{585}}&et={{595}})
380
+ - [Take 1. <div id='topic' style="display: inline"> 20s at 25:45]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{1245}}&et={{1265}})
381
+ - [Take 3 (Best). <div id='topic' style="display: inline"> 5s at 10:13 </div>]({link_start}://roll.ai/colab/1234aq_12314/51234151?st=613&et=618)"""
382
  else:
383
  prompt = f"""<div id="initial_message"> Given the transcript {transcript}, analyze all speakers' discussions and list out people, news, events, trends, and sources mentioned. For each speaker, provide at least 3 topics that would make engaging social media clips. Include timestamp and duration for each topic.
384