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
821.72]: Those cousin fuckers have drivers license. [821.94 - 822.34]: They migrate. [822.78 - 826.14]: I love it. [826.16 - 829.76]: Lewis, yeah, were they like old family members or something? [830.40 - 831.48]: Well, they weren't related. [833.26 - 835.50]: They were in their 30s. [835.70 - 839.12]: So like I was saying, people don't wait. [839.48 - 842.56]: You know what I was saying? [843.22 - 847.20]: No, he's just, I'm the only disabled guy in the family. [847.44 - 848.04]: So I don't know. [848.68 - 853.30]: Well, I, I was able to, I guess. [855.14 - 858.30]: Well, you're funny as hell, Martin, you're an absolute monster. [858.50 - 860.94]: No better way to get the show started than with you tonight. [861.80 - 864.74]: He shows us how it's done time and time again. [866.76 - 872.22]: Truly claiming the territory of one of the greatest golden ticket winners in the show's history. [872.76 - 876.52]: And we found them out of the bucket just like we find everybody. [876.52 - 878.50]: Oh, there she is, ladies and gentlemen. [878.52 - 881.00]: The great and powerful Heidi is with us. [882.18 - 884.60]: And so we get to our first bucket pool of the night. [884.68 - 885.52]: Anything could happen. [885.76 - 887.90]: Could be a great comedian that has a rough set. [888.06 - 889.96]: Could be a bad comedian that has a good set. [890.24 - 891.54]: Bad comedian has a bad set. [891.72 - 893.06]: Good comedian has a good set. [893.36 - 894.78]: Could be somebody's first time. [894.94 - 896.52]: They could be doing it for two decades. [897.28 - 898.30]: Anything can happen. [898.82 - 902.58]: This is 60 seconds uninterrupted by your first bucket pool of the 90. [902.58 - 904.44]: It goes by the name of Will Ack. [905.04 - 906.84]: Everybody, here's the Will Ack. [909.84 - 911.02]: Hi, everybody. [911.52 - 913.22]: It's an absolute pleasure to be here. [913.56 - 918.76]: So recently, I went on a road trip from Salt Lake City, Utah to San Antonio, Texas. [919.24 - 920.42]: It's about a two-hour drive. [921.78 - 923.60]: And I got pretty lonely. [923.84 - 927.60]: So I figured who can help me feel not so lonely? [927.84 - 929.16]: I decided my ex. [929.16 - 932.44]: So I sent her a text saying, hey, I'm on a road trip. [932.66 - 933.76]: Feeling kind of lonely. [933.94 - 936.68]: Could you maybe give me a call or something? [937.48 - 942.94]: And about 20 minutes goes by and I get Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Martin's Funny Introduction", "start_time": 855.14, "end_time": 860.94, "score": 85.0 }, { "title": "Unpredictable Bucket Pool", "start_time": 884.68, "end_time": 898.30, "score": 82.0 }, { "title": "Road Trip Loneliness", "start_time": 911.52, "end_time": 932.44, "score": 83.0 } ] }