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
[708.36 - 709.94]: They like shot out like shit. [710.18 - 710.42]: It was fine. [711.10 - 713.42]: We, we make sure he's directly. [713.80 - 714.80]: Yeah, yeah, yeah. [715.10 - 715.70]: Yeah, yeah, yeah. [715.70 - 717.70]: Yeah, dude, he's got to have to play Pink Floyd's The Wall. [722.34 - 723.22]: Great job. [723.50 - 724.08]: Oh, thank you. [724.28 - 724.86]: It's a fantastic job. [725.00 - 725.46]: Very, very fun. [725.46 - 726.26]: Thank you. [726.38 - 727.56]: It really, really was. [728.94 - 729.82]: Amazing stuff. [730.26 - 731.50]: You talked about unprotected sex. [731.50 - 733.52]: Your parents did indeed have it. [733.70 - 733.74]: Yeah. [733.74 - 737.14]: You ever talked to your parents about what they may have been doing or messing around with? [737.20 - 739.20]: I, I do not want to know. [739.42 - 740.10]: Yeah, I know. [740.36 - 740.68]: I know. [740.86 - 744.12]: That's my therapist about their sex, you know what I mean? [744.26 - 746.46]: Like specifically when they made you. [746.62 - 751.10]: Ah, who, who knows what eventually they got into that night? [751.26 - 754.34]: Wait, do you think the problem is it was positionally wrong? [754.82 - 758.22]: Uh, uh, uh, apparently don't, I don't know, I don't know. [758.22 - 759.84]: I don't know. [759.88 - 761.24]: Why did I take a cream pie [761.24 - 762.40]: in that pile driver? [764.26 - 766.92]: A cream pile driver, if you will. [767.12 - 768.60]: Yeah, yeah, yeah, I don't know. [769.10 - 769.34]: I don't know. [769.94 - 770.14]: I can't. [771.22 - 774.46]: By that I came that he shook my mouth. [775.90 - 777.94]: Nice dude, he was centrifuge. [778.96 - 779.20]: Yeah. [781.00 - 784.18]: Well, I hope they don't watch those. [786.22 - 787.50]: It's worth asking. [787.76 - 788.88]: I'd be interested to know. [789.02 - 789.86]: I'm not interested. [789.86 - 793.00]: I, I'm okay with you. [793.26 - 795.62]: If you need my parents, go for it. [795.68 - 797.32]: Ask them where they are. [797.46 - 799.66]: They're in, uh, Virginia, yeah. [800.08 - 800.44]: Okay. [800.90 - 803.04]: You got, now you have your schedule a trip to Virginia. [804.80 - 805.22]: Okay. [805.46 - 805.88]: Westrance. [806.28 - 807.26]: Virginia, it was meth. [807.98 - 810.28]: Oh, no, that's West Virginia. [810.70 - 811.58]: Okay, come on. [811.92 - 813.90]: No, no shit on my state. [814.28 - 814.56]: Come on. [819.86 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Funny Parental Conversation", "start_time": 728.94, "end_time": 751.10, "score": 85.0 }, { "title": "The Cream Pie Pile Driver", "start_time": 754.82, "end_time": 774.46, "score": 82.0 } ] }