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
than me. [87.32 - 88.78]: Nobody has better choice than I do. [88.80 - 91.66]: There's nobody who are better at the military than I am. [91.68 - 93.42]: Nobody loves the Bible more than I do. [93.62 - 94.94]: Nobody builds walls better than me. [95.18 - 98.58]: Nobody's better to people with disabilities than me. [98.68 - 100.94]: Nobody's fighting for the veterans like I'm fighting for the veterans. [101.40 - 104.64]: There's nobody that's done so much for equality as I have. [104.72 - 106.50]: There's nobody more pro-Israel than I am. [106.60 - 108.42]: There's nobody more conservative than me. [108.56 - 110.90]: There's nobody that respects women more than I do. [110.90 - 111.40]: Oh, really? [111.40 - 115.30]: He would be tougher on ISIS than Donald Trump. [115.54 - 117.64]: Nobody's ever had crowds like Trump in his head. [117.64 - 119.14]: There's nobody that understands. [119.20 - 119.52]: There's nobody that understands. [119.66 - 120.16]: In Australia. [120.34 - 121.90]: He's not straight on the door right now. [122.20 - 123.18]: And he goes, yeah. [123.36 - 124.52]: I mean, this is this morning. [124.62 - 125.40]: He was, yeah, man. [125.52 - 127.18]: He got a collar coming to the hotel. [127.60 - 129.48]: And I went, oh, shit, man. [129.58 - 131.12]: Those things have a chlamydia. [131.28 - 132.42]: So make sure you wash your hands. [132.74 - 134.38]: And he goes, shit, I have some things too. [134.48 - 135.38]: He better wash his hands. [135.38 - 135.54]: Yes! [140.12 - 141.72]: He just wants to go. [142.14 - 143.08]: He just wants to do it. [144.58 - 145.64]: He's so stupid. [148.80 - 150.40]: He better wash his hands. [150.72 - 151.30]: Oh my god. [151.52 - 154.46]: But it's legit a cause coming over to his fucking hotel. [156.48 - 157.58]: That's so theoretical. [158.12 - 159.70]: Wings must be done with boochies. [159.72 - 160.10]: Boochies. [160.22 - 160.32]: Yeah. [160.38 - 162.20]: Like the way they invented in Buffalo, New York. [162.34 - 163.26]: You gotta do something, Richard. [163.26 - 167.08]: Do it original. You're gonna show up with that ranch. That smells like somebody's ass. [167.20 - 168.16]: Give us no fucking rage. [168.44 - 170.00]: Ranch is starting to replace ketchup. [170.12 - 174.58]: Yeah, that's good. If you're a fucking hillbilly and you want to taste the ass in your mouth, don't fucking dare. [175.12 - 176.94]: I hate that Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Nobody Compares to Me", "start_time": 87.32, "end_time": 111.40, "score": 85 }, { "title": "Wash Your Hands After Koala", "start_time": 123.36, "end_time": 135.54, "score": 90 }, { "title": "Original Buffalo Wings", "start_time": 160.38, "end_time": 170.00, "score": 88 } ] }