You are a developer assistant where you only provide the code…
- User
Assistant: User: System: You are a developer assistant where you only provide the code for a question. No explanation required. Write a simple json sample. Given the transcript segments, can you generate a list of highlights with start and end times for the video using multiple segments? Please meet the following constraints:
- The highlights should be a direct part of the video and should not be out of context. - The highlights should be interesting and clippable, providing value to the viewer. - The highlights should be 20 to 60 seconds MAXIMUM. - The highlights should include more than one segment to provide context and continuity. - The highlights should not cut off in the middle of a sentence or idea. - The highlight should be disregarded if it is not a complete thought - The user provided highlight phrases should be used to generate the highlights - The highlights should be based on the relevance of the segments to the highlight phrases - The highlights should be scored out of 100 based on the relevance of the segments to the highlight phrases. - The score should be greater than 80 Respond with the following JSON schema with valid JSON syntax for highlights: {'$defs': {'Highlight': {'properties': {'title': {'description': 'Title of the Video highlight', 'title': 'Title', 'type': 'string'}, 'start_time': {'description': 'Start time of the video highlight', 'title': 'Start Time', 'type': 'number'}, 'end_time': {'description': 'End time of the video highlight', 'title': 'End Time', 'type': 'number'}, 'score': {'description': 'Score of the video highlight', 'title': 'Score', 'type': 'number'}}, 'required': ['title', 'start_time', 'end_time', 'score'], 'title': 'Highlight', 'type': 'object'}}, 'properties': {'chapters': {'description': 'List of Highlights', 'items': {'$ref': '#/$defs/Highlight'}, 'title': 'Chapters', 'type': 'array'}}, 'required': ['chapters'], 'title': 'HighlightSchema', 'type': 'object'} Each highlight should have the following fields: - title: title of the highlight - start_time: start time of the highlight as a float in seconds - end_time: end time of the highlight as a float in seconds - score: score of the highlight as a float out of 100User: Key Phrases: Funny or Interesting
[7660.46 - 7661.84]: I don't know what the math is on that. [7661.96 - 7663.04]: And I think two weeks. [7663.60 - 7665.70]: So, luckily, got out of that, Tony. [7665.86 - 7668.64]: I was able to get out this weekend, watch football all day Saturday. [7668.86 - 7669.60]: It was very fun. [7669.84 - 7672.08]: I mean, you watched college football on Saturday. [7672.50 - 7673.52]: All day Saturday. [7674.02 - 7677.64]: And Tony, I also had some... [7677.64 - 7679.86]: I think he's been in a putting it also made. [7680.58 - 7683.48]: My tell me, Tony, it's... [7683.48 - 7687.38]: And you also mentioned we talked earlier this past week. [7687.38 - 7692.18]: Every once in a while, I'll get a call from one of the regulars. [7692.30 - 7695.62]: And they ask, you know, some advice on how to handle things. [7695.76 - 7700.02]: And you were mentioning that, yes, I got a call on a landline antique phone. [7700.22 - 7700.56]: Thank you. [7701.02 - 7702.74]: Oh, and then my cell phone rang. [7702.96 - 7704.88]: My 1990 cell phone rang. [7705.54 - 7708.22]: Maybe next time, Red Band, that was a good try. [7709.26 - 7712.44]: And you know, Red Band, I'm kidding about your mind. [7712.70 - 7714.78]: Again, yeah, we went to go break bread. [7715.00 - 7716.76]: And I swear to God, I spent 400... [7716.76 - 7719.44]: I don't even... I'm embarrassed to even say this right now. [7719.62 - 7722.22]: It's the most expensive meal in my life I've ever had with sushi. [7722.38 - 7727.12]: I spent 450 fucking dollars to shit in my yellow box. [7727.12 - 7728.08]: Or it's a couple days later. [7728.54 - 7730.82]: It really was a horrible week for me, Tony. [7730.82 - 7735.48]: And let me ask you something before we talk about the phone call that I took from you. [7735.84 - 7740.26]: But I'm interested in know because, you know, I'll give a little behind the scenes. [7740.56 - 7742.94]: William is... [7742.94 - 7745.04]: What would be the proper verbatory? [7745.42 - 7746.10]: He is... [7746.10 - 7746.82]: And about badass or...? [7747.34 - 7747.54]: Yeah! [7751.40 - 7752.52]: Oh, I'm kidding. [7757.18 - 7758.38]: He is... [7758.38 - 7760.78]: Wait, what song are we going into here? Hold on. [7761.74 - 7762.94]: He's very... [7763.52 - 7765.94]: We'll say good with money. [7766.20 - 7768.40]: Very, very, very... [7771.26 - 7773.30]: I would almost say... [7773.30 - 7773.78]: Frifty? [7774.12 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "A Fortunate Weekend of Football", "start_time": 7665.86, "end_time": 7683.48, "score": 85.0 }, { "title": "The Antique Phone Call", "start_time": 7687.38, "end_time": 7700.56, "score": 90.0 }, { "title": "Expensive Sushi Surprise", "start_time": 7715.00, "end_time": 7730.82, "score": 88.0 } ] }