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
fucking ranch shit. [177.36 - 179.50]: Don't put it close to me. Don't put it around me. [179.80 - 182.56]: And see the blue cheese with wings that go fuck your mouth. [182.86 - 184.38]: That's the next shirt, alright, please. [187.04 - 189.52]: You're gonna give me a fucking ranch. [189.52 - 191.32]: We should do a flamethrower. [193.62 - 194.50]: So we... [194.50 - 196.64]: Does anybody tell you no? Does anybody go Elon? [198.78 - 199.80]: Maybe for yourself. [200.42 - 205.54]: But selling a flamethrower, the liabilities, all the people you're selling, this device too. [205.78 - 209.12]: What kind of unhinged people are gonna be buying a flamethrower in the first place? [209.38 - 212.66]: Do we really want to connect ourselves to all these potential arsonists? [213.64 - 214.66]: Yeah, it's a terrible idea. [215.22 - 216.90]: It's terrible to buy one. [217.38 - 219.64]: I said, don't buy this flamethrower. [219.88 - 220.58]: Don't buy it. [221.44 - 222.78]: Don't buy it. That's what I said. [223.58 - 224.68]: Still people bought it. [224.86 - 226.60]: There's nothing I can do to stop them. [226.86 - 230.92]: I said, don't buy it. It's a bad idea. [231.26 - 231.80]: How many did you make? [232.44 - 235.36]: It's dangerous. It's got...it's wrong. [236.46 - 237.24]: Don't buy it. [238.24 - 240.26]: Still people bought it. I just couldn't stop them. [240.56 - 241.12]: How many did you make? [242.32 - 243.12]: 20,000. [245.16 - 246.06]: And they're all gone. [247.54 - 248.50]: I think four days? [249.12 - 250.18]: It's sold out in four days. [251.16 - 255.40]: Until a lot of guys, like if you had to choose between being blind or having your dick break, [256.04 - 257.56]: can you never get it up again? [257.80 - 259.22]: Oh, no question. [259.66 - 260.20]: What would you say? [260.40 - 261.82]: Give me the fucking stick in the dog. [269.50 - 271.66]: Give me the Stevie Wonder glasses. [275.62 - 277.58]: No way home, we're down in the bus. [279.78 - 282.60]: And while we were waiting there, our stomach started hurting. [283.72 - 284.76]: And I said, Jesus Christ. [285.32 - 287.46]: I don't know if I'm going to shift myself or fart. [287.84 - 289.14]: But let me just take a chance. [289.14 - 293.92]: Good move and I blew this far Joe Rogan. That was so bad [294.64 - 298.16]: Right, we want a bus and people started running you know the school buses [298.70 - 302.84]: People Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Don't Put It Close to Me", "start_time": 177.36, "end_time": 191.32, "score": 85.0 }, { "title": "Selling Flamethrowers", "start_time": 193.62, "end_time": 246.06, "score": 90.0 }, { "title": "Blind or Your Dick", "start_time": 251.16, "end_time": 260.20, "score": 82.0 }, { "title": "Stomach Starts Hurting", "start_time": 279.78, "end_time": 302.84, "score": 88.0 } ] }