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
for a long time. [2394.84 - 2395.12]: Wow. [2395.68 - 2396.08]: Ok. [2396.90 - 2397.30]: Alright. [2397.70 - 2398.92]: We didn't have to make it sad. [2399.12 - 2400.80]: He walked upside down 18. [2400.80 - 2401.88]: I was having a blast. [2401.96 - 2403.22]: It was the time of my life. [2403.88 - 2405.30]: The mustache is puzzling me. [2405.38 - 2405.86]: I don't know why. [2406.68 - 2407.90]: I'm obsessed with it. [2408.72 - 2409.66]: It isn't- [2409.66 - 2410.48]: The mustache wax you have in that? [2410.68 - 2411.84]: Fuck yeah, it's waxed. [2411.98 - 2412.66]: It is wild. [2412.86 - 2415.52]: I can kind of see why it would throw you off, Big J, [2415.68 - 2418.74]: because it appears to be the only part of his entire body [2418.74 - 2419.82]: that he takes care of. [2419.96 - 2421.14]: Yeah, it's like... [2421.86 - 2423.78]: But it doesn't look like it's thick enough to do... [2423.78 - 2425.94]: It looks like the hair around cat-plus, [2425.94 - 2426.78]: he's after they've been. [2428.94 - 2430.78]: It is very strange. [2434.18 - 2435.22]: It's like... [2438.58 - 2441.18]: It is absolutely incredible. [2441.36 - 2443.48]: You have quite the style, Luke Stam, [2443.78 - 2445.82]: a very, very, very, very, very, [2445.82 - 2446.70]: very funny set. [2446.96 - 2447.48]: Congratulations. [2447.76 - 2449.04]: An amazing appearance. [2449.10 - 2449.38]: Thank you. [2449.58 - 2450.04]: Oh, thank you. [2450.28 - 2452.14]: I would love to have you on the secret show Thursday. [2452.28 - 2454.84]: We'll have a book on a real show. [2455.66 - 2456.98]: It just happened. [2457.64 - 2458.84]: You saw it. [2460.18 - 2462.00]: All right, there he goes, Luke Stam. [2462.12 - 2463.58]: You got a joke book last time, [2463.76 - 2464.86]: and he's off to the races. [2465.20 - 2467.04]: And now we continue our adventure [2467.04 - 2469.08]: into Bucketland, ladies and gentlemen. [2470.52 - 2471.46]: Ladies and gentlemen, [2471.56 - 2472.88]: make some noise to your next comedian, [2473.22 - 2476.08]: Carly Anderson, with an uninterrupted minute. [2484.32 - 2486.50]: I'm very socially awkward. [2488.48 - 2490.86]: It's hard, especially in the bedroom. [2491.32 - 2492.50]: It's never a good time. [2493.24 - 2494.30]: The other day, this guy, [2494.56 - 2497.16]: I was giving him the Gluck-Luck 5,000. [2498.38 - 2500.50]: This laptop is prime, if you will, sir. [2500.96 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Mustache Highlights", "start_time": 2400.80, "end_time": 2425.94, "score": 85.0 }, { "title": "Luke Stam's Incredible Style", "start_time": 2441.36, "end_time": 2457.64, "score": 87.0 } ] }