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
[1.74 - 3.60]: What's the deal with airplane peanuts? [4.28 - 6.62]: Dude, this shit is getting gay bro to death. [6.74 - 8.46]: I got a bug. [8.68 - 10.64]: It's just very dick-oriented today. [10.66 - 11.52]: I wouldn't say it's gay. [11.70 - 12.58]: Well, that's how I'm a year. [12.76 - 13.08]: It's spring. [13.32 - 14.16]: People are refreshed. [14.56 - 14.64]: It's spring. [14.78 - 15.66]: It's a middle of the winter. [16.14 - 16.28]: Yeah. [16.42 - 17.38]: It's freezing cold out. [17.42 - 18.38]: It's just January. [18.82 - 19.00]: Whatever. [19.34 - 21.22]: You guys aren't open-minded. [21.68 - 22.64]: That's what I think. [24.26 - 26.60]: It doesn't get more winter than January. [27.34 - 28.78]: I even have a groundhog's day yet. [28.78 - 30.12]: Well, I just say it's August. [30.82 - 31.14]: Anyway. [31.78 - 32.86]: Here's my fine. [32.92 - 35.08]: Listen, I'll be honest with you. [36.12 - 37.24]: I'm kind of retarded. [40.70 - 41.66]: Is that... [41.66 - 43.10]: Because I'm not going to be that guy. [43.38 - 44.62]: Hey, happy wife. [44.88 - 45.24]: Happy life. [45.48 - 46.22]: Oh, those guys are good. [46.28 - 46.42]: Done. [46.62 - 48.98]: I watch whatever TV she wants to watch. [49.68 - 50.96]: I'm envy of some of them. [51.14 - 51.48]: Are you? [51.56 - 54.20]: Because they have the smoothest fucking life. [54.54 - 55.78]: Never lose their house. [56.34 - 59.06]: They just like to stay like a fucking... [59.78 - 61.30]: You know those big door-man buildings, [61.64 - 63.24]: where I got a package for you, Mr. Brody? [63.54 - 65.18]: Like, you become that in the relationship. [65.70 - 67.46]: You should just say we're like the bell cap [67.46 - 68.80]: and something like that. [70.60 - 71.52]: You know what I mean? [71.74 - 72.06]: Yes. [72.36 - 73.28]: Those life are dormant. [73.30 - 73.52]: Yeah. [73.98 - 76.28]: See, I had the temptation. [76.50 - 77.96]: I could do whatever I want. [78.12 - 79.18]: This is my big chance. [79.38 - 81.96]: Everyone says Brody, you're gay, you're gay. [82.36 - 83.02]: You're gay. [83.54 - 84.26]: I know. [84.50 - 85.30]: It's eight now. [85.84 - 87.82]: I'm in a room in Thailand. [87.82 - 88.88]: Oh my gosh. [89.88 - 91.58]: And you're like, I'll show you. [92.88 - 93.50]: All right. [93.98 - 94.78]: I can fund a Brody. [96.18 - 96.36]: Oh. [96.92 - 96.98]: Oh. [98.46 - 98.94]: And... [98.94 - 99.88]: Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Conversation About Seasons", "start_time": 12.76, "end_time": 28.78, "score": 85 }, { "title": "Humorous Take on Relationships", "start_time": 36.12, "end_time": 67.46, "score": 90 } ] }