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
do. No joke. [667.12 - 668.98]: I mean, it's serious right now. Come on. [670.70 - 672.84]: And guess what? And by the way. [674.58 - 676.86]: The fact of the matter is... [676.86 - 680.48]: The rich don't pay their fair share. [681.56 - 684.16]: They got a fair share. We got to build back better. [684.36 - 686.02]: Build back the better, the better, the better. [686.68 - 687.54]: Build back the better. [687.82 - 689.12]: Can't believe it's not butter. [689.40 - 691.12]: Thank you, Jabidin. Thank you so much. [691.66 - 693.24]: Thank you. Thank you. [693.48 - 694.78]: And I just want to say... [696.04 - 698.68]: I just want to say, thank you, Jabidin. [698.82 - 700.30]: Thank you for putting country first, [700.78 - 702.10]: and for handing over the reins. [702.58 - 703.40]: I didn't want to. [705.28 - 706.52]: They made me. [707.08 - 709.08]: And guess what? And by the way. [710.32 - 712.12]: The fact of the matter is, no joke. [712.38 - 713.50]: It's just serious right now. [714.30 - 714.82]: It's just serious. [716.14 - 717.16]: Anyway, it's a closure. [717.42 - 719.20]: Me and Vice President Harris are the same. [719.34 - 721.86]: Oh, okay. Ha, ha. Great stuff. Thank you, Jabid. [721.86 - 723.60]: Thank you so much. Thank you. [724.36 - 725.74]: All right, good-bye, Jabidin. [725.74 - 727.50]: Good-bye, Jabidin. [728.74 - 729.80]: Good-bye to you, everyone. [729.80 - 730.48]: Now. [732.02 - 732.92]: And you're great. [733.50 - 734.68]: Now listen, listen. [735.52 - 737.06]: All right? We got to stay focused. [737.82 - 738.06]: Okay? [738.82 - 739.92]: And let me tell you something. [740.92 - 743.30]: If we win together, [744.48 - 746.44]: we can end the drama-la. [748.08 - 749.36]: End the drama-la. [750.32 - 753.38]: And go relax in our pajamas. [755.42 - 757.98]: Because if there's one thing I know, I'll always back. [759.62 - 760.22]: Let's see. [760.58 - 760.90]: All right. [761.18 - 761.90]: You want it? [762.22 - 762.66]: Yeah. [762.80 - 763.24]: Come on in. [763.48 - 765.22]: Okay. Hey, hey there. [768.04 - 768.86]: Is that nice? [769.30 - 769.58]: Yeah. [770.04 - 770.86]: Really good. [771.22 - 771.50]: Okay. [772.90 - 773.54]: Hi there. [773.82 - 774.94]: Hi, I get back here. [775.10 - 775.58]: I don't know. [775.98 - 776.24]: Oh, yeah. [776.70 - 778.12]: I was going to say one more thing. [778.36 - 778.60]: Oh, yeah? [778.88 - 779.10]: Yeah. Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Segment with Jabidin", "start_time": 689.40, "end_time": 694.78, "score": 85.0 }, { "title": "Build Back Better and Humor", "start_time": 681.56, "end_time": 689.12, "score": 90.0 }, { "title": "Dramatic Closure", "start_time": 737.82, "end_time": 749.36, "score": 82.5 } ] }