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
that. [137.78 - 139.22]: I just had it where I said it. [139.22 - 140.72]: I was eating pizza. [141.82 - 145.36]: And on the menu, it said it had extra virgin olive oil on it. [147.38 - 150.46]: So, I had my head, and I read it like this. [150.78 - 154.34]: I was like, well, I don't know if I want extra virgin olive oil. [154.84 - 156.98]: So, I don't know if I want any of it. [157.28 - 158.18]: You know, much less. [158.68 - 159.60]: Maybe I don't want it. [159.68 - 162.14]: You know, so I go, when it was my turn, I was like, [162.42 - 165.22]: I think I'll take a regular amount of virgin olive oil. [165.88 - 167.70]: And no one really knew what to say to that. [167.70 - 168.54]: Yeah. [172.28 - 174.66]: I mean, I would, doors that I know to make fun of it [174.66 - 178.82]: is because my friends go, did you say regular amount of virgin olive oil? [180.02 - 182.86]: I go, yeah, I don't know why they're forcing extra on us. [186.70 - 187.78]: Yes, I'm sorry. [188.22 - 189.94]: I don't know a lot about food. [190.60 - 190.82]: All right. [191.52 - 193.40]: First time at Raspberry, 40 years old. [195.14 - 195.96]: 40 years old. [196.08 - 196.76]: First time I had Raspberry. [197.32 - 198.40]: I said it at the poor. [198.48 - 199.50]: I was like, what is this? [200.48 - 201.80]: And they go, the bowl? [203.20 - 204.98]: That's, that's how much they figured, [205.26 - 207.06]: well, clearly knows what Raspberry is. [207.60 - 211.06]: It makes more sense for him not to know what a bowl is. [216.78 - 218.56]: I didn't see Raspberry is growing up. [218.74 - 219.74]: You know, I don't come from money. [220.12 - 220.42]: All right. [221.56 - 223.60]: I still swim with my eyes open. [229.38 - 232.34]: I love, I love processed food, you know. [232.96 - 233.46]: I love it. [233.76 - 235.46]: I'm a farm factory table guy. [236.08 - 240.66]: And I always have been, you know. [241.94 - 243.84]: Door dash is what's going to kill me. [244.16 - 246.80]: I mean, I don't know who I think I am. [246.80 - 249.38]: I order, I look at it. [249.70 - 251.10]: At night, like it's tender. [253.60 - 256.00]: Just scrolling through, seeing who's open. [256.34 - 257.40]: Just, hey, hearties. [260.40 - 262.66]: The audacity I have when I order it. [262.78 - 264.46]: I mean, I'm just laying there. [265.04 - 266.68]: I'm like, bring me a blizzard now. [268.56 - 270.06]: I want it right now. [271.12 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Olive Oil Order", "start_time": 154.84, "end_time": 178.82, "score": 85.5 }, { "title": "First Time Raspberry", "start_time": 191.52, "end_time": 211.06, "score": 82.3 }, { "title": "Door Dash Hilarity", "start_time": 244.16, "end_time": 270.06, "score": 87.2 } ] }