diff --git a/demos/spotify/arch_config.yaml b/demos/spotify/arch_config.yaml index c003f631..75ade01f 100644 --- a/demos/spotify/arch_config.yaml +++ b/demos/spotify/arch_config.yaml @@ -73,6 +73,7 @@ system_prompt: | **THE TORTURED POETS DEPARTMENT** Taylor Swift - 2024-04-18 [Listen on Spotify](https://open.spotify.com/album/1Mo4aZ8pdj6L1jx8zSwJnt) + Arist Id: 06HL4z0CvFAxyc27GXpf02
Make sure your output is valid Markdown. And don't say "formatted in Markdown". Thanks! @@ -103,35 +104,49 @@ prompt_targets: http_headers: Authorization: "Bearer $SPOTIFY_CLIENT_KEY" - - name: search_for_item - description: Get information about albums, artists, playlists, tracks, shows, episodes or audiobooks. You can search for an item by its name, creator, or topic. + - name: get_artist_top_tracks + description: Get information about an artist's top tracks parameters: - - name: q - description: Your search query, which can include keywords related to the item name, its creator, or its topic. + - name: artist_id + description: The ID of the artist. required: true type: str - - name: type - type: str - description: The type of the item to search for (e.g., album, artist, playlist, track, show, episode, audiobook). - enum: - - album - - artist - - playlist - - track - - show - - episode - - audiobook - required: true - - name: market - type: str - description: A country code - default: US - - name: limit - type: integer - description: The maximum number of results to return - default: "5" + in_path: true endpoint: name: spotify - path: /v1/search + path: /v1/artists/{artist_id}/top-tracks http_headers: Authorization: "Bearer $SPOTIFY_CLIENT_KEY" + + # - name: search_for_item + # description: Get information about albums, artists, playlists, tracks, shows, episodes or audiobooks. You can search for an item by its name, creator, or topic. + # parameters: + # - name: q + # description: Your search query, which can include keywords related to the item name, its creator, or its topic. + # required: true + # type: str + # - name: type + # type: str + # description: The type of the item to search for (e.g., album, artist, playlist, track, show, episode, audiobook). + # enum: + # - album + # - artist + # - playlist + # - track + # - show + # - episode + # - audiobook + # required: true + # - name: market + # type: str + # description: A country code + # default: US + # - name: limit + # type: integer + # description: The maximum number of results to return + # default: "5" + # endpoint: + # name: spotify + # path: /v1/search + # http_headers: + # Authorization: "Bearer $SPOTIFY_CLIENT_KEY"