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
[0.00 - 4.10]: Ladies and gentlemen, Nate, Mark Guessi! [4.68 - 14.36]: -♪ -♪ [18.12 - 18.90]: Cheers and applause. [23.08 - 24.66]: Thank you. Thank you very much. [25.06 - 26.20]: It's very nice. [27.20 - 30.08]: Very excited to be back to Saturday Night Live. [30.26 - 30.88]: It's crazy. [31.82 - 32.86]: It's crazy. [34.66 - 38.06]: I, you know, from Nashville, went to... [38.06 - 39.34]: Look at us. [39.80 - 41.14]: We had a big day today. [43.08 - 48.50]: I went to community college, and it's a big deal. [50.20 - 52.52]: Community college, a lot of people do not know this, [52.78 - 54.74]: but community college is college when they're like, [54.74 - 56.68]: you're probably staying in your community. [57.12 - 61.28]: So we're going to show you the ropes around town, [61.64 - 63.86]: kind of give you just a lay of the land. [65.16 - 66.74]: I took all remedial classes. [67.18 - 69.08]: I was there one year of zero credits. [69.46 - 71.26]: I was there the whole time. It's not good. [72.42 - 77.34]: I took speech as a class in college. [77.50 - 78.72]: I drove there with my friends. [78.96 - 80.00]: They were going to real classes, [80.68 - 83.20]: and they go like business math or something. [83.20 - 84.80]: I don't even know what a class is called. [85.34 - 86.42]: Because I was like, I'm going to speech. [86.58 - 88.04]: I think I'm a different part of the campus. [90.20 - 92.56]: We stay in the same room, and our teachers rotate. [92.78 - 93.54]: How about you guys? [99.82 - 101.56]: I still say a lot of word drunk, too. [101.64 - 103.62]: That's what I don't, like, with speech. [104.28 - 105.04]: Like, help me out. [105.72 - 107.42]: I say the word all. [107.90 - 108.42]: Like, all. [108.74 - 109.68]: Like, all you all. [109.68 - 110.92]: I don't even know how to. [111.14 - 111.82]: O-I-L. [112.38 - 113.14]: O-E-L. [113.38 - 114.04]: Motor oil. [114.46 - 114.66]: All. [115.40 - 116.06]: Fix that. [117.94 - 119.12]: Southern Community College. [119.20 - 121.42]: This should be mandatory that they fix that. [121.94 - 123.84]: They should write O-I-L on the board. [124.34 - 125.08]: And they say that. [125.28 - 125.86]: I go, all. [126.78 - 127.38]: I go, all right. [127.48 - 128.32]: We're going to take care of that. [128.72 - 129.04]: All right. [129.88 - 131.64]: There's a pretty good chance you're going to be working [131.64 - 132.38]: with a lot of Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Nashville and Community College Humor", "start_time": 27.20, "end_time": 48.50, "score": 85.0 }, { "title": "Funny Speech Class Experience", "start_time": 69.46, "end_time": 92.56, "score": 83.0 }, { "title": "Southern Accent Comedy", "start_time": 99.82, "end_time": 131.64, "score": 82.0 } ] }