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
alcoholic, [2190.52 - 2191.82]: but I'm sober now. [2192.00 - 2193.80]: And before the episode came out, [2193.88 - 2196.28]: I called my mother and told her all that. [2197.20 - 2199.24]: And like, that was just the end of that. [2199.80 - 2201.30]: We didn't talk about it again. [2201.70 - 2202.26]: What do you mean? [2202.84 - 2204.60]: I just told her that I was a co-cat. [2204.72 - 2206.24]: Because I was worried that she was going to see it. [2206.24 - 2207.60]: Oh, I thought she was pissed off. You quit. [2208.12 - 2209.44]: No, no, no, no, no, no. [2209.60 - 2210.92]: That's what it sounded like. [2211.14 - 2211.28]: Yeah. [2212.38 - 2214.12]: Okay, so that was the end of that. [2214.52 - 2214.64]: Yeah. [2215.64 - 2216.04]: Okay. [2216.38 - 2217.48]: It didn't really go anywhere. [2218.48 - 2218.88]: Okay. [2219.64 - 2221.40]: I thought I was like doing a good thing. [2221.52 - 2222.62]: Like, I'm sober now, Mom. [2223.06 - 2223.66]: I love you. [2223.78 - 2224.58]: And then she's like, okay. [2225.32 - 2228.42]: I couldn't, if I ended up being in a bathroom doing cocaine [2228.42 - 2231.54]: with you, that would be the literal rock bottom of my life. [2231.80 - 2232.74]: Oh, yeah, yeah, yeah. [2232.98 - 2236.62]: I think you've done cocaine in a bathroom at me and call her out. [2237.00 - 2237.68]: Have I done cocaine with you? [2237.90 - 2240.04]: You came to my local club and did it. [2240.04 - 2240.64]: Did I really? [2240.86 - 2240.88]: Yeah. [2249.00 - 2249.52]: Lewis. [2250.26 - 2250.78]: Skanks. [2251.36 - 2251.88]: Skanks. [2252.30 - 2252.80]: Skanks. [2253.16 - 2253.68]: Skanks. [2254.22 - 2254.74]: Wow. [2255.10 - 2255.62]: Skanks. [2256.36 - 2256.88]: Wow. [2257.46 - 2258.36]: What was this? [2258.52 - 2259.18]: How long ago was that? [2259.30 - 2260.52]: Oh, like two ago. [2261.28 - 2263.06]: I haven't done cocaine in like three years. [2263.72 - 2265.14]: Which club was this? [2265.44 - 2266.66]: Oh, Looney's Comedy Corner. [2267.00 - 2267.70]: Call her out of the Springs. [2267.82 - 2268.58]: Never been in Looney's Corner. [2268.58 - 2270.22]: You went there with Aaron Bergen. [2271.14 - 2271.62]: Is that coming? [2271.62 - 2272.82]: We did tour, Aaron Bergen. [2276.98 - 2279.48]: I love that Lewis is trying to be like, [2279.54 - 2281.48]: no, I've never had a good impossible baby. [2281.98 - 2285.12]: He's like, you did 17 minutes and Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Confessing to My Mom About Being Sober", "start_time": 2192.00, "end_time": 2224.58, "score": 85.0 }, { "title": "Cocaine in the Bathroom", "start_time": 2225.32, "end_time": 2240.88, "score": 88.0 } ] }