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
272.68]: Lay it quietly on my porch. [274.08 - 276.44]: Don't let anybody in this house know I'm doing this. [279.48 - 281.46]: Calls three grand for this blizzard. [281.78 - 283.10]: All right. [283.30 - 284.00]: I'll pay it. [284.06 - 287.74]: I order it one night. [288.22 - 290.06]: So I get, I like McDonald's. [290.40 - 292.02]: And so I got a number one with no onions. [292.56 - 294.36]: And McDonald's, they do have a McFlurry. [295.24 - 296.86]: But they only let you do one size. [297.28 - 298.10]: I don't care for that. [299.44 - 301.10]: So I was going to get a blizzard. [301.74 - 303.42]: And I double-dashed it. [303.92 - 306.38]: So if you don't know, you can double-dash it. [306.94 - 309.76]: And double-dashing is when you just keep pepper in the guy. [311.54 - 313.90]: You know, you're like, what else is open around you? [314.08 - 317.24]: You know, maybe go see if they got nerves in that gas station. [322.64 - 324.92]: So I ordered it. [325.20 - 327.18]: But for some reason, I thought it was going to be the same guy. [327.28 - 329.18]: But they put it in two different drivers. [329.18 - 330.86]: So they separate it. [331.16 - 333.14]: Now I'm like, watching the GPS. [333.52 - 335.14]: And I'm like, they're going to come at the same time. [336.24 - 337.88]: Like, it could not. [338.16 - 339.68]: It's like, in my worst nightmare. [340.10 - 343.30]: So I need one of them to get in a wreck. [343.78 - 344.38]: It happens. [346.04 - 347.56]: I mean, I see them both. [347.74 - 349.40]: They both make the turn at the same time. [349.40 - 350.42]: I'm mortified. [351.90 - 353.08]: The McDonald's comes in. [353.24 - 353.76]: Drops it off. [353.86 - 355.64]: Derrick Wayne has to let him back out. [357.38 - 359.10]: He was just in the cul-de-sac. [359.30 - 362.14]: Like, I was having construction done in my house at 11 o'clock [362.14 - 362.48]: a night. [362.56 - 363.36]: He just not go ahead. [367.28 - 370.16]: So the next time I did this, I figured, you know what? [370.68 - 373.08]: I'll just order it from two separate drivers. [373.54 - 375.72]: And that way, I'm in control of when they come. [376.18 - 377.78]: So I ordered McDonald's. [378.20 - 380.64]: And then Derrick Wayne's closed orders sonic blast. [381.82 - 384.20]: And then sonic, the thing was like, [384.20 - 385.82]: do you want to make it a whole meal? [386.14 - 390.38]: And I was like, I guess if Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Double-Dashing Nightmare", "start_time": 333.52, "end_time": 350.42, "score": 85 }, { "title": "Creative Ordering Strategy", "start_time": 367.28, "end_time": 390.38, "score": 83 } ] }