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
And here you are. [5481.54 - 5483.84]: So you've seen this show before, Connor. [5484.02 - 5484.98]: You know how it works. [5485.08 - 5485.40]: Yes sir. [5485.60 - 5489.82]: You're in that interview part where, you know, if you give us something interesting [5489.82 - 5492.18]: about your life, it would be what makes you different. [5492.42 - 5493.64]: I can play the guitar like a motherfucker. [5494.00 - 5494.66]: Can you really? [5494.98 - 5495.00]: Yeah. [5495.66 - 5496.58]: Like a motherfucker? [5497.06 - 5497.54]: Like a motherfucker. [5497.86 - 5499.64]: Well, we have a Killtony guitar. [5499.80 - 5501.44]: Can we get that thing started to plug in? [5501.82 - 5501.96]: Yeah. [5501.96 - 5502.86]: We don't have it now. [5503.10 - 5503.68]: What does that mean? [5503.68 - 5504.62]: Why would you say that? [5504.68 - 5505.68]: He left it at home. [5506.14 - 5506.74]: Is that true? [5509.16 - 5510.24]: Is that true Matt? [5510.88 - 5513.42]: Why don't we leave it here since it's the guitar for the show? [5514.24 - 5515.06]: There you go. [5515.48 - 5516.32]: Jesus Christ. [5516.72 - 5518.94]: If I may, Mr. Mulewing, I promise I'll play it [5518.94 - 5520.64]: but any bucket poll that's ever come on this show. [5520.86 - 5522.44]: Wow, he is guaranteed. [5524.38 - 5528.96]: And with no hesitate, I've never seen Matt so eager to share his... [5529.64 - 5530.16]: No, I'm not. [5530.16 - 5532.74]: But this is absolutely unbelievable. [5532.96 - 5534.14]: I just owe everybody. [5534.32 - 5537.00]: And here's what the Connor has been practicing. [5537.34 - 5541.24]: Deep in the dark, dark, depressing hole of Cincinnati, Ohio. [5541.66 - 5546.18]: Not to be confused with any of the other cities in Ohio. [5546.66 - 5550.74]: Cincinnati is an absolute depressing death trap. [5550.98 - 5551.48]: It's a bitch. [5551.78 - 5553.54]: Go bananas is cool, but I got banned. [5554.48 - 5556.50]: Wow, how'd you get banned from Go bananas? [5556.74 - 5558.50]: It was a disagreement between me and management. [5558.50 - 5560.78]: They thought none of their walls should have holes in them. [5560.84 - 5563.00]: And I was like, there's one, should have a hole punched in it. [5563.82 - 5564.26]: Yeah. [5564.46 - 5566.30]: They never liked that. [5566.42 - 5568.18]: Did you mind if I adjust your strap, Matt? [5569.02 - 5569.46]: Yeah. [5570.78 - 5572.30]: Oh, well, too late. [5572.56 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Guitar Interview", "start_time": 5485.60, "end_time": 5496.58, "score": 85.0 }, { "title": "The Infamous Cincinnati", "start_time": 5534.32, "end_time": 5564.26, "score": 90.0 } ] }