Skip to content

Commit 8aedaab

Browse files
committed
Update sepiaFW.embedded.nlu.js
1 parent 8bffb3b commit 8aedaab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/scripts/sepiaFW.embedded.nlu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function sepiaFW_build_embedded_nlu(){
221221
nluResult.context = "chat";
222222
nluResult.parameters = {
223223
"data": {
224-
"type": inputText.match(/^action|^card/)[0],
224+
"type": inputText.toLowerCase().match(/^action|^card/)[0],
225225
"test": inputText.match(/ .*/)[0].trim()
226226
}
227227
};

0 commit comments

Comments
 (0)