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 must be a direct part of the video and must not be out of context. - The highlights must be a scene in it's entirety. - The highlights must be MINIMUM 30 to 60 seconds MAXIMUM. - The highlights must include more than one segment to provide context and continuity. - The highlights must not cut off in the middle of a sentence or idea. - The highlight must be disregarded if it is not a complete thought - The user provided highlight phrases must be used to generate the highlights - The highlights must be based on the relevance of the segments to the highlight phrases - The highlights must be scored out of 100 based on the relevance of the segments to the highlight phrases. - The score must 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: Engaging
[1.78 - 3.66]: Hey, you take my car. [3.84 - 4.70]: I don't even like your car. [5.66 - 6.72]: Drives like a dick. [7.10 - 9.46]: Badger drives my tea bird two, three hundred miles away [9.46 - 10.16]: and ditches it. [10.44 - 11.28]: Think you'll be heading to Mexico? [11.98 - 13.00]: No, not Mexico. [13.76 - 14.76]: Right on, even better. [15.30 - 16.04]: Leave it near the border. [16.50 - 16.86]: Hide it? [17.00 - 19.96]: Kind of, but, yo, don't hide it so good that cops can't find it. [20.28 - 22.06]: Wipe it down for prints and hitchhike back. [22.52 - 24.36]: Do not let nobody see you in that car. [24.94 - 26.34]: You take Badger's Fierro. [26.36 - 26.90]: What about this car? [27.40 - 28.72]: It stays right here. [29.28 - 31.58]: Ain't like the cops don't already know where it is. [31.92 - 33.36]: I'll tell them you drop by. [33.58 - 34.92]: The two of us smoked a fat bowl, [35.42 - 36.88]: traded pink slips, then you split. [37.82 - 37.94]: Yeah. [38.54 - 40.04]: I always wanted me in El Camino. [40.72 - 41.74]: And that's a church, yo. [42.58 - 44.24]: I'll pass any lie detector they give me. [45.50 - 46.70]: It's what's happening. [49.22 - 50.04]: Got any cash? [58.90 - 60.16]: Yo, kick in, bitch. [60.96 - 62.26]: I'm doing it, Jesus. [67.32 - 69.14]: Guys, I don't know what to say. [69.62 - 70.72]: Don't say nothing. [71.10 - 71.54]: Just vote. [89.44 - 91.16]: Seat belt, speed limit. [91.86 - 94.46]: Got about three hours to get this thing down south. [95.56 - 96.92]: Keep my mouse shut, tell them. [97.08 - 99.50]: But after that, they're going to be putting the APP out of this bitch. [99.80 - 100.46]: I'll get her there. [102.32 - 103.32]: Take care of the Jesse. [103.94 - 104.88]: She's a special lady. [106.36 - 107.96]: Right right there, there's a clown call. [108.50 - 111.32]: No self-respecting outlaw would ever get caught dead that day. [111.70 - 112.92]: That's why it's perfect, yo. [113.14 - 113.56]: It didn't come. [116.30 - 117.64]: I can't do this anymore. [129.76 - 131.20]: Oh, the El Camino. [131.32 - 131.76]: Let me see the keys. [142.66 - 143.70]: Hold up. [149.54 - 151.64]: Just might keep you from getting spotted. [152.88 - 153.68]: You can't hurt, right? [157.86 - 159.44]: You're skinny. [161.38 - 163.18]: Why are you doing all this? [168.02 - 170.98]: You're my heroine shit. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Engaging Scene with Plan Execution", "start_time": 10.44, "end_time": 44.24, "score": 85.0 }, { "title": "Engaging Scene with Urgency", "start_time": 89.44, "end_time": 112.92, "score": 82.0 } ] }