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
[3356.44 - 3360.98]: It's pretty good. You know, dude. Um, can we hang out or yeah? I'm down down [3361.36 - 3366.00]: Like if I go to Texas, like we got to hang out with it. Don't you don't you like to sleep a lot? [3367.60 - 3368.04]: He is [3368.04 - 3375.04]: I'm sorry. Where would you learn information like that? I'd say you take talking stuff like that. You know, he knows who he knows who the fuck you are [3375.84 - 3376.20]: Oh [3377.72 - 3384.18]: Sleep a lot. You're acting like that's a out-of-pocket thing to set your nickname is a slept king. What the fuck? [3384.26 - 3388.32]: I know, but I'll tell you I'll tell you why sleep a lot. I know. Why? [3389.56 - 3391.44]: Is that 285 getting you [3394.86 - 3403.54]: I know what it is. No, you don't even know. I discovered it. I just discovered it. Well, you sometimes you're a little depressed. You wishy. That's why. Well, sometimes you've eaten too many meals [3404.28 - 3410.06]: That's what that's good. That's one. Yeah. Sometimes. Oh God. I gotta tell you you're staying up to late playing video games [3410.06 - 3415.24]: Do you stay up till four or five in the morning playing video games? Uh, no, just both sleep kind of just can't sleep and then [3415.62 - 3421.22]: I don't really sleep too much, but like I got a class day up. Just chillin. How many hours a night are you getting asleep? [3421.96 - 3427.12]: Probably four or something. Let's get to know what you should do next time you're three in the morning. You can't sleep. Call me [3427.12 - 3428.42]: Let's chat. Okay [3429.10 - 3432.90]: You're mean let's chat with each other. Check in just roll over. Yeah, that'd be [3433.90 - 3439.24]: That's right. You're right there. Oh, yeah, you know what I would like to do with that's very good. Let's face to each other [3439.24 - 3445.70]: Will be in the band will be in the you're being your bed in Houston. I'll be in my bed in LA. We face time [3445.70 - 3451.42]: And side to side and we'll let's do like let's whisper a good night to each other. Okay. Would that be nice? Yeah [3451.92 - 3453.96]: I'll go a little a little love in there [3455.44 - 3457.10]: Wow, you look like you got soft lips [3461.78 - 3469.10]: He does I just got so uncomfortable. I don't know you got it. I look like you're a good dancer. Yeah pretty good [3469.52 - 3475.40]: But you know, that's how dare you to you know, hey, it's like a yeah, yeah, you know what your lips look Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Sleep King and Late Night Chats", "start_time": 3377.72, "end_time": 3391.44, "score": 84.5 }, { "title": "Late Night Video Games and Chillin'", "start_time": 3410.06, "end_time": 3428.42, "score": 86.0 }, { "title": "FaceTime and Soft Lips", "start_time": 3439.24, "end_time": 3457.10, "score": 88.0 } ] }