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
and a half year history. [5776.72 - 5777.70]: I've never gotten a why. [5779.14 - 5780.18]: It was a chance. [5780.44 - 5780.94]: It took a chance. [5781.18 - 5781.70]: You're in it. [5781.88 - 5782.36]: You're in it. [5782.46 - 5782.84]: Yeah, buddy. [5783.14 - 5786.04]: Connor, give me one more fun fact about your life. [5786.14 - 5789.34]: I should get you out of here on the big guitar solo, but. [5789.54 - 5791.18]: Uh, convicted felon. [5791.38 - 5791.92]: There we go. [5792.22 - 5793.08]: There we go. [5795.30 - 5797.32]: And what was the charge there? [5797.80 - 5798.74]: Uh, it was drugs. [5798.74 - 5799.64]: It wasn't one of the bad ones. [5799.74 - 5800.04]: I'm cool. [5801.34 - 5801.74]: Marijuana? [5802.04 - 5802.40]: No. [5804.42 - 5807.92]: I know how Ohio can be the state highway patrol. [5808.10 - 5809.26]: They're famously stiff. [5809.54 - 5810.06]: It was cocaine. [5810.36 - 5811.16]: And it wasn't even mine. [5811.24 - 5812.20]: I know we all say that. [5813.20 - 5813.60]: Yeah. [5813.72 - 5814.22]: It was mine. [5817.34 - 5818.14]: Thank you. [5818.90 - 5821.98]: No, I was getting a ride from a friend of mine after, like, [5822.06 - 5823.06]: leaving the Liberty funny bone. [5823.48 - 5825.40]: And, uh, he got pulled over by a mall cop. [5825.58 - 5826.68]: Mall cop called the real cops. [5826.80 - 5828.70]: Real cops searched the car and found a bag of cocaine. [5828.92 - 5831.56]: He gave a written statement to those cops saying that I gave him a bag to hide. [5832.62 - 5833.16]: I know. [5833.44 - 5834.64]: It's like, hold on. [5834.80 - 5836.18]: Let's just take it way back. [5836.62 - 5836.98]: Let's. [5837.14 - 5841.04]: He got pulled over by a mall cop and he pulled over and stopped. [5842.00 - 5843.02]: That's literally my bed. [5843.14 - 5843.76]: Like, I'm betrayed. [5843.76 - 5844.78]: He pulled over for the mall cop. [5844.88 - 5846.42]: That guy's jurisdiction ends at Billerts. [5847.60 - 5847.96]: Wow. [5849.70 - 5850.42]: Keep driving. [5850.54 - 5851.16]: We can beat this. [5851.70 - 5852.06]: Yeah. [5852.06 - 5852.20]: Yeah. [5853.92 - 5855.12]: Absolutely amazing. [5857.36 - 5857.96]: Yeah. [5858.88 - 5861.12]: This guy, this guy fucking rolls Tony. [5861.94 - 5862.62]: It's incredible. [5864.66 - 5865.48]: Can you. [5866.86 - 5870.92]: If you can get to Vegas this weekend, we'll give you some spots on Skankfest. [5871.58 Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Arrest Story", "start_time": 5783.14, "end_time": 5846.42, "score": 92.5 } ] }