diff --git a/server/src/core/nlu.js b/server/src/core/nlu.js index b7e75bce..a829470e 100644 --- a/server/src/core/nlu.js +++ b/server/src/core/nlu.js @@ -225,7 +225,7 @@ class Nlu { const spacyEntity = { [entity]: { options: { - [resolution.value]: [resolution.value] + [resolution.value]: [string.ucfirst(resolution.value)] } } } @@ -396,7 +396,6 @@ class Nlu { opts = opts || { mute: false // Close Leon mouth e.g. over HTTP } - utterance = string.ucfirst(utterance) if (!this.hasNlpModels()) { if (!opts.mute) { diff --git a/skills/productivity/todo_list/nlu/en.json b/skills/productivity/todo_list/nlu/en.json index 9ae8d2ff..777f896d 100644 --- a/skills/productivity/todo_list/nlu/en.json +++ b/skills/productivity/todo_list/nlu/en.json @@ -8,8 +8,7 @@ "Can you create a reminder list for me?", "Make a food list", "I want a shopping list", - "Help me to get material list", - "Can you add a reminder list?" + "Help me to get material list" ], "entities": [ {