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
first time that I did it was so but I didn't so big [923.28 - 925.90]: Then when I try to fucking swallow it I got stuck in my throat [926.52 - 928.90]: And I'm trying to freaking the fuck out. I'm trying, you know [929.62 - 936.02]: Like and then I fly I fly from Norway to Sweden and uh, you know, Knoxville told me I was how big was the nug [936.02 - 939.68]: Dude, I didn't even take I didn't even break the buds off the stem [943.48 - 945.50]: See this swallowing branch [945.50 - 948.12]: The branch of a fucking tree [949.32 - 956.10]: And it had a fucking rock a hash in there to put Jesus in the same condom yeah, and I swallowed a dick [956.74 - 961.06]: Yeah, he basically, that's one of the joke that's one of the jugs like deep-threading the incredible [963.20 - 967.44]: In the middle of war this is taking them on and we all look around and go oh my god [967.44 - 971.02]: Amio still in the house bonehead was still in the house on fire [971.66 - 975.26]: Bro, they turned the fire off they go in he's filled with his feet up [977.70 - 978.66]: With his hands [979.64 - 988.74]: Just heroin out of his mind and TV like that he's left with the fire. Oh my god everything when they woke up up he goes on my fries ready [990.90 - 995.04]: This is how crazy this family was on my fries ready [995.04 - 998.88]: We have two fucking battalions out there [1002.66 - 1004.38]: And you're still fucking sleeping [1017.46 - 1018.86]: You Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Crazy Family Story", "start_time": 967.44, "end_time": 995.04, "score": 85.5 } ] }