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 60 seconds MAXIMUM. and 15 seconds MINIMUM. That is the limit. Allow the context of the conversation to fully end. Even if that means going close to the maximum limit. - 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 or cut abrubtly at the end. - 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. 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: generate an interesting title for 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
you. That's quite kind. [245.56 - 247.50]: Hey, you're welcome. [249.98 - 250.54]: Okay. [250.96 - 254.52]: Not sure why you two are connecting, but let's move on. [255.52 - 258.60]: Governor Walls, you claimed you were in Hong Kong during the 1989 [258.60 - 261.76]: Tiananmen Square massacre when you were home in Minnesota. [262.32 - 263.14]: Can you explain that? [263.62 - 266.38]: So I think what happened is I went to Epcot. [268.50 - 273.60]: You can go around the whole world and I had a couple in the Germany section [273.60 - 276.06]: and I thought I went to China. [276.36 - 278.30]: Anyway, I'm a knucklehead. [279.00 - 285.24]: But I'm sure this guy has some things he'd want to back out of his well. [285.98 - 287.16]: He's right about that. [288.16 - 290.82]: That's an area where we have a lot of common ground. [299.98 - 304.14]: Why are they friends? [305.22 - 306.66]: Why are they vibing? [306.94 - 308.94]: They, uh, mama, it's Joe Biden. [309.24 - 310.88]: I can't talk right now. Tell him I'm not here. [311.18 - 312.44]: No, no, he's in the room. [312.62 - 312.70]: Oh. [319.60 - 320.78]: You're not here tonight. [320.78 - 321.82]: I'm coming back to you. [321.82 - 322.58]: No, no, no, no. [322.76 - 323.26]: Come in. [324.34 - 325.80]: I'm just being nice and dry. [326.06 - 327.46]: I said, come on, come on. [327.62 - 330.24]: Ah, you've been watching this guy. [330.46 - 332.20]: Come on, Walls, what's wrong with that guy? [332.96 - 333.38]: It's crazy. [333.86 - 335.32]: Get your facts straight, Jack. [336.32 - 338.26]: You got to hit him with a no joke. [338.56 - 339.08]: Here's a deal. [340.26 - 341.26]: Let me be clear. [346.36 - 348.12]: Anyway, guess what? [348.12 - 352.36]: And by the way, you should be talking about all the great things we've done. [352.56 - 353.66]: Gas prices down. [354.12 - 355.44]: We're acrossings down. [355.90 - 356.74]: Emmys for the bear. [357.20 - 357.46]: Down. [359.38 - 360.74]: Everybody get down. [362.28 - 362.84]: Tonight. [366.72 - 369.72]: And now we turn to reproductive rights. [370.24 - 372.64]: Governor Walls, what would you do on this issue? [373.16 - 377.60]: You know, in Minnesota, we restored a woman's right to choose because we trust women. [377.60 - 381.40]: And in Minnesota, we also happen to have the lowest teen pregnancy rights. [381.70 - Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "A Funny Mix-Up and Political Banter", "start_time": 258.60, "end_time": 287.16, "score": 85.0 }, { "title": "Vibing and Unexpected Visitors", "start_time": 305.22, "end_time": 335.32, "score": 78.0 } ] }