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
396.16]: So, ordered two full meals. [397.84 - 399.82]: McDonald's drops it off of my front door. [400.02 - 400.96]: Take a picture of my door. [401.54 - 403.74]: My front door, I couldn't have picked out of a lineup [405.10 - 405.90]: 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.26 - 413.04]: It's at a door. [413.38 - 414.16]: I do not know. [415.18 - 418.48]: So, at a moment, just like, do I go, do I go find it? [418.74 - 419.42]: Do I go get it? [420.14 - 420.66]: And I did. [421.02 - 423.10]: I went, hunted it down. [423.32 - 425.20]: I walked in all the yards in my neighborhood. [425.92 - 428.92]: I was on every ring doorbell, just like a raccoon. [429.18 - 430.78]: Just looking for all this food. [431.62 - 433.72]: All right, we've got a great show for you tonight. [434.24 - 435.74]: Pull play is here. [436.30 - 437.00]: So stick around. [437.18 - 437.92]: We will be right back. [437.92 - 437.98]: Yeah. [439.58 - 440.34]: Yeah. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Food Hunt", "start_time": 396.16, "end_time": 430.78, "score": 85.0 } ] }