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
You know what? [100.34 - 101.76]: I don't need to go into detail, [102.00 - 105.02]: but I pushed it to the limit. [105.60 - 107.64]: I went as far as I could go. [109.00 - 109.48]: Okay. [109.78 - 110.70]: Did I perform? [111.08 - 112.68]: I will go on record saying no. [112.68 - 114.62]: I did not never have. [114.62 - 118.86]: Don't want to perform oral on a man. [119.06 - 120.40]: Can I go on record saying that? [120.50 - 121.84]: I got you, but what happened? [122.86 - 124.30]: Well, that didn't happen. [124.74 - 125.26]: Okay. [126.24 - 126.76]: Okay. [127.10 - 128.68]: What didn't happen also is... [129.32 - 129.84]: Kissing. [130.02 - 130.74]: Kissing didn't happen. [130.74 - 132.44]: I don't want to kiss a man. [132.64 - 133.10]: Let's be clear. [133.58 - 134.30]: There was no kissing. [134.72 - 135.28]: No kissing. [135.38 - 136.46]: No race car driving. [137.06 - 138.40]: No meteorite impact. [139.00 - 139.98]: Many other things didn't take place. [139.98 - 141.24]: You make it unromantic. [146.98 - 147.74]: You make it unromantic. [148.12 - 149.62]: You make it unromantic. [150.02 - 150.40]: You make it unromantic. [150.40 - 151.72]: Go back to that vest store, man. [151.94 - 152.68]: So here's what happened. [153.78 - 155.68]: So I, you know, I would get... [155.68 - 156.70]: I would do some cocaine in a thousand, [156.80 - 157.84]: put on these different vests. [157.94 - 158.74]: How many did you buy in you? [159.94 - 160.64]: I don't know. [160.74 - 162.72]: I spent too much on them, but... [162.72 - 164.28]: I would probably say... [165.30 - 167.68]: The priceiest one I had was probably about $210. [168.46 - 168.62]: Nice. [168.62 - 168.94]: Damn. [169.16 - 169.26]: Yeah. [170.26 - 172.86]: And so I would get fucked up and put these vests on [172.86 - 174.40]: and put on sunglasses and not... [174.40 - 176.58]: No, like buffalo bill shit, but at least party [176.58 - 177.62]: and by myself, you know. [178.30 - 179.92]: And one time I was making a smoothie, you know, [180.04 - 181.16]: because I, you know, I have... [181.16 - 182.48]: I got like a new... [182.48 - 183.38]: I don't know what kind of blender it is, [183.44 - 184.00]: but it was pretty nice. [184.50 - 186.24]: And I was making like a nice smoothie, [186.28 - 187.92]: and I'm fucking coped up on party, [188.08 - 189.58]: and you know, I'm living high on the hog at this. [189.58 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "The Vest Story", "start_time": 151.72, "end_time": 176.58, "score": 85.5 }, { "title": "Making Smoothies", "start_time": 178.30, "end_time": 189.58, "score": 83.0 } ] }