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
367.88]: Who you are. [368.00 - 369.34]: If you fall in front of me. [370.20 - 370.88]: No shot. [370.88 - 371.74]: I'm holding that laugh. [371.78 - 372.56]: There's no shot. [372.96 - 373.88]: There's no shot. [374.04 - 374.88]: You don't stand a chance. [375.16 - 377.38]: If you fall in front of me. [378.08 - 379.70]: There's no shot that I'm not. [380.06 - 380.30]: Ha! [381.52 - 382.42]: Bust your ass. [382.66 - 384.08]: Something that's got to come out. [384.22 - 384.36]: Right. [384.82 - 385.62]: Falling is funny. [386.28 - 387.00]: I still think. [388.00 - 388.70]: It's hacky. [388.78 - 389.74]: I still think far too funny. [389.88 - 390.74]: My kid's far to laugh. [391.12 - 392.08]: I still, until this day. [392.20 - 393.18]: It's the funny shit out of me. [393.60 - 394.60]: That goes out of me. [394.68 - 395.02]: You stink. [395.32 - 395.76]: Get out of here. [396.12 - 396.84]: Stick ass. [397.06 - 397.60]: My little son. [397.60 - 399.52]: 17 months when he farted a laugh. [400.74 - 405.82]: Something within just the ability to just be fucking silly and stupid. [405.90 - 406.44]: Oh, yeah. [406.74 - 409.14]: It doesn't always have to have a meaning behind it. [409.26 - 410.38]: Some shit is just stupid. [410.52 - 411.78]: My eight-year-old fart's on cue. [412.08 - 413.04]: She thinks it's hilarious. [413.04 - 413.94]: First of all, that's genius. [414.12 - 414.62]: She'll tell you. [414.68 - 416.04]: Listen, I gotta talk to you about something. [416.62 - 417.00]: She'll tell you. [417.00 - 417.30]: That's it. [417.82 - 418.64]: And she starts laughing. [419.16 - 419.86]: She thinks it's hilarious. [420.04 - 421.02]: She'll fall down the couch. [421.28 - 421.86]: The best thing in the world. [421.98 - 422.96]: She can't stop laughing. [423.16 - 423.92]: That's the best thing in the world. [424.12 - 425.02]: That's what you're talking about. [425.02 - 425.42]: That's a kid. [425.58 - 426.18]: That's all you got. [426.46 - 428.16]: That's your only bit as a kid. [428.58 - 430.44]: You got nothing else but fart. [430.58 - 431.52]: That's all you got. [431.96 - 433.84]: That's all you got to make people laugh. [434.10 - 435.46]: You should enjoy it. [435.58 - 435.80]: Yeah. [435.98 - 436.30]: You should. [436.50 - 437.36]: I still think it's funny. [437.54 - 439.28]: Falling is number one for me. [440.04 - 441.22]: Falling is number one. [441.40 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Falling is Hilarious", "start_time": 368.00, "end_time": 390.74, "score": 85.5 }, { "title": "Kids and Farts", "start_time": 396.12, "end_time": 419.86, "score": 88.0 } ] }