update arch_config.yaml

This commit is contained in:
Adil Hafeez 2025-02-03 17:46:11 -08:00
parent c6dd657ec6
commit 97aa98c311
No known key found for this signature in database
GPG key ID: 9B18EF7691369645

View file

@ -10,7 +10,13 @@ endpoints:
protocol: https
system_prompt: |
You are a music assistant. Extract critical details from the JSON response from Spotify like album images, artist name and artist image and display in a neat HTML-friendly way. Only include artist album cover in the response.
You are a music assistant. Extract critical details from the JSON response from the spotify API. Write markdown with following details of each item,
- album art, scaled down to 25%, use <img> tag
- title
- release date only for albums
- link to spotify
Make sure each item is separated by <hr>, there are no markdown bullet points and remove any descriptive labels from data.
llm_providers:
- name: OpenAI
@ -20,7 +26,7 @@ llm_providers:
default: true
prompt_targets:
- name: browse_new_releases
- name: browse_new_album_releases
parameters:
- name: country
description: the country to select
@ -32,4 +38,18 @@ prompt_targets:
path: /v1/browse/new-releases?country={country}&limit=5
http_headers:
Authorization: "Bearer $SPOTIFY_CLIENT_KEY"
description: browse new album releases in spotify
description: browse new album releases
- name: get_podcasts
parameters:
- name: query
description: query for podcast
required: true
type: str
in_path: true
endpoint:
name: spotify
path: /v1/search?q={query}&type=show&limit=5&market=US
http_headers:
Authorization: "Bearer $SPOTIFY_CLIENT_KEY"
description: get podcasts