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
nice [3475.92 - 3481.28]: Thank you, man. He's blushing. You're welcome. I'm actually blushing. Yeah, it's why it looks like you drank alcohol [3481.44 - 3484.34]: No, he's pitching a tent. Stand up. Check him. Uh-uh. Oh [3484.34 - 3489.28]: What if I was hard right now? Oh, that'd be so bad. We wouldn't be able to tell. Don't worry [3491.54 - 3493.54]: That's a nut dude. You're so on it today [3494.12 - 3500.36]: Thank you, sir. Fucking the sumo joke was great. Great. Yeah. Yeah. I'm 280. That was great. Yeah, small dick now great [3500.36 - 3504.76]: Yeah, I love it. He said all over the fucking place. You know, I mean tell me why you can't sleep [3505.58 - 3506.22]: What's um [3508.40 - 3509.42]: I have sleep apnea [3518.48 - 3518.88]: Oh [3518.88 - 3519.86]: Yeah, you do [3521.04 - 3524.86]: Yeah, you do what you definitely have see no, but here's what the deal did [3526.12 - 3527.42]: You know what sleep apnea is [3528.14 - 3529.48]: Yeah, like where you can't sleep [3530.12 - 3534.92]: No, you yeah sketch that is right. That is right. I'm gonna know where you're asleep and then it's you can't breathe [3535.38 - 3538.80]: You stop breathing you stop breathing and then you just kind of wake up and yeah sometimes you go [3539.78 - 3541.48]: Yeah, and I gasp for air [3543.14 - 3545.24]: It's the first time you ever laugh. Yeah [3549.04 - 3554.24]: It gives you joy when I struggled for breath. Hey, yeah, sometimes. Yeah, no, I'm just kidding [3554.24 - 3561.84]: No, so I'm what so what I do something but what's great about my situation is so I'll just set my fucking clock at 3 p.m [3562.94 - 3567.08]: Why don't you just get a sleep apnea machine? I won't I refuse get one. We'll buy him on no [3567.48 - 3572.38]: I refuse. Yeah, what is what is what is that a sleep apnea machine machine? That's that you want one of you want one of those [3572.38 - 3575.92]: Yeah, I'll take two of them. What that's a that's a wiener machine one for me and one for my friend [3575.92 - 3579.92]: Do you want a wiener machine? Sure. Yeah, we have like a hundred of them. How much was it? I don't know [3579.92 - 3585.02]: They gave hundreds of dollars. We can have it for free. Okay. Let's go. Okay. Have you used a wiener machine? Um [3585.50 - 3590.68]: Um, they used to call me the wiener machine. Yeah, it's true. High school. So he's not scared. Oh, so I'll tell you why we can sleep [3590.68 - 3593.38]: so what I do now is Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Blushing and Sleep Apnea Machine", "start_time": 3475.92, "end_time": 3493.54, "score": 85.0 }, { "title": "The Benefits of a Wiener Machine", "start_time": 3572.38, "end_time": 3593.38, "score": 82.0 } ] }