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
I moved here. [5397.66 - 5398.44]: So now you live here? [5398.68 - 5398.88]: Yes, indeed. [5398.88 - 5399.72]: How long have you lived here? [5399.82 - 5400.32]: Two weeks. [5400.82 - 5401.08]: Okay. [5401.40 - 5402.54]: What's your living situation? [5403.50 - 5405.26]: I have an apartment in Travis Heights. [5406.22 - 5406.62]: Okay. [5406.82 - 5407.24]: By yourself? [5407.54 - 5408.10]: Yeah, one bedroom. [5408.48 - 5409.12]: Oh my goodness. [5410.18 - 5411.48]: So how are you affording that? [5411.56 - 5412.34]: You saved up money? [5412.82 - 5414.78]: I got, I worked for the AV department [5414.78 - 5415.76]: at one of the hotels downtown. [5416.38 - 5416.56]: Nice. [5416.90 - 5417.00]: Yeah. [5417.52 - 5417.74]: Cool. [5417.74 - 5419.36]: What else about you, Connor? [5419.52 - 5421.18]: You've been doing this six years in Cincinnati. [5421.64 - 5424.06]: Now you live in the new comedy capital of the world. [5424.06 - 5425.54]: What's your plan of attack here? [5425.80 - 5427.16]: Get after it as much as possible. [5427.20 - 5427.60]: Right. [5427.92 - 5430.48]: Actually, fun fact for Cincinnati at the Liberty Funnybone. [5430.48 - 5432.40]: My first guest spot ever was for this guy right here. [5432.52 - 5433.10]: Big J. Oakerson. [5433.28 - 5433.64]: Wow. [5433.88 - 5434.70]: Look at that. [5436.22 - 5436.62]: Liberty. [5436.88 - 5438.96]: Did you do cocaine with him in the green room? [5440.00 - 5440.80]: Say yes. [5441.22 - 5443.24]: I asked him a couple of times and he was annoyed about it. [5443.32 - 5443.72]: Pushy. [5444.40 - 5445.40]: Liberty, Liberty, Ohio. [5445.88 - 5446.22]: Oh, sorry? [5446.22 - 5446.80]: Liberty, Ohio. [5447.12 - 5447.94]: Yes sir, the very same. [5448.56 - 5448.84]: Oh yeah. [5448.92 - 5449.46]: Yeah, that was the shit. [5449.72 - 5452.50]: How long have you had a debilitating alcohol problem? [5455.86 - 5456.18]: Whoa. [5456.68 - 5457.36]: On the nose. [5458.28 - 5458.60]: Yeah. [5459.88 - 5461.04]: Your ears get weird. [5462.44 - 5462.76]: I've... [5465.10 - 5465.74]: No, I... [5465.74 - 5470.56]: I actually kind of got on top of it before coming here. [5470.68 - 5471.98]: I was like, I don't need that too. [5472.32 - 5474.70]: So I like, you know, financially it would be a nightmare. [5474.70 - 5478.40]: So I've been not boozing just in case I get on this show. [5478.80 - 5479.64]: There you go. [5479.82 - 5480.80]: Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Moving to Liberty Funnybone", "start_time": 5421.64, "end_time": 5433.10, "score": 85 }, { "title": "Debilitating Alcohol Problem Humor", "start_time": 5452.50, "end_time": 5479.64, "score": 90 } ] }