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
youtube.com and download the app now. [8125.60 - 8126.76]: We love you, YouTube. [8127.42 - 8129.94]: We really, really do, from the bottom of our hearts. [8130.90 - 8133.94]: Alright, make some noise for the Legion of Skanks ladies and gentlemen, [8134.16 - 8137.16]: heading in to the big week. [8137.16 - 8141.46]: I mean, this is it, the granddaddy of them all, the greatest comedy festival. [8141.46 - 8145.66]: By the way, we've been saying that for years and years and years on this show, [8145.90 - 8152.66]: and this year is the first year where there will be no JFL fucking comedy festival [8152.66 - 8154.86]: because these guys literally killed them. [8155.16 - 8155.88]: They ended that. [8156.50 - 8161.68]: They are the comedy festival now, and it's getting bigger and better all the time. [8161.68 - 8167.20]: Very fun things, some amazing, unbelievable shows, special guests. [8167.46 - 8168.52]: They do it right over there. [8168.96 - 8171.14]: Secret shows popping up there. [8171.72 - 8172.92]: Very, very exciting stuff. [8173.14 - 8174.66]: Big J's back here in November. [8175.22 - 8176.96]: How about one more time for the Legion of Skanks? [8179.36 - 8182.58]: How about one more time for the best stamp hand in the land? [8182.84 - 8190.28]: Matt Mule, John D's, Demoness, Michael Gonzalez, Carlos, Sosa, Fernando Castillo, [8190.28 - 8192.80]: and Raul Vallejo. [8193.74 - 8194.76]: We did it again. [8196.06 - 8198.22]: The drawing from Ryan J. Bald is in. [8198.34 - 8199.72]: It is unbelievable red band. [8200.10 - 8202.20]: Check out the sunset strip ATX.com. [8202.36 - 8202.84]: Love you guys. [8203.56 - 8204.26]: We love you. [8204.50 - 8205.38]: We'll see you soon. [8205.64 - 8206.38]: Good night, everybody. [8206.68 - 8207.28]: Thank you. [8234.36 - 8237.16]: Thank you. [8258.72 - 8265.56]: Yes, Third day, I've got a sweet little dog. [8265.56 - 8267.42]: Oh my God. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Legion of Skanks Comedy Festival", "start_time": 8130.90, "end_time": 8172.92, "score": 85.5 }, { "title": "Closing Remarks and Shoutouts", "start_time": 8175.22, "end_time": 8207.28, "score": 83.2 } ] }