gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
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? The transcript is of a scene from a TV show. Please meet the following constraints:
- The highlights must be a direct part of the video and must not be out of context. - The highlights must be a scene in it's entirety. - The highlights must be MINIMUM 30 to 60 seconds MAXIMUM. - The highlights must include more than one segment to provide context and continuity. - The highlights must not cut off in the middle of a sentence or idea. - The highlight must be disregarded if it is not a complete thought - The user provided highlight phrases must be used to generate the highlights - The highlights must be based on the relevance of the segments to the highlight phrases - The highlights must be scored out of 100 based on the relevance of the segments to the highlight phrases. - The score must 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: Engaging
lip on you old man your life worth four hundred bucks. You go time to bounce. Yeah, go go [241.68 - 244.42]: Yeah, one lucky old man [273.74 - 274.30]: Oh [285.26 - 288.38]: That all you got get on the ground [307.90 - 309.30]: You Assistant: Assistant:
- Assistant
{ "chapters": [ { "title": "Lucky Old Man's Escape", "start_time": 241.68, "end_time": 274.30, "score": 85.5 } ] }