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
375.72]: And that way, I'm in control of when they come. [376.20 - 377.78]: So I ordered McDonald's. [378.20 - 380.26]: And then, Derek Wayne's close orders Sonic. [380.48 - 381.14]: Sonic blast. [381.86 - 384.20]: And then, Sonic, the thing was like, [384.26 - 385.82]: do you want to make it a whole meal? [386.12 - 390.34]: And I was like, I guess if it's easier... [390.34 - 391.74]: You know, probably tax reasons and stuff. [391.86 - 393.18]: It's easier for Sonic. [394.32 - 396.12]: So, ordered two full meals. [397.84 - 399.82]: McDonald's drops it off of my front door. [400.02 - 400.98]: Take a picture of my door. [401.54 - 402.08]: My front door. [402.38 - 405.90]: I couldn't have picked out of a lineup before DoorDash. [406.28 - 408.40]: Now, I have 800 pictures of my front door. [410.72 - 412.26]: I get a picture of the Sonic. [412.44 - 413.04]: It's at a door. [413.42 - 414.16]: I do not know. [415.22 - 417.60]: So I had a moment of just like, do I go... [417.60 - 418.48]: Do I go find it? [418.48 - 419.44]: Do I go get it? [419.88 - 420.66]: And I did. [421.04 - 423.12]: I went hunting it down. [423.32 - 425.22]: I walked in all the yards in my neighborhood. [425.82 - 428.92]: I was on every ring doorbell, just like a raccoon. [429.18 - 430.80]: Just looking for all this food. [431.64 - 433.72]: All right, we've got a great show for you tonight. [434.24 - 435.74]: Pull play is here. [436.26 - 437.00]: So stick around. [437.16 - 437.94]: We will be right back. [440.22 - 442.88]: Thank you. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Food Delivery Story", "start_time": 375.72, "end_time": 430.80, "score": 85.0 } ] }