FYP-Chatbot
FYP-Chatbot copied to clipboard
WebApp: https://github.com/ChrisRahme/fyp-webapp
Chatbot | Web Widget | Mobile App
Releases
Current
- Upgraded for Rasa 2.6.0.
2021.05.14
- Upgraded for Rasa 2.5.0:
- Problems:
- Rasa 2.4.0:
‘charmap’ codec can’t decodebytes in Arabic and Armenian. Check rasa topic #41569, rasa issue #8215, rasa pull #8286. - Rasa 2.4.2 fixed above problem but training with
checkpoint_model: Truein the pipeline fails. Check rasa topic #41706 and rasa issue #8296.
- Rasa 2.4.0:
- Supports SpaCy 3.0.
- Problems:
- Pipeline & Policies:
- Now uses
LanguageModelFeaturizerin pipeline.
- Now uses
- Actions:
- Refactored and added helper functions:
- Added
SlackAppclass to send messages to Slack from custom actions. DatabaseConnectionconstructor can now take optional parameters (either hostname, database, username, password, or a list of them).get_text_from_langcan now take a list of lists instead of list of strings to choose a random answer.
- Added
ValidateFormTroubleshootInternetnow connects to a database to get the required slots.ActionRequestHumansends message to Slack with username, phone number, Rasa ID, and slot values.
- Refactored and added helper functions:
- Intents & training data:
- Added
request_humanintent which startsaction_request_human.
- Added
2021.03.22
- Upgraded for Rasa 2.3.4:
- DIET, ResponseSelector, and TED's
model_confidencewent back fromcosinetolinear_norm(rasa issue #8014). - Studying Rasa 2.4.0.
- DIET, ResponseSelector, and TED's
- Pipeline & Policies:
- See modifications mentioned above.
- Tensorboard integration.
- Other minor changes.
- Actions:
- Refactored and added helper functions:
- Language helper functions now take a list as argument instead of one parameter per language. This helps easily scale for any number of languages.
get_lang()andget_lang_index()are used in theget_*_from_lang()functions to avoid replication of code.- Added
reset_slots()helper function. - Prettified output of
announce().
- Override
ActionSessionStartdefault action. Now slots are forgotten after a session starts. ActionAskSlotNames inFormValidationActions now have a "stop" (🚫) button to stop the form.
- Refactored and added helper functions:
- Intents & training data:
- Added
internet_problemintent which startsform_troubleshoot_internetform. - Removed Pokémon features.
- Added
- Forms:
- Added
form_troubleshoot_internetwith itsFormValidationActionandActionAskSlotNames.
- Added
- Multilanguage support:
- Chatbot now also understands Lebanese texting.
2021.03.08
- Actions:
- Added functions (Modified
Databaseclass & language-dependent template). - Converting utterances into actions that utter the message corresponding to the selected language.
- Minor code changes.
- Added functions (Modified
- Intents & training data:
- Working on basic customer support.
- Multilanguage support:
- Converting utterances into actions that utter the message corresponding to the selected language.
2021.03.01
- Actions:
- Added helper classes and functions (Database query & language-dependent utterance)
- Minor code changes.
- Multilanguage support:
- Chatbot understands 4 languages: English, French, Arabic, Armenian.
- Instead of utterances we should use actions that utter the message corresponding to the selected language.
- The chatbot will reply in a select language independently of the language of the input. The user can change this language at any time.
2021.02.24
- Actions & training data:
- Queries database when asked about quota (using form).
- Added
how_are_youintent.
- Other:
- Added lookup table for person names.
2021.02.20
- Upgraded for Rasa 2.3.0:
- DIET and TED confidence use now cosine distance.
- DIET loss type is now
cross_entropy(softmaxis deprecated) andconstrain_similaritiesis set toTrue(recommended when usingcross_entropy).
- Actions & training data:
- Weather action now supports inputs without a city name and will use last city name in that case.
- A new
out_of_scopeintent was added with a corresponding custom action that does a Google search.
- Pipeline:
- See Rasa 2.3.0 modifications mentioned above.
- The pipeline was changed to use SpaCy. The chatbot does a way better job at detecting city names.
- Number of epochs was overkill. It went from 16k to 128 epochs for DIET and TED.
- Other:
- Added tensorboard support.
lookupentry in nlu.yml is removed, added data/lookups/pokemon_name.yml instead to let Rasa search automatically.
2021.02.13
- This chatbot can recognize if a given Pokemon exists and gives you the weather in a given city or country.
- Continuous Integration support, Non-Countinuous Deployment via docker push/pull.