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
on a fucking [2929.50 - 2931.30]: That's what a fucking DJ is! [2931.32 - 2932.82]: Yeah, someone with an iPhone goes [2932.82 - 2934.88]: I hate that by the way [2936.20 - 2938.48]: What's your party music you play? [2939.78 - 2940.60]: Which usually? [2940.88 - 2942.18]: Bang, dung, dong, dong, dong [2942.18 - 2946.60]: Boom, boom, boom, boom, boom, boom, boom [2946.60 - 2948.90]: Bang, bam, cannon, hollow [2948.90 - 2949.10]: Yeah, yeah [2949.98 - 2952.00]: Turning Japanese, I think I'm turning Japanese [2952.00 - 2952.74]: You know [2952.74 - 2955.26]: I like older music. [2955.88 - 2957.12]: Adam and Eve. [2957.44 - 2958.60]: Dan, Dan, Dan, Dan. [2958.96 - 2962.54]: You guys, I love using sex toys. [2962.80 - 2963.50]: Me too. [2963.50 - 2964.28]: I think it's healthy. [2964.68 - 2966.20]: I have a variety of them. [2966.58 - 2968.84]: And I get them from Adam and Eve because they have the best stuff. [2970.16 - 2972.58]: Some people would say you have a plethora of sex toys. [2972.72 - 2973.54]: I have a plethora. [2973.64 - 2975.50]: Whitney, a library of sex toys. [2975.70 - 2976.76]: And everybody wants to have better sex. [2977.16 - 2981.18]: And if you do want to have better sex, why not go to Adam and Eve to become. [2981.18 - 2985.78]: Yeah, they got the best stuff more than that Adam and Eve wants to make your life easy [2985.78 - 2993.68]: They offer discrete shipping as your privacy is a priority plus a hundred percent free shipping and rush processing on your entire order [2993.68 - 2994.10]: Oh my god [2994.10 - 2999.08]: They got so much good stuff man. Honestly just go to Adam and Eve.com and select any one item [2999.08 - 3003.28]: It could be adventurous new toy or anything you desire. It could be a [3003.28 - 3008.44]: Loop it could be a toy could be a loop could be a warming lotion. You know, I do love those warming lows [3008.44 - 3014.62]: Just enter off or go bad friends at checkout. That's bad friends. B-A-D-F-R-I-E-N-D-S at Adam and Eve.com [3014.62 - 3018.20]: This is an exclusive offer specifically to lead for bad friends [3018.20 - 3025.68]: So be sure you use the code bad friends to get your discount 100% free shipping and get it fast with rush processing code bad friends [3025.68 - 3029.70]: Rocket money you guys, you know, I'm a fool [3030.28 - 3032.62]: I'm a fool and sometimes you know [3032.62 - 3037.98]: I subscribe the things on my phone. I forget Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Discussion about Music and Sex Toys", "start_time": 2929.50, "end_time": 2952.74, "score": 85.0 } ] }