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
189.62]: Word. [190.28 - 191.56]: Two vests on maybe, right? [191.82 - 194.68]: And I thought I heard something outside, right? [194.80 - 196.78]: Which is kind of weird to even think of [196.78 - 198.32]: when you have a blender going, right? [198.74 - 200.74]: So I leave out of my apartment to go in the hallway, [201.10 - 203.76]: lock myself out with the blender going. [205.24 - 206.34]: Two thirty in the morning, [206.78 - 207.90]: coped up out of my brain, right? [208.44 - 210.44]: Now I have to go to my landlord, dude. [210.94 - 212.90]: Who lives right down the hall? [212.98 - 213.50]: Oh, no. [213.52 - 214.94]: And tell him, like, hey man. [214.96 - 215.80]: Two thirty in the morning. [216.30 - 217.14]: I got locked out. [217.34 - 218.28]: And the blender's on. [219.34 - 221.02]: Oh my god, he must have hated you. [221.32 - 224.02]: Oh, the blender shorts out and smoke happens. [224.56 - 226.74]: The fire alarm starts going off. [226.74 - 229.44]: In the building right as I'm at his door knocking, right? [229.50 - 230.10]: Oh my god. [230.10 - 232.34]: So now he's pissed, and he's like, what's going on? [232.80 - 234.04]: And I didn't know what to say. [234.12 - 237.84]: I told him that I was throwing a late Christmas party, dude. [238.70 - 241.18]: It was fucking into January. [241.44 - 242.52]: How old was he at the time? [242.94 - 243.06]: Huh? [243.40 - 244.56]: Oh, this is two and a half years ago. [244.70 - 245.30]: So I was thirty. [245.72 - 246.86]: I was thirty five. [248.52 - 250.78]: So he comes back to my apartment, right? [250.92 - 251.76]: He's throwing a piss. [251.90 - 253.16]: He unlocks the door. [253.54 - 255.30]: There's nobody in there. [260.08 - 261.18]: Oh my god. [261.34 - 261.74]: Oh my god. [261.74 - 262.24]: Oh my god. [262.26 - 262.32]: Oh my god. [262.32 - 263.14]: But that's it. [263.14 - 263.92]: It was fun. [264.26 - 266.66]: Oh my god. [267.28 - 267.68]: No. [267.96 - 268.58]: That was fun. [268.84 - 269.66]: How long did you live there for? [270.40 - 271.20]: I still live there. [272.14 - 272.54]: Whoa. [272.74 - 272.90]: Yeah. [273.06 - 273.80]: We've passed out here. [274.00 - 276.82]: You know, like, I've caught him doing some things. [277.24 - 280.86]: I think we're all even. [281.36 - 284.62]: Joey told me one time that he was about shitting in the shower. [284.62 - 285.78]: And he's like, yeah, it was great. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Locked Out Late Night", "start_time": 189.62, "end_time": 255.30, "score": 85.5 } ] }