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
442.78]: My wife fell down the steps. [442.96 - 443.88]: She got so mad. [444.22 - 445.98]: Because I didn't rush the helper I laughed. [446.90 - 448.42]: She had a wine glass. [448.72 - 450.04]: Wine was all over the world. [450.46 - 451.56]: Oh, my God. [452.04 - 454.54]: One of the worst falls I've ever seen in my damn life. [454.54 - 455.48]: Got up. [455.52 - 457.00]: Her shoe was on one step. [457.16 - 459.16]: The other shoe was all following funny. [459.44 - 461.16]: How could you be Michael Jordan? [461.56 - 463.86]: And kids run up to you saying, you're the crybaby thing. [466.82 - 467.72]: You cry, man. [467.86 - 468.54]: They're going to cry, man. [468.74 - 471.04]: I was like the best thing on the internet. [471.26 - 472.62]: It's one of the best things about the internet. [472.64 - 474.16]: It's the people being able to make funny. [474.36 - 475.48]: It's the best thing. [475.66 - 476.58]: But watch this though. [476.94 - 478.06]: It wants his sticks. [479.04 - 479.74]: That's what I'm saying. [480.06 - 480.60]: It wants his sticks. [480.70 - 481.24]: Oh, it's sticks. [481.50 - 481.88]: It's sticks. [482.38 - 482.44]: Yeah. [482.44 - 485.10]: I'm Michael Jordan to somebody under the age of 18. [485.42 - 487.56]: He's a crybaby face man. [487.56 - 487.86]: Amen. [488.02 - 489.04]: They're going to cry baby face man. [489.22 - 492.10]: And then you know how fans do it. [492.38 - 492.92]: Cry right quick. [493.16 - 493.56]: Yeah. [496.46 - 497.44]: Let me get you cry. [497.64 - 497.96]: Well, no. [498.10 - 498.84]: It's so true. [498.94 - 500.28]: Have you seen King Ashripper's work? [501.50 - 502.30]: Excuse me. [502.54 - 503.24]: Please, guys. [503.62 - 503.66]: Please. [504.12 - 504.92]: What is that? [505.00 - 506.02]: I'm so excited. [506.42 - 507.30]: We've reached out a lot. [507.50 - 508.06]: Offered a money. [508.38 - 508.54]: What? [508.96 - 509.12]: Yes. [509.50 - 511.42]: Just because he's such a creative guy. [511.42 - 512.26]: Would he talk? [512.38 - 513.14]: Maybe you could get him. [513.22 - 514.18]: Maybe the great Joe Rogan. [514.34 - 514.62]: You could get him. [514.84 - 515.70]: What are your powers? [516.24 - 517.02]: King Ashripper. [517.74 - 518.18]: Askripper. [518.22 - 518.40]: Yeah. [518.74 - 519.58]: Harry and Gross. [520.84 - 523.26]: So lord of all farts and gluttony. [523.48 - 524.32]: He makes videos. [524.80 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Fall Incident", "start_time": 442.78, "end_time": 454.54, "score": 92 }, { "title": "Michael Jordan Internet Funny", "start_time": 459.44, "end_time": 474.16, "score": 85 }, { "title": "King Ashripper Excitement", "start_time": 498.94, "end_time": 514.62, "score": 88 } ] }