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
757.84]: It's like someone will throw you a pass and while it's in the air you go, okay [757.84 - 762.08]: What are my options here when this ball gets to me? I got him cutting I could pass to him [762.08 - 765.88]: I could shoot could pass it back and it's like all right [765.88 - 769.72]: I'm ready. I think I'm right and then the ball comes to you at other times that ball just hits you in the face [775.34 - 775.86]: I [775.86 - 781.38]: Sorry guys. I was like why are you playing high? It's so true. Yeah, I tell a bit on stage [781.38 - 786.70]: I said something about a big dick man big dick black man. They can't read they put it down [791.66 - 799.84]: My first kid's father couldn't read when they got no side teeth and they can't read they got the bad sex because they practice all the time [801.72 - 809.08]: Black men who can't read don't don't have sex like black men who got a nine to five who can't read the sex is totally different [809.08 - 814.06]: Because they're not tired because they practice all they do is practice on women [814.06 - 818.86]: I mean you got my husband got to go to work Joe. He ain't got time to be flipping me over slapping me across the head [823.96 - 826.54]: He got time all that ghetto love [826.54 - 827.02]: Oh my god [829.42 - 834.02]: Go to the ghetto and by the way out of that out of where I live at they would go over to the ghetto [834.02 - 840.12]: So I said jr. How much how much you how much reach about 1.5 grams? What the hell is that I don't know [841.30 - 843.10]: And I called a police on them [844.40 - 849.08]: What are you I did I called a police on the shaking up right and I you know the police [849.08 - 851.62]: Yeah, but I said hey, we black so leave your guns in the car [851.62 - 856.28]: So come over here and shake my son up the police get over that the police and jr. Buck son [856.28 - 860.04]: Go to school together this month or come on and start crying. We love you June [860.04 - 862.10]: But I said I didn't call you a fucking cry [865.44 - 869.26]: So that didn't help but eventually I think you don't stop smoking now [869.76 - 874.96]: He's gonna stop or start I think he stopped I ran off all his friends. I told it [874.96 - 880.80]: I said look y'all be a white son. Just lost his only black friend. I'm gonna fucking white baby up bringing back over here with the weed [895.44 - 896.84]: You Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Basketball Moment", "start_time": 757.84, "end_time": 775.34, "score": 88.0 }, { "title": "The Humor of Practice", "start_time": 791.66, "end_time": 809.08, "score": 85.5 }, { "title": "Police and Parenting Humor", "start_time": 844.40, "end_time": 874.96, "score": 90.0 } ] }