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 - 6.00]: -♪ -♪ [9.74 - 9.76]: -♪ [9.76 - 11.14]: -♪ [18.44 - 24.68]: Thank you. Thank you very much. [24.94 - 26.18]: It's very nice. [26.94 - 30.10]: Very excited to be back to Saturday Night Live. [30.28 - 30.88]: It's crazy. [31.96 - 32.82]: It's crazy. [34.76 - 38.06]: I, you know, from Nashville, went to... [38.06 - 39.96]: Look at us. Yeah. [40.12 - 41.12]: We had a big day today. [42.78 - 45.72]: We, uh, I'm, uh, went to community college [45.72 - 48.50]: and it's a big deal. [49.88 - 51.24]: There's community college. [51.42 - 52.54]: A lot of people do not know this, [52.76 - 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 gonna show you the ropes around town, [61.64 - 63.86]: kind of give you just a lay of the land. [65.16 - 66.76]: I took all remedial classes. [67.18 - 69.08]: I was there one year of zero credits. [69.46 - 70.30]: I was there the whole time. [70.70 - 71.26]: It's not good. [72.60 - 77.34]: I took speech as a class in college. [77.50 - 78.72]: I drove there with my friends. [78.96 - 79.98]: They were going to real classes [80.66 - 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.52]: How about you guys? [99.82 - 101.54]: I still say a lot of word wrong, too. [101.64 - 103.62]: That's what I don't, like, with speech. [104.28 - 105.04]: Like, help me out. [105.72 - 109.50]: I say the word all, like, all, like, all-ill. [109.96 - 111.84]: I don't even know what an O-I-L. [112.38 - 114.68]: O-I-L, motor-oil, all. [115.40 - 116.06]: Fix that. [117.94 - 119.12]: Southern Community College. [119.12 - 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.10]: And they say that. [125.28 - 125.86]: I go, all. [126.80 - 127.38]: I go, all right. [127.48 - 128.32]: We'll take care of that. [128.76 - 129.04]: All right. [129.90 - 131.64]: There's a pretty good chance you're going to be working [131.64 - 132.38]: with a lot of that. [137.78 - 139.22]: I just had Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Community College Story", "start_time": 42.78, "end_time": 63.86, "score": 85 }, { "title": "Speech Class and Mispronunciations", "start_time": 72.60, "end_time": 119.12, "score": 90 } ] }