music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.32k stars 49 forks source link

Adds description on how to use intent slots #2638

Closed HarvsG closed 2 months ago

HarvsG commented 2 months ago

Partially fixes #2636 for me

Likely needs some indentation

HarvsG commented 2 months ago

This works even better, but it is probably a bit of a reach.

description = f"Play media on a media player, `{QUERY_SLOT}:` sends a query to an AI conversation agent if configured for ambiguous commands and should not be used by AI agents, `{TRACK_SLOT}:`, `{ARTIST_SLOT}:`and `{ALBUM_SLOT}:` should be preferred. `{NAME_SLOT}:` should not include `_`."
tronikos commented 2 months ago

This should be closed. Proper fix is in #2685