#Voice Assis custom intents

1 messages · Page 1 of 1 (latest)

hollow vine
#

Hello every one , how i can edit the default intent for voice replay , i want to edit the _common.yaml with my own response if cannot find or understand me , to add more skip word and other. I'm tired to argue with language leader how is prober to be set, for that I stop edit the official intents. But I cannot find the intent in my installation

pure stirrup
#

how i can edit the default intent for voice replay
What? 🤨

i want to edit the _common.yaml with my own response if cannot find or understand me
You can't, as there is no _common.yaml in your actual HA installation. But you can alter parts of what is in that file. For example, if you want to change the default #voice-assistants-archived message
I haven't tried skip words yet, but i think you can override those, too (NOT add to the list).

But I cannot find the intent in my installation
How did you install HA? HAOS?

hollow vine
#

I install it on virtual machine and use file editor add-on to try to found the intents . In first announcement they say we will be able to change. I want to change the response: errors: , the skip_words, and some of expansion_rules: to make voice assistant more native and easy triggers. i was thing the all intents sentence will be download with the installation and i can just rewrite them .

#

how i can over write skip words and expansion_rule from your link i saw the response error are in error yaml. i will create and test it. Hope over write is not took from the speed of the response.

pure stirrup
hollow vine
#

@pure stirrup Hope you can answer on my question , i know what i doing , dont worry

pure stirrup
#

OK then. The content of the files in custom_sentences are simply merged on top of whatever was in the home-assistants-intents package (which is compiled and published from the intents repo)

Just as you can customize responses, you can tinker with error messages, skip_words, expansion_rules or anything else, really. But you can also break everything if you're not 100% sure of the syntax

Updating the local copy of home-assistant-intents JSON (stored in site_packages and available on the HAOS host) will work, but it will be overwritten at every update, as it is not meant to be user-maintained, as opposed to custom_sentences.

hollow vine
#

mean the name of yaml file in custom_senteces/en/xxxx.yaml is not important right? Home assistant will list all the files in that folder to over write the intents with out looking the name. Only the syntax in the file is importat.

pure stirrup
#

Correct

hollow vine
#

@pure stirrup thanks all work fine , can I use random function for error feedback sentence. Like how we can use it when we do TTS notification