From 066355fa74916c7dc84697cb3a9d026a5e0777df Mon Sep 17 00:00:00 2001 From: Joseph Abbey Date: Sun, 16 Jun 2024 21:39:38 +0100 Subject: [PATCH] Fix the template syntax for RandomNumber intent --- custom_sentences/en/custom_sentences.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_sentences/en/custom_sentences.yaml b/custom_sentences/en/custom_sentences.yaml index 55ea30a..cddc1a8 100644 --- a/custom_sentences/en/custom_sentences.yaml +++ b/custom_sentences/en/custom_sentences.yaml @@ -9,10 +9,10 @@ intents: RandomNumber: data: - sentences: - - '(Pick|Generate) a [random] number between {random_range:from} and {random_range:to}' - - '(Pick|Generate) a [random] number [from] {random_range:from} (through | to) {random_range:to}' + - '(Pick|Generate) a [random] number between {from:random_range} and {to:random_range}' + - '(Pick|Generate) a [random] number [from] {from:random_range} (through | to) {to:random_range}' - sentences: - - '(Pick|Generate) a [random] number (below | up to) {random_range:to}' + - '(Pick|Generate) a [random] number (below | up to) {to:random_range}' slots: from: 1 CurrentTime: