mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
update arch_config.yaml
This commit is contained in:
parent
c6dd657ec6
commit
97aa98c311
1 changed files with 23 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue