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

    User: Key Phrases: Funny

    [496.98 - 497.42]: That was you. [498.10 - 499.48]: You're going to make a great president. [502.20 - 506.02]: And when you're done, it'll be my turn. Biden, 2028. [507.06 - 508.46]: For one more thing. [508.94 - 510.44]: Lots of new Yorkers. [510.44 - 511.74]: It's time to make that. Assistant: Assistant:

  2. Assistant
    {
      "chapters": [
        {
          "title": "Presidential Humor: A Glimpse into the Future",
          "start_time": 496.98,
          "end_time": 511.74,
          "score": 85
        }
      ]
    }