1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-28 12:43:35 +03:00

refactor(server): queries to intents

This commit is contained in:
louistiti 2022-02-10 21:49:51 +08:00
parent 226468f6ab
commit 8dd7642d3b
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
3 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ class Nlu {
if (fallback === false) {
if (!opts.mute) {
this.brain.talk(`${this.brain.wernicke('random_unknown_queries')}.`, true)
this.brain.talk(`${this.brain.wernicke('random_unknown_intents')}.`, true)
this.brain.socket.emit('is-typing', false)
}

View File

@ -25,7 +25,7 @@
"Sorry, I've got an error with the \"%module_name%\" module of my \"%package_name%\" package",
"Sorry, the \"%module_name%\" module of my \"%package_name%\" package is broken"
],
"random_unknown_queries": [
"random_unknown_intents": [
"Sorry, I still don't know this, but you can help me to understand by <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">creating a pull request</a>",
"Sorry, you should teach me this request. You can teach me by <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">creating a pull request</a>",
"Sorry, I cannot answer that. Let me answer you in the future by <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">creating a pull request</a>",

View File

@ -25,7 +25,7 @@
"Désolé, j'ai une erreur avec le module \"%module_name%\" de mon paquet \"%package_name%\"",
"Désolé, le module \"%module_name%\" de mon paquet \"%package_name%\" est cassé"
],
"random_unknown_queries": [
"random_unknown_intents": [
"Désolé, je ne connais pas encore ça, mais vous pouvez m'aider à comprendre en <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">créant une pull request</a>",
"Désolé, vous devriez m'apprendre cette requête. Vous pouvez m'apprendre en <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">créant une pull request</a>",
"Désolé, je ne peux pas répondre à ça. Laissez moi vous répondre à l'avenir en <a href=\"https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md\" target=\"_blank\">créant une pull request</a>",