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
where you're like, [6852.58 - 6853.28]: God damn it. [6853.34 - 6854.86]: I'm going to sell-a-bed after that. [6855.18 - 6855.58]: Overdose. [6856.24 - 6858.24]: What did you overdose on, exactly? [6858.94 - 6859.34]: Yogurt? [6859.80 - 6859.96]: No. [6861.86 - 6863.48]: I feel like I'd have stronger moss. [6863.68 - 6864.20]: No, dude. [6865.36 - 6866.72]: Yeah, Benzos, dude, that's what I do. [6866.74 - 6869.16]: You ever not out and go to a roller-fucking-rank or look? [6869.72 - 6871.68]: Go down a roller coaster 60 miles an hour [6871.68 - 6872.70]: to snartin' Benzos? [6872.76 - 6873.12]: It's fun. [6874.24 - 6876.88]: You mixed roller-rank and roller-coaster, though. [6876.94 - 6878.04]: Yeah, I was lying the first time. [6880.32 - 6880.68]: Wow. [6882.52 - 6883.36]: Where were we? [6883.48 - 6884.78]: Where were we for this overdose? [6885.38 - 6885.88]: Six flags. [6886.04 - 6886.46]: Ah, Florida. [6887.86 - 6889.12]: Just straight up Florida. [6889.40 - 6891.14]: Yeah, dude, I had a time down there. [6891.22 - 6892.24]: You've been down there, huh, dude? [6892.92 - 6893.28]: Yeah. [6894.70 - 6896.54]: So you really overdosed on Benzos? [6896.64 - 6897.22]: What do they have to do? [6898.00 - 6898.56]: Nothing, really. [6898.76 - 6899.30]: I had a seizure. [6899.38 - 6901.40]: I was in a seizure for like a fucking week. [6901.62 - 6903.08]: And they didn't... [6903.46 - 6904.14]: That's impossible. [6905.04 - 6905.86]: What are you talking about? [6906.04 - 6907.78]: No, I was in and out of granule seizures. [6908.00 - 6908.72]: They didn't even know it. [6908.82 - 6909.48]: They just found like that trace. [6909.48 - 6910.42]: Who's that trace? [6912.00 - 6913.20]: The doctor's a... [6913.20 - 6914.26]: What fucking hospital is it? [6914.38 - 6914.58]: I was in the hospital. [6914.58 - 6915.98]: Doesn't matter the exact hospital. [6916.14 - 6917.62]: But you were at a hospital for a week. [6917.78 - 6918.48]: You were having seizures. [6918.48 - 6919.44]: I wasn't even out of this. [6919.44 - 6919.64]: They didn't notice? [6920.24 - 6920.92]: They didn't know. [6920.92 - 6923.70]: They just found trace amounts of Xanax. [6923.86 - 6924.58]: They don't exactly... [6924.58 - 6925.78]: None of this sounds real. [6926.30 - 6927.88]: No, why the fuck would I lie about? [6928.02 - 6929.94]: Like, on the internet and everything, no. [6930.32 - 6930.90]: Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "The Overdose Story", "start_time": 6853.34, "end_time": 6869.16, "score": 85.0 }, { "title": "Florida, Six Flags, and Benzos", "start_time": 6882.52, "end_time": 6892.24, "score": 87.0 } ] }