matlar
1
Hi,
I created a _commons.yaml file under custom_sentences/it/
to insert some skip words:
language: "it"
skip_words:
- "...."
- "..."
The skip words so defined work perfectly on default Assist sentences, instead are not used in custom sentences defined in “sentence triggers”.
Is there a way to use the skip_words also in sentence triggers?
"(What | What's | What is | Tell me) [the] (date | day) [is it] [today]"
Square brackets can be skipped.
matlar
3
Thanks jackjourneyman,
I was aware that with square brackets I can skip words in sentence triggers.
But I thought that skip_words defined in _commons.yaml would be skipped too.
Instead, suppose I have the following configuration:
custom_sentences/en/_commons.yaml
language: "en"
skip_words:
- "please"
my automation:
- alias: "Automation name"
triggers:
- trigger: conversation
command:
- "do my command"
actions:
The automation would not trigger if I say:
okey nabu, do my command please
Ah. I think those only apply to the built in commands.