Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

You are a developer assistant where you only provide the code…

  1. 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 100
    

    User: Key Phrases: Funny or Interesting

    Richard Branson has launched a new, free online university for people with dyslexia. [322.24 - 325.54]: You can check it out at www.dyslexiacom. [329.20 - 334.58]: A woman in Italy has set a new world record for having the world's thickest tongue. [334.86 - 337.34]: Reach for comment, the woman said, thank you. [340.86 - 346.56]: Boston's first lesbian bar in decades called Danny's Queer Bar has officially opened its doors. [346.92 - 347.52]: Well, curtains. [351.54 - 354.34]: But even if you don't drink, it's a great place to eat out. [357.76 - 359.30]: Okay, two and a half. [360.54 - 361.74]: I'm not counting that. [362.80 - 369.04]: It was reported that a man in Austria who was high on mushrooms used an axe to amputate his own penis. [369.72 - 371.92]: Worse than he was like, ooh, another mushroom. [376.96 - 378.54]: It tells a story. [378.54 - 385.46]: Anyway, a new study on nightlife has found that 71% of Gen Z has cut back on going out. [385.60 - 390.28]: Here with a song on the magic of a great party is new cast member Jane Wickline. [393.40 - 398.92]: Hi, hi, Jane, welcome. So are you a big partier? [399.24 - 400.66]: Of course, everyone should be. [401.86 - 404.28]: Wow, I just, I wouldn't have guessed that was your vibe. [404.76 - 407.02]: Well, when you stay out late, that's extra time. [407.02 - 410.00]: And I'm tall, so I'm going to die pretty young, like a big dog. [412.18 - 414.66]: And staying out every night is how I extend my life. [414.88 - 416.88]: I could get an extra three, even four years. [417.80 - 419.24]: Wow, that's great. [420.50 - 422.12]: Well, I guess you know, take it away. [422.52 - 423.78]: Okay, this song is called party. [426.60 - 429.80]: Two in the morning and the party's going strong. [430.58 - 433.74]: I'm on the floor while the lights flash, baby. [433.74 - 438.52]: The overhead light flashes and then stays on. [439.40 - 443.10]: And then the kitchen light turns on, DJ packs up, [443.38 - 445.72]: because he knows we don't need music to dance. [449.24 - 451.02]: People stack up their chairs. [451.16 - 452.48]: Good idea. Make the dance floor bigger. [454.32 - 456.18]: So we can dance, dance. [456.66 - 458.04]: Host couple goes upstairs. [459.18 - 460.88]: They're getting freaky at the function. [461.82 - 463.50]: Sounds like it might be going to bed. [463.96 - 465.10]: One thing for sure. [465.72 - 467.24]: This party's bumping. Assistant: Assistant:

  2. Assistant
    {
      "chapters": [
        {
          "title": "A Night of Revelry",
          "start_time": 378.54,
          "end_time": 419.24,
          "score": 85
        },
        {
          "title": "Party Magic",
          "start_time": 422.52,
          "end_time": 465.72,
          "score": 87
        }
      ]
    }