ArthurSens / just-a-rather-very-intelligent-system

Inspired by MCU J.A.R.V.I.S, a simple chatbot with voice
1 stars 0 forks source link

Languages #16

Closed ArthurSens closed 5 years ago

ArthurSens commented 5 years ago

When trying to solve issue #5, I noticed it was definetly not as easy as first expected

New jsons were created for the new language, new models are trained for the new conversations

And a new concept was developed: contexts

When jarvis notices that we want to change the language that he speaks, he sets its context to changeLanguage and loads a new model with the apropriate conversation that he is now expecting

After everything is set as expected, it's context turn back to the default context intents

This new concept will also be useful for developing new actions that will need one or more different interactions with jarvis