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
780.58]: of debating with Trump, dude, because so far none of them have been able to handle it. [780.96 - 785.70]: He literally, every debate he just bullied whoever was up there. The only one who did pretty good in [785.70 - 789.84]: the debates against him was Biden, just because he had no fucking idea what was being said. [789.84 - 794.82]: Which actually helped him. That worked out for him. Because Trump's whole thing is he tries to get [794.82 - 801.06]: the other guy's head, dude. You can't get Joe's head. Joe's not in there. Good luck, dude. [803.60 - 809.56]: Biden is Trump's kryptonite in a debate. He's literally perfect. He can't beat him. [810.00 - 814.34]: Because Trump tries to drag the other guy into like a shit talking contest where he will win. [814.78 - 819.34]: He will win at that. He can't get Biden. He tries every debate he's trying so hard on Biden's just [824.02 - 828.70]: he tries. He just, you're a loser. Your son did crack. [829.14 - 830.82]: And Biden's just like, what? [832.68 - 837.52]: Sorry, damn, dude. That's actually a pretty good comeback. You might win this thing. [840.40 - 846.02]: I miss it. I miss the speeches with Trump. You remember that? We used to get five speeches a day [847.00 - 850.72]: when he was in office. Anytime you turn on the TV, that guy was giving another fucking speech [851.48 - 855.92]: live, dude. Be in front of a helicopter, a screen call on a lady, a lesbian or something. [859.12 - 863.98]: This could be a tough one to defend that work. But I'm gonna. [867.90 - 873.16]: Now it's sad. Now with Biden, we get like one speech every three months and it's hard. [873.16 - 876.82]: And he's like falls and shit. It's hard to watch. It's sad. I'm rooting for the guy. [876.90 - 882.22]: Obviously, I want things to go well, but it's hard to watch him do anything. Anytime I watch Biden do [882.22 - 886.44]: anything, I get the same feeling as like, you ever go to a friend's house and they have like a 16-year-old [886.44 - 891.62]: dog and it walks in the room? And you got to do that whole like, oh, hey, there he is. [893.66 - 895.00]: Look at him. He's looking great. [897.52 - 904.50]: My favorite thing about Biden is any time Biden finishes a speech, he transforms into a roomba. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Biden vs. Trump Debates", "start_time": 780.58, "end_time": 804.00, "score": 85.5 }, { "title": "The Loss of Endless Trump Speeches", "start_time": 843.00, "end_time": 873.16, "score": 84.0 } ] }