diff --git a/prompt/prompt.txt b/prompt/prompt.txt index 75f5a118..aa9c4fc1 100644 --- a/prompt/prompt.txt +++ b/prompt/prompt.txt @@ -5,27 +5,31 @@ 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 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" can be one of 5 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, "playlist" if the search is about a playlist, or "radio" if the search is about a radio station. media_type is mandatory -media_id is the most specific from track, album, artist, and playlist. +media_id is the most specific from track, album, artist, playlist, and radio. 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". +If the search is about a radio station, then media_id takes the form of "radio station 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"}. -As another example, if the input is "500 Random Tracks playlist", then the output should be {"media_id":"500 Random Tracks", "media_type":"playlist"} +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: +And as another example, if the input is "Holly radio station" then the output should be {"media_id":"Holly", "media_type":"radio"}. + +There can be 6 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"} +A playlist like this {"media_id":"All Favorited Tracks", "media_type":"playlist"}. +A radio station like this {"media_id":"Hallmark", "media_type":"radio"}. 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. @@ -36,3 +40,5 @@ Here are a few examples of input with the expected output: "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"} +"Play the Hallmark station" >> {"media_id":"Hallmark", media_type":"radio"} +"Play the Holly radio station" >> {"media_id":"Holly", "media_type":"radio"}