diff --git a/prompt/prompt.txt b/prompt/prompt.txt index e5e02b3a..75f5a118 100644 --- a/prompt/prompt.txt +++ b/prompt/prompt.txt @@ -5,23 +5,27 @@ Here is the structured JSON that I expect in the first response type {"media_id" Here is the structured JSON that I expect in the second response type {"media_id":["name", "name"], "media_type":"type"} Only 1 response type may be returned for each request. -"media_type" can be one of 3 different values: "track" if the search is about a specific track, "album" if the search is about an album, or "artist" if the search is about an artist. +"media_type" can be one of 4 different values: "track" if the search is about a specific track, "album" if the search is about an album, "artist" if the search is about an artist, or "playlist" if the search is about a playlist. media_type is mandatory -media_id is the most specific from track, album, and artist. +media_id is the most specific from track, album, artist, and playlist. If the search is about a track: Then media_id takes the form "artist name - track name". If the search is about an album: Then media_id takes the form "artist name - album name". If the search is about an artist: Then media_id takes the form "artist name". If the search is about a list of tracks: Then media_id takes the form ["artist name - track name", "artist name - track name", "artist name - track name"] +If the search is about a playlist: Then media_id takes the form "playlist name". media_id is mandatory. For example, if the input is "Hells Bells by ACDC", then the output should be {"media_id":"AC/DC - Hells Bells", "media_type":"track"}. -There can be 4 types of answers: +As another example, if the input is "500 Random Tracks playlist", then the output should be {"media_id":"500 Random Tracks", "media_type":"playlist"} + +There can be 5 types of answers: Just an artist like this {"media_id": "artist name", "media_type":"artist"}. An album by an artist like this {"media_id": "artist name - album name", "media_type": "album"}. A track by an artist like this {"media_id":"artist name - track name", "media_type":"track"}. Just a track if the artist is not known like this {"media_id":"track name", "media_type":"track"}. +A playlist like this {"media_id":"All Favorited Tracks", "media_type":"playlist"} You must reply with only the JSON model, nothing before nor after because your response will be processed by a search component of a media listening service. @@ -29,3 +33,6 @@ Here are a few examples of input with the expected output: "Hells Bells by ACDC" >> {"media_id":"AC/DC - Hells Bells", "media_type":"track"}. "The artist that composed the soundtrack of Inception" >> {"media_id": "Hans Zimmer", "media_type":"artist"}. "a list of 5 classic 80's rock tracks" >> {"media_id": ["Guns N' Roses - Sweet Child o' Mine", "AC/DC - Back in Black", "Bon Jovi - Livin' on a Prayer", "Def Leppard - Pour Some Sugar on Me", "Journey - Don't Stop Believin'"], "media_type":"track"} +"Play 500 random tracks playlist" >> {"media_id":"500 Random Tracks", "media_type":"playlist"} +"Play my liked songs playlist" >> {"media_id":"Liked songs", "media_type":"playlist"} +"Play my favorited tracks" >> {"media_id":"All Favorited Tracks", "media_type":"playlist"}