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
110.72]: the ones you keep locked in in the case here? [110.88 - 111.88]: Yes, and back. [112.16 - 114.36]: Thousands, but these were the crowns [114.36 - 117.26]: of jewels over here, you know, the all-star lineup. [118.18 - 118.70]: Right. [120.76 - 120.98]: Hmm. [123.54 - 123.94]: What? [124.36 - 125.80]: Just trying to make sense of it. [126.06 - 127.22]: What's to make sense of? [127.32 - 129.14]: I mean, isn't it as simple as the perp [129.14 - 130.72]: was looking for more baseball cards [131.52 - 134.16]: or hopped up on speed or whatever and went nuts [134.16 - 135.64]: with the vandalism? [136.14 - 137.40]: Yeah, I mean, that could be. [138.48 - 138.64]: Yeah. [140.30 - 142.00]: Pretty sweet hummer parts in the driveway. [142.88 - 143.14]: Are yours? [144.00 - 145.12]: Yeah, that's mine. [145.84 - 146.46]: It's a lease. [147.86 - 149.04]: Got a great deal on it. [151.50 - 152.42]: It's very sweet. [154.26 - 155.78]: You know, they say Arnold Schwarzenegger [155.78 - 157.08]: is a reason and how much it exists. [157.20 - 158.76]: I don't know how, but that's what they say. [159.16 - 159.54]: No kidding. [161.82 - 164.18]: What kind of work do you do, Mr. Warmel? [164.90 - 169.22]: I work IT for a pharmaceutical company. [169.54 - 169.84]: Wow. [171.04 - 171.44]: Computers. [171.44 - 173.40]: God, I should have gotten into computers. [173.92 - 174.06]: Yeah. [174.38 - 175.34]: And I have that same home. [175.62 - 178.42]: Look, guys, I'm glad you liked my car, [178.54 - 180.82]: but I think we're looking through the wrong end [180.82 - 182.00]: of the telescope here. [182.50 - 185.76]: You know, the priority is my baseball cards. [185.88 - 186.20]: Of course. [186.86 - 187.14]: Yes. [187.32 - 191.32]: Now, I have a detailed manifest of my entire collection. [191.92 - 194.94]: And Asterix is next to the high ticket items. [195.20 - 197.48]: So it's clear which ones they're going to try to fence first [197.48 - 199.30]: because they're super, super valuable. [199.98 - 203.22]: So you're going to want to get this list out to pawn shops, [204.30 - 207.48]: collectors, question anyone who's done any sort of crime [207.48 - 210.48]: like this in the past, you know, the usual suspects. [211.44 - 213.92]: Can I get you the list so you can start investigating? [214.32 - 215.92]: Yeah, if you can get us that list. [216.16 - 217.44]: OK, I'll print it out. [218.28 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Interaction about Cars and Baseball Cards", "start_time": 140.30, "end_time": 182.00, "score": 85 }, { "title": "The Importance of the Baseball Cards", "start_time": 182.50, "end_time": 215.92, "score": 88 } ] }