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
I've been learning more. [5183.00 - 5183.24]: But yeah. [5183.42 - 5187.50]: I just, I didn't know I was being offensive with that material to some people. [5187.96 - 5190.62]: But I still did it tonight in the. [5192.00 - 5193.56]: But limited Jews here. [5194.38 - 5194.56]: Yeah. [5195.78 - 5195.94]: Yeah. [5198.36 - 5198.80]: Well. [5199.68 - 5203.64]: So Tony, he's trying to, he's trying to save their monetization on YouTube right now. [5203.66 - 5203.82]: Yeah. [5204.14 - 5205.22]: No, it's incredible. [5205.86 - 5206.54]: It's incredible. [5207.86 - 5210.74]: They do disproportionately control the beans. [5211.44 - 5212.12]: If you know that. [5219.74 - 5221.64]: But that's from the Vaudeville days. [5222.98 - 5225.56]: Tony, I love the stitching on that vest. [5225.74 - 5226.98]: It is, it is wonderful. [5227.52 - 5227.90]: Thank you. [5227.90 - 5229.14]: It was done by your people. [5229.50 - 5230.56]: So it's amazing. [5230.92 - 5234.38]: When they're not picking beans, they know how to sow these motherfuckers. [5236.60 - 5237.48]: Absolutely incredible. [5237.82 - 5239.32]: Very, very interesting interview. [5240.62 - 5241.76]: The set was okay. [5243.12 - 5244.00]: Thank you. [5244.26 - 5245.38]: But here, here's a big joke. [5246.30 - 5247.16]: Appreciate it, man. [5247.48 - 5249.86]: Pector Cifuentes, ladies and gentlemen. [5251.06 - 5252.42]: We're going to keep it moving along there. [5252.90 - 5255.16]: Put that mic, Sam, back where you got it from there. [5255.16 - 5256.40]: There you go. [5256.54 - 5256.84]: Perfect. [5257.88 - 5258.40]: Okay. [5258.92 - 5260.50]: We're going to keep it moving along. [5260.96 - 5261.98]: There goes Hector. [5263.30 - 5264.12]: There's Heidi. [5266.86 - 5267.90]: All right. [5268.12 - 5270.98]: Your next comedian doing 60 seconds uninterrupted. [5271.04 - 5273.58]: It goes by the name of Connor Laugher and everybody. [5273.76 - 5274.52]: Here comes Connor. [5279.42 - 5279.94]: Hey. [5281.10 - 5282.90]: I don't know if you guys can tell I'm a mustache, [5282.90 - 5284.80]: but I've been a musician for 17 years. [5286.16 - 5288.66]: As a musician, I got to say, I love what heroin's done for music. [5290.38 - 5292.02]: Hate what it's done for taking a nap in the car. [5293.90 - 5296.00]: Like, maybe I'm just tired in this Walmart parking lot, dude. [5296.92 - 5297.80]: Not everything's a tragedy. [5298.02 - 5299.36]: Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Tony's humorous take on stereotypes", "start_time": 5222.98, "end_time": 5239.32, "score": 85 }, { "title": "Musician's comedy on heroin influence", "start_time": 5273.76, "end_time": 5299.36, "score": 90 } ] }