From aaa12a23e26630028976305a537792460574c892 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:27:28 -0600 Subject: [PATCH 1/6] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5adee2b..b99ff1e 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ _Bedroom Sophia_ it does not work if you you say _Sophia's Bedroom_ or when the Speech to Text conversion uses _Sofia_ instead of _Sophia_. Unfortunately aliases can't be used in the automation, as there is no template to get the aliases of areas or entities. Capitalization of words does't matter, so _bedroom sophia_ will still -match if the area name in Home Assitant is _Bedroom Sophia_ +match if the area name in Home Assistant is _Bedroom Sophia_ * Change the prompt which is used to have the LLM provide the correct data. You don't need to translate this if you use a different language. @@ -184,7 +184,7 @@ The language of the voice command is not relevant, the script has all descriptio 2. Allow the LLM integration to access your house, otherwise it won't be able to use the script as a tool 3. Import the Blueprint using the button above 4. Create a script using the blueprint, optionally you can adjust the prompt settings which are the basis on how the script will be used by the LLM -5. Optionally add additional actions to be performed after the Music Assitant play media step while setting up the script +5. Optionally add additional actions to be performed after the Music Assistant play media step while setting up the script 5. Save the script, make sure to give it a clear description, as that is what will be used by the LLM to determine when to use it (see example below). 6. Expose the script to Assist @@ -215,4 +215,4 @@ All responses and results are generated each time the script is used, so don't e * Queen - Bohemian Rhapsody * The Rolling Stones - Paint It Black * The Who - My Generation - * AC/DC - Back in Black \ No newline at end of file + * AC/DC - Back in Black From 587d1f5affa387271527ea72320ff6ea9a4e4566 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:28:23 -0600 Subject: [PATCH 2/6] Update mass_llm_enhanced_assist_blueprint_en.yaml --- .../mass_llm_enhanced_assist_blueprint_en.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm-enhanced-local-assist-blueprint/mass_llm_enhanced_assist_blueprint_en.yaml b/llm-enhanced-local-assist-blueprint/mass_llm_enhanced_assist_blueprint_en.yaml index 9c859e6..6bc6d19 100644 --- a/llm-enhanced-local-assist-blueprint/mass_llm_enhanced_assist_blueprint_en.yaml +++ b/llm-enhanced-local-assist-blueprint/mass_llm_enhanced_assist_blueprint_en.yaml @@ -36,7 +36,7 @@ blueprint: the Speech to Text conversion uses _Sofia_ instead of _Sophia_. Unfortunately aliases can't be used in the automation, as there is no template to get the aliases of areas or entities. Capitalization of words does't matter, so _bedroom sophia_ - will still match if the area name in Home Assitant is _Bedroom Sophia_ + will still match if the area name in Home Assistant is _Bedroom Sophia_ * Change the prompt which is used to have the LLM provide the correct data. You don't need to translate this if you use a different language. From 5986d05c34226d9b8a53b58786c1a39d6712d7db Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:29:05 -0600 Subject: [PATCH 3/6] Update llm_voice_script.yaml --- llm-script-blueprint/llm_voice_script.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llm-script-blueprint/llm_voice_script.yaml b/llm-script-blueprint/llm_voice_script.yaml index e265d4a..ef7c51f 100644 --- a/llm-script-blueprint/llm_voice_script.yaml +++ b/llm-script-blueprint/llm_voice_script.yaml @@ -1,5 +1,5 @@ blueprint: - name: LLM Script for Music Assitant voice requests + name: LLM Script for Music Assistant voice requests source_url: https://github.com/music-assistant/voice-support/blob/main/llm-script-blueprint/llm_voice_script.yaml description: '![Image](https://github.com/music-assistant/voice-support/blob/main/assets/music-assistant.png?raw=true) @@ -55,7 +55,7 @@ blueprint: The variable will undefined in case there was no area information, in case it is defined it will be a list of area_ids| - |`media_player`|The Music Assitant media player(s) determined by the LLM on which + |`media_player`|The Music Assistant media player(s) determined by the LLM on which the request will be played. The variable will be undefined in case there was no media player provided in the request, in case it it defined it should be a list entity_ids, but it could be the LLM provided names instead. From 14c8e16d7aaee1fc80547978bd9b0e689c41f9e3 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:30:06 -0600 Subject: [PATCH 4/6] Update mass_llm_enchanced_assis_bluerpint_nl.md --- .../mass_llm_enchanced_assis_bluerpint_nl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llm-enhanced-local-assist-blueprint/mass_llm_enchanced_assis_bluerpint_nl.md b/llm-enhanced-local-assist-blueprint/mass_llm_enchanced_assis_bluerpint_nl.md index 257d159..e978530 100644 --- a/llm-enhanced-local-assist-blueprint/mass_llm_enchanced_assis_bluerpint_nl.md +++ b/llm-enhanced-local-assist-blueprint/mass_llm_enchanced_assis_bluerpint_nl.md @@ -47,7 +47,7 @@ Elke zin moet: ### Hoe het doel voor de media bepaald wordt -1. Indien er één of meerdere areas en/of één of meerdere mediaspelers vermeld wordenin het commando, en deze aan een area en/of speler voor Music Assitant gekoppeld kunenn worden, worden deze gebruikt. Als je de namen niet naar de LLM stuurt, en een area of speler vermeld die niet exact overeen komt, wordt de `No target response` reactie gegeven. +1. Indien er één of meerdere areas en/of één of meerdere mediaspelers vermeld wordenin het commando, en deze aan een area en/of speler voor Music Assistant gekoppeld kunenn worden, worden deze gebruikt. Als je de namen niet naar de LLM stuurt, en een area of speler vermeld die niet exact overeen komt, wordt de `No target response` reactie gegeven. 2. Als er geen area of speler in het commando vermeld wordt, maar er wel een area bepaald kan worden op basis van het apparaat waarvan het commando gestuurd wordt, wordt deze area gebruikt indien er ook een Musuc Assistant mediaspeler in die area is. 3. Indien er geen area of mediaspeler vernoemd wordt, en deze ook niet bepaald kan worden op basis van het apparaat waarvan het commando komt, wordt de media gespeeld op de `Default Player`. Indien die niet ingesteld is, wordt de `No target response` reactie gegeven. @@ -67,4 +67,4 @@ Speel liedjes van U2 Speel muziek van de componist van Oppenheimer Speel dat album met op de voorkant de naakte baby die naar een bankbiljet zwemt ``` -' \ No newline at end of file +' From b1c62132c6518006fdd3455840cc6e584254ad9b Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:55:24 -0600 Subject: [PATCH 5/6] Update changelog.md --- llm-script-blueprint/changelog.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/llm-script-blueprint/changelog.md b/llm-script-blueprint/changelog.md index 25a4c79..673a963 100644 --- a/llm-script-blueprint/changelog.md +++ b/llm-script-blueprint/changelog.md @@ -2,6 +2,10 @@ # Changelog: Option 3 - Full LLM Script +## 20250129 + +* fix: correct assistant typo throughout + ## 20250128 -* Initial version when the changelog was created \ No newline at end of file +* Initial version when the changelog was created From 0b3c00e8860c77ba0e40266b214d0839ea2c9a35 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 28 Jan 2025 19:55:44 -0600 Subject: [PATCH 6/6] Update changelog.md --- llm-enhanced-local-assist-blueprint/changelog.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/llm-enhanced-local-assist-blueprint/changelog.md b/llm-enhanced-local-assist-blueprint/changelog.md index 4845c5c..493449b 100644 --- a/llm-enhanced-local-assist-blueprint/changelog.md +++ b/llm-enhanced-local-assist-blueprint/changelog.md @@ -2,6 +2,10 @@ # Changelog: Option 2 - LLM Enhanced automation +## 20250129 + +* fix: correct assistant typo throughout + ## 20250128 -* Initial version when the changelog was created \ No newline at end of file +* Initial version when the changelog was created