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
a little buzz on my phone while I'm driving. [943.36 - 946.12]: And I look down and it's her. [946.48 - 947.16]: I'm so excited. [947.54 - 950.10]: And she sent me a phone number. [950.50 - 952.42]: And underneath the phone number, it said, [952.60 - 956.58]: this is the phone number for the Utah Suicide Hotline. [957.28 - 964.72]: I have never been so humbled and yet so rejected at the same time in my entire life. [965.30 - 968.12]: So needless to say, I've never talked to her again. [968.28 - 970.66]: I've actually yet to talk to a girl since then. [973.06 - 974.46]: Kind of ruined my ego. [976.60 - 980.78]: Will Ack, ladies and gentlemen, with a true therapy session here [981.62 - 984.46]: for his 60-second stand-up set, Louis J. Gomez. [984.46 - 987.12]: I know why his last name is Ech. [996.64 - 998.82]: Oh my goodness. [999.22 - 1000.70]: Well, well, well. [1001.24 - 1001.90]: Wow. [1002.40 - 1004.78]: Will is short for Willie ever have a punchline. [1007.54 - 1010.18]: Wow, Will, so let's talk about it. [1010.38 - 1014.18]: That was 60 seconds and you made everybody kind of depressed. [1014.46 - 1019.18]: Um, somehow you seemed sadder and more pussy-less [1019.18 - 1024.42]: than the shaky cerebral palsy guy that was up here before you wearing a barf shirt. [1028.20 - 1030.10]: And yet here you are. [1030.56 - 1031.04]: Yes, sir. [1031.34 - 1032.24]: Absolutely incredible. [1032.48 - 1034.70]: Will, were your parents doing the night that they made you? [1035.14 - 1036.14]: That's the real question. [1036.40 - 1039.72]: My dad actually told me the night I was conceived. [1040.14 - 1043.50]: I didn't ask for it, but we were on a, once again, we were on a road trip [1043.50 - 1045.74]: and he just told me straight up he was like, [1045.94 - 1047.82]: you were conceived in your grandmother's basement. [1048.76 - 1049.88]: Wow, okay. [1049.98 - 1051.50]: There was some mold in that basement. [1051.68 - 1052.90]: Yes, deaf, absolutely. [1053.52 - 1055.72]: When women went airborne, caught a piece of mold, [1055.88 - 1058.42]: went near mother's vagina with a mold on it. [1058.60 - 1060.02]: You are molded. [1060.20 - 1062.00]: And Al came, ugh, yeah. [1064.00 - 1068.54]: Will Ack, why is everything that you and your family do always on a road trip? [1068.70 - 1069.54]: What's happening here? [1070.12 - 1071.00]: Yeah, I don't know. [1071.00 - 1073.46]: Are you a homeless Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Unexpected Rejection & Humor", "start_time": 943.36, "end_time": 980.78, "score": 90 }, { "title": "Stand-Up Comedy Review", "start_time": 984.46, "end_time": 1014.18, "score": 85 }, { "title": "Funny Family Road Trip Story", "start_time": 1040.14, "end_time": 1062.00, "score": 88 } ] }