diff --git a/core/data/en/entities/levels.json b/core/data/en/entities/levels.json new file mode 100644 index 00000000..a3ec176a --- /dev/null +++ b/core/data/en/entities/levels.json @@ -0,0 +1,28 @@ +{ + "options": { + "low": { + "synonyms": ["low"], + "data": { + "value": [ + "LOW" + ] + } + }, + "medium": { + "synonyms": ["medium"], + "data": { + "value": [ + "MEDIUM" + ] + } + }, + "high": { + "synonyms": ["high"], + "data": { + "value": [ + "HIGH" + ] + } + } + } +} diff --git a/core/data/en/intents/affirm.json b/core/data/en/intents/affirm.json new file mode 100644 index 00000000..9a2fa97d --- /dev/null +++ b/core/data/en/intents/affirm.json @@ -0,0 +1,18 @@ +{ + "name": "affirm", + "utterance_samples": [ + "Yes", + "Yep", + "Yup", + "Yeah", + "Let's do it", + "For sure", + "Sure thing", + "Of course!", + "Okay", + "OK", + "Alright", + "Correct", + "Indeed" + ] +} diff --git a/core/data/en/intents/deny.json b/core/data/en/intents/deny.json new file mode 100644 index 00000000..02852046 --- /dev/null +++ b/core/data/en/intents/deny.json @@ -0,0 +1,12 @@ +{ + "name": "deny", + "utterance_samples": [ + "No", + "No no don't", + "Nope", + "Naa", + "No thanks", + "No I'm fine", + "Hell no" + ] +} diff --git a/core/data/fr/answers.json b/core/data/fr/answers.json index 3132701b..7782c01d 100644 --- a/core/data/fr/answers.json +++ b/core/data/fr/answers.json @@ -52,6 +52,11 @@ "Vous parlez une nouvelle langue, veuillez me donner une seconde le temps que je m'adapte", "Vous parlez une autre langue, un instant s'il vous plaît", "Wow, vous parlez plusieurs langues, moi aussi ! Un instant je vous prie" + ], + "random_language_not_supported": [ + "Désolé, je ne parle pas encore cette langue", + "Vous êtes génial, mais je n'ai pas encore appris cette langue", + "Ça ressemble à une lautre langue que je ne peux pas comprendre pour le moment" ] } } diff --git a/core/data/fr/colors.json b/core/data/fr/colors.json deleted file mode 100644 index 39985636..00000000 --- a/core/data/fr/colors.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "options": { - "rouge": ["rouge"], - "bleu": ["bleu"] - } -} diff --git a/core/data/fr/entities/colors.json b/core/data/fr/entities/colors.json new file mode 100644 index 00000000..3f92315c --- /dev/null +++ b/core/data/fr/entities/colors.json @@ -0,0 +1,20 @@ +{ + "options": { + "rouge": { + "synonyms": ["rouge"], + "data": { + "usage": [ + "..." + ] + } + }, + "bleu": { + "synonyms": ["bleu"], + "data": { + "usage": [ + "..." + ] + } + } + } +} diff --git a/core/data/fr/entities/levels.json b/core/data/fr/entities/levels.json new file mode 100644 index 00000000..b29db4a8 --- /dev/null +++ b/core/data/fr/entities/levels.json @@ -0,0 +1,28 @@ +{ + "options": { + "bas": { + "synonyms": ["bas", "basse"], + "data": { + "value": [ + "LOW" + ] + } + }, + "moyen": { + "synonyms": ["moyen"], + "data": { + "value": [ + "MEDIUM" + ] + } + }, + "haut": { + "synonyms": ["haut", "haute"], + "data": { + "value": [ + "HIGH" + ] + } + } + } +} diff --git a/core/data/fr/intents/affirm.json b/core/data/fr/intents/affirm.json new file mode 100644 index 00000000..ec6f40aa --- /dev/null +++ b/core/data/fr/intents/affirm.json @@ -0,0 +1,17 @@ +{ + "name": "affirm", + "utterance_samples": [ + "Oui", + "Yep", + "Yup", + "Ouais", + "Faisons ça", + "Bien sûr", + "Évidemment", + "Tout à fait", + "Correct", + "OK", + "C'est vrai", + "En effet" + ] +} diff --git a/core/data/fr/intents/deny.json b/core/data/fr/intents/deny.json new file mode 100644 index 00000000..0ae80600 --- /dev/null +++ b/core/data/fr/intents/deny.json @@ -0,0 +1,13 @@ +{ + "name": "deny", + "utterance_samples": [ + "Non", + "Ne le fais pas", + "Nope", + "Non merci", + "Non ça va", + "C'est faux", + "Bien sûr que non", + "Fais pas ça" + ] +} diff --git a/skills/games/guess_the_number/nlu/en.json b/skills/games/guess_the_number/nlu/en.json index f9f9d284..a7cc15b6 100644 --- a/skills/games/guess_the_number/nlu/en.json +++ b/skills/games/guess_the_number/nlu/en.json @@ -1,13 +1,22 @@ { "actions": { "start": { - "type": "logic", + "type": "dialog", "utterance_samples": [ "Let's play guess the number", "I wanna play guess the number", "Can we play guess the number?", "I want to play a game like guess the number" ], + "slots": [ + { + "name": "players_nb", + "entity": "number", + "answers": [ + "How many players should I set?" + ] + } + ], "output_context": [ "guessing" ] @@ -66,7 +75,12 @@ "Nope", "Naa", "No thanks", - "No I'm fine" + "No I'm fine", + "Okay", + "OK", + "Alright", + "Correct", + "Indeed" ], "slots": [ {