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, without additional explanation. Write a structured JSON response according to the provided schema. Given a transcript with multiple segments, generate a list of highlights that meet the following criteria:

                  Contextual Clarity: Ensure that each highlight is a meaningful excerpt from the video that provides enough context to be understood on its own.
                  Relevance: Highlights should closely align with the provided highlight phrases. Prioritize segments that offer value, such as key points, unique insights, or compelling storytelling.
                  Continuity Across Segments: Use multiple transcript segments to form each highlight, preserving the natural flow and continuity of the conversation.
                  Duration Constraints: Each highlight must be between 20 and 60 seconds long. Ensure the start and end times are precise, avoiding mid-sentence cuts or awkward transitions.
                  Logical Boundaries: Do not include incomplete thoughts, abrupt endings, or clips that seem out of context without surrounding information.
                  Scoring Criteria: Assign a score between 0-100 based on how well the segment matches the user’s highlight phrases. Only include segments scoring 80 or above.
                  Highlight Titles: Create short, catchy titles for each highlight to summarize its content and appeal to the viewer.
                  Smooth Transitions: Make sure the highlights begin and end at natural pauses, avoiding jarring cuts.
                  Exclusion of Irrelevant Content: Exclude highlights that do not directly support the user’s highlight phrases or feel disjointed when isolated
    
    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

    right. That's enough. [197.40 - 199.26]: You know it's true. You're some of the guts to admit it. [199.42 - 200.40]: Great. Now you need to go. [200.50 - 203.10]: I'm going to make it clear to everyone because I'm going to dedicate my life [203.10 - 205.00]: to making sure that everybody knows the truth. [206.48 - 207.08]: Believe it. [208.52 - 210.04]: You can't hide who you really are forever. [219.22 - 219.58]: Oh. [223.30 - 224.34]: Howard. Howard. [225.04 - 226.24]: Howard, you need to leave. [227.84 - 228.54]: Who are you? [229.40 - 231.30]: Me? Nobody. [232.60 - 234.04]: I just need to talk to my lawyers. [234.92 - 236.40]: Is that right? You want some advice? [237.18 - 238.10]: Find better lawyers. [238.30 - 241.82]: Howard, please just, just turn around. [242.02 - 242.68]: No, no, no, no. [243.88 - 244.72]: Take your time. [245.76 - 246.38]: What's this about? [248.44 - 248.98]: No. [253.34 - 256.44]: Please. Please. [257.10 - 258.96]: Please, just tell us what you want. [261.38 - 264.24]: Like I said, to talk. [266.54 - 267.62]: I, uh... [267.62 - 269.62]: I think I'm in the middle of something. [271.54 - 273.40]: There's really no need to... [273.40 - 275.40]: No! No! [276.44 - 277.58]: Oh my God! [278.48 - 280.08]: No! No! [280.50 - 280.58]: No! [287.40 - 288.02]: Okay. [289.16 - 290.60]: It's dark. [309.76 - 311.16]: Okay. Assistant: Assistant:

  2. Assistant
    {
      "chapters": [
        {
          "title": "Truth Comes Out",
          "start_time": 197.4,
          "end_time": 210.04,
          "score": 85
        },
        {
          "title": "Unexpected Intrusion",
          "start_time": 225.04,
          "end_time": 241.82,
          "score": 82
        },
        {
          "title": "Tension Rising",
          "start_time": 257.10,
          "end_time": 280.08,
          "score": 88
        }
      ]
    }