From b92e7e50b611401f74c1af0e982e68e6100479ef Mon Sep 17 00:00:00 2001 From: Tudor Sandu Date: Sat, 8 Jun 2024 02:02:40 -0700 Subject: [PATCH] Add voice template syntax permutations (#1971) --- docs/voice/intent-recognition/template-sentence-syntax.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/voice/intent-recognition/template-sentence-syntax.md b/docs/voice/intent-recognition/template-sentence-syntax.md index e619a777..f983b999 100644 --- a/docs/voice/intent-recognition/template-sentence-syntax.md +++ b/docs/voice/intent-recognition/template-sentence-syntax.md @@ -78,6 +78,10 @@ See all [translated responses](https://github.com/home-assistant/intents/tree/ma * `` * The body of the rule is substituted for `` * In YAML, `rule_name` should be under `expansion_rules`. If the `rule_name` wraps a slot name, it should match the slot name. Otherwise it should be in the native language. +* [Permutations](https://en.wikipedia.org/wiki/Permutation) of 2 or more items + * `(patience;you must have)` + * Permutation items are always padded with spaces to prevent new word formations + * Limit the number of items to 2-4, as the number of permutations for `n` items increases very quickly with `n`, this number being `n! == 1 * 2 * ... * n` ## The common file