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 able to go viral. - The highlights should be MINIMUM 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 highlights should be interesting and have potential for high viewer retention. - 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
[4.32 - 6.04]: All right, watch us off. [7.16 - 10.18]: Necklaces, earrings, rings, bracelets. [11.02 - 11.40]: Gold. [11.86 - 12.50]: These are non-fair. [12.88 - 13.26]: Better home. [14.08 - 16.48]: What about that stuff you hear and guys wear in the end of your prints? [17.46 - 19.46]: Speak now, forever sing soprano. [20.14 - 20.90]: What's up with that bottle? [21.48 - 23.92]: Why wouldn't anybody want to put a metal ring through the end of their prick? [26.56 - 27.72]: What do you look at me for? [29.18 - 29.70]: All right. [30.52 - 36.70]: Guns, knives, tools, keys, plates in your head, artificial hips. [37.68 - 39.58]: Check your pockets, we win one more time, please. [41.32 - 42.86]: Oh, credit cards. [43.60 - 46.16]: You want that plastic work in a milletime? [47.66 - 51.02]: You know, I can foresee a lot of possible outcomes to this thing. [51.58 - 54.26]: And not a single one of them involves milletime. [54.96 - 55.50]: PMA. [56.62 - 57.76]: I was at a mental attitude. [59.24 - 60.96]: OK, I think we're good to go. [62.12 - 62.52]: All right. [63.00 - 63.98]: Or you want me with this? [64.70 - 65.94]: Start 40 feet out. [66.16 - 67.36]: There's more than the length of the room. [67.76 - 68.94]: Who's doing the honors, me? [69.72 - 73.34]: Flip that switch, turns it on, twist this here, that's your power control. [73.70 - 73.96]: All right. [74.44 - 74.96]: Everybody ready? [75.36 - 75.52]: Yep. [76.14 - 76.50]: OK. [77.26 - 78.08]: Fire in the hole! [82.50 - 83.48]: All right, you ready? [97.54 - 101.06]: The biggest cross don't aim to drive shaft to the floor. [116.50 - 117.58]: Anything? [120.74 - 123.14]: No, still working. [124.20 - 126.50]: I'd start walking forward slowly. [137.50 - 138.78]: Whoa, whoa, whoa. [139.24 - 140.02]: Wait, wait, wait, wait. [140.98 - 142.74]: Yeah, that did it. [145.66 - 146.30]: Yes. [154.06 - 155.30]: Yeah, bitch! [156.40 - 157.70]: Magnets, oh! [160.30 - 161.98]: How many batteries is this? [162.76 - 169.28]: That there's 21 wide and series, so 21 times 12, 252 volts. [169.70 - 172.74]: You need to add 21 more wired in parallel, up the average. [180.46 - 183.00]: Everything goes flying in that evidence room. [183.06 - 184.50]: It's going to make one hell of a noise. [185.44 - 186.92]: And it goes your element of surprise. [187.66 - 188.84]: It won't matter. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Observations and Metal Jewelry", "start_time": 20.14, "end_time": 29.70, "score": 82.5 }, { "title": "The Ultimate PMA", "start_time": 30.52, "end_time": 54.26, "score": 85.4 }, { "title": "The Grand Experiment", "start_time": 137.50, "end_time": 157.70, "score": 88.0 } ] }