AhmadMustafa commited on
Commit
68cab52
·
1 Parent(s): b27021c

update: live event prompt

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -412,7 +412,14 @@ Rank topics based on their potential virality and engagement for social media cl
412
  messages=[
413
  {
414
  "role": "system",
415
- "content": f"You are a helpful assistant who is analyzing the transcript. The transcript is for Call ID: {cid}, Session ID: {rsid}, Origin: {origin}, Call Type: {ct}.",
 
 
 
 
 
 
 
416
  },
417
  {"role": "user", "content": prompt},
418
  ],
 
412
  messages=[
413
  {
414
  "role": "system",
415
+ "content": f"""You are a helpful assistant who is analyzing the transcript. The transcript is for Call ID: {cid}, Session ID: {rsid}, Origin: {origin}, Call Type: {ct}.
416
+ These 2 are the most important rules:
417
+ - 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.
418
+ - IN NO CASE should the duration include any overlapping dialogue from other speakers. i.e if you chose 1m 10s at 16:20, 16:20 till 17:30 should only contain the current speaker's dialogue. THIS IS IMPORTANT.
419
+ - The length of the social media clips should be atleast 20 seconds and atmost 1 minute.
420
+ - Make sure that the topics are engaging and interesting for the social media clips.
421
+ - It is not necessary to get 3 topics for each speaker if you dont find any interesting topics for the speaker, but try to get atleast 2 topics, 3 is good.
422
+ """,
423
  },
424
  {"role": "user", "content": prompt},
425
  ],