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
Cheech. [3869.80 - 3872.02]: E-A-Boy Cheech. [3880.46 - 3881.42]: Yeah, fucking. [3881.86 - 3883.82]: So I've been doing so many magic festivals [3883.82 - 3886.36]: and I'm telling you this. [3886.88 - 3888.22]: I've done so many whippets. [3888.56 - 3892.24]: I have gained control of my mustache hairs, guys. [3892.90 - 3895.28]: I am Dr. Zoydberg up in this bitch. [3897.54 - 3898.18]: Yeah. [3899.04 - 3900.16]: So anyway. [3904.84 - 3907.42]: Anyway, shut the fuck up. [3908.38 - 3910.32]: Let me get through my fucking set. [3910.32 - 3911.78]: Anyway. [3912.20 - 3914.48]: Oh, anyway. [3926.38 - 3928.64]: So here's an impersonation for you. [3929.42 - 3932.24]: So this is a fucking hell's kitchen [3932.24 - 3935.82]: if Smeagle was Gordon Ramsay. [3936.40 - 3937.64]: I brought the taches for you, sir. [3938.50 - 3939.18]: Taches. [3939.66 - 3943.28]: What are these taches for you, sir? [3943.34 - 3943.74]: All right. [3944.02 - 3946.96]: The bear was eager to come out on that one. [3947.68 - 3950.76]: E-A-Boy Cheech. [3952.72 - 3956.64]: When E-A-Boy is written into the actual name [3956.64 - 3959.16]: of the character, you can almost tell. [3959.84 - 3962.20]: It's almost like, well, they'll like this [3962.20 - 3964.70]: because I'm telling them that I'm their boy. [3965.64 - 3968.34]: But nobody I think wants to claim you, Cheech. [3968.70 - 3969.32]: I know. [3969.72 - 3970.68]: Here you are. [3970.86 - 3971.16]: Wow. [3971.26 - 3973.22]: That's as bad as it gets if you're wearing. [3973.68 - 3976.16]: You lost place of your set. [3976.30 - 3977.30]: You didn't know what to do next. [3977.48 - 3979.78]: So you started repeating back noises and things [3979.78 - 3980.54]: that you were hearing. [3980.62 - 3980.82]: Yeah. [3980.88 - 3981.66]: No, it was bad. [3981.94 - 3982.30]: It's horrible. [3982.78 - 3983.76]: You scrambled there. [3984.08 - 3984.38]: Totally. [3984.72 - 3984.82]: Yes. [3984.92 - 3985.36]: Absolutely. [3985.78 - 3987.20]: How long you've been to in standup for you? [3987.22 - 3987.72]: Three years. [3988.30 - 3988.88]: Three years. [3989.38 - 3989.86]: Where at? [3989.86 - 3990.18]: Short. [3990.74 - 3990.94]: Short. [3990.96 - 3993.94]: So, for the past 11 months, [3994.08 - 3995.16]: I've been going to city to city. [3995.68 - 3996.58]: City to city. [3996.90 - 3997.14]: Yes. [3997.50 - 3997.84]: Okay. [3998.42 - 3999.76]: And, Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Magic Festivals and Mustache Control", "start_time": 3881.86, "end_time": 3895.28, "score": 85.0 }, { "title": "Smeagle Ramsay Impersonation", "start_time": 3926.38, "end_time": 3946.96, "score": 90.0 }, { "title": "Under Pressure on Stage", "start_time": 3973.68, "end_time": 3987.72, "score": 82.0 } ] }