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
like a spirit or a front camera. [567.00 - 568.88]: I've turned the passenger's part of the thought, [569.14 - 570.54]: this is what we get. [570.94 - 573.76]: This is my new anti. [579.94 - 582.16]: The dirt is what it's like, whoa, [582.54 - 584.50]: this is really easy to do. [585.04 - 589.66]: Oh my god, no one would think it was a dirt risk pack. [589.66 - 592.48]: Like yeah, a shitty air lie and crap. [593.92 - 596.04]: Everybody fight the hijack game. [596.12 - 597.12]: Look at that. [597.12 - 597.66]: About that. [597.78 - 602.08]: The great Martin Phillips showing how it's done. [602.62 - 606.44]: Yet again, kicking ass, breaking glass. [607.68 - 610.22]: That's what happens when you make the waitresses laugh. [610.50 - 612.10]: Shit goes out of the air. [612.94 - 613.94]: Martin, you did it again. [614.32 - 616.20]: Great, great, great, rock solid. [616.72 - 617.00]: Thanks. [617.54 - 619.32]: Did you paint that shirt? [619.86 - 621.98]: This is a stick shirt. [625.76 - 629.38]: By sick, do you mean the shirt has been vomiting all over itself? [630.20 - 632.76]: This is a thrift shop five. [632.90 - 633.74]: Look at that, okay. [634.48 - 634.84]: All right. [635.14 - 638.66]: But yeah, I guess it is kind of looks like shit. [639.14 - 639.50]: Yeah, yeah. [639.74 - 641.36]: Not shot out like shit. [641.70 - 644.06]: I love how defensive you get over things like that. [644.06 - 645.32]: It's a cool shirt. [646.20 - 648.56]: It's well, look, I left through jackets. [648.92 - 649.70]: Oh, original. [650.30 - 650.34]: All right. [650.80 - 651.46]: Oh, my god. [652.16 - 652.34]: There. [652.96 - 654.52]: Oh, yeah, my god, yeah. [655.30 - 658.42]: Oh, my god, this is that the bond. [658.42 - 659.48]: Oh, my god. [659.82 - 660.94]: Oh, my god. [662.16 - 664.34]: Hey, this is a thrift shop five. [665.66 - 667.12]: What do you guys think of Martin? [668.50 - 672.92]: Oh, I was, I was asking the panel, but yeah, yeah. [673.70 - 681.74]: I, um, I don't, I don't want to pull a curtain, but there's no way [681.74 - 685.58]: from the time you said his name to the time he walked on the stage, [686.04 - 688.00]: this guy came from across the street. [695.12 - 700.34]: I don't, I hope I'm not showing how the sauce is made or something, but [703.30 - 705.64]: no, he was, he was ready. [705.80 - 706.90]: Oh, yeah. [706.92 - 707.14]: I was fine. [707.82 - 707.98]: Yeah. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Moment with Martin", "start_time": 579.94, "end_time": 616.2, "score": 85.0 }, { "title": "Joke about the Shirt", "start_time": 625.76, "end_time": 652.34, "score": 82.0 }, { "title": "Martin and the Curtain", "start_time": 668.5, "end_time": 707.98, "score": 90.0 } ] }