dialoguemd-archives / covidflow Goto Github PK
View Code? Open in Web Editor NEWFlow for covid-19 assessment, navigation and follow-ups.
License: MIT License
Flow for covid-19 assessment, navigation and follow-ups.
License: MIT License
Currently, when we refresh the page, the enabled/disabled state of the input box is reset while the session ID (thus the conversation state) is preserved.
We should either completely reset the conversation with a new session ID or preserve the input box state.
The chatbot currently expects to begin with the /greet
intent. We should also avoid persist the history when the tab is closed and simply use session
based storage.
This could be done by checking the presence of a question mark, the absence of entity, the number of words, etc...
Current implementation of these are run synchronized which will affect their responsiveness when performing slow operations such as http requests.
For the rasasdk, we could reuse the async objects from beautiful-mind.
The code will stay internal to Nu Echo and run locally until ready to be put on GitHub.
Missing the 211 messages. Clean-up messages: join similar messages together when the meaning is the same and rename messages to standardize naming
Code will be sent using an external event on Twilio channel
Any test that depends on rasa-sdk will fail in the CI.
This seems caused by the fact that we don't install rasa-sdk. We should probably add it in our dev dependencies instead of installing it in a separate target.
Maybe make a little form out of asking severe symptoms? Or more? The slots in which to keep the symptoms also changed and the mild symptoms message
When asking the user for its first name, we currently set the first name to the text value of the complete user message. We want to extract a first name entity instead.
Edit: We will not implement this for now. We will see if users actually enter something other than their first name, then reassess.
To avoid managing error handling everywhere or providing a bad user experience, we must find a way to disable the text input in our chat widget when the output contains buttons.
Asks for province and age after severe symptoms, proposes info package instead of redirection websites
Remove the time of day slot and add the Dialogue account one, plus remove the email option. (only SMS will be supported for now)
We need to extract some entities that cannot be expressed as buttons (phone number, email address, first name, messenger id). To do so, we should setup a simple regex based entity extractor (instead of using a duckling server).
Pass it to the Core server as an entity and store it as a slot.
We must also connect it to the Rasa Core instances using ACTION_SERVER_ENDPOINT
.
Entering the QA flow after an assessment is possible, but the opposite should be true in some situations, and is not implemented.
We still need to figure out the proper workflow with our Docker images that uses base Rasa images. We might want to use rasa
and rasa-sdk
as dev dependencies to avoid reinstalling them. Else we might want to take the custom Docker image route.
While the Q&A service has language detection features, we should still explicitly pass the language when querying it. To do so, the user language must be available in the action server request using a slot which means that the core servers must be aware of their language.
To do so, we should add a language
slot to the domain file and initialize it with the proper language:
slots:
language:
type: unfeaturized
initial_value: en
The value could either be specified in separate domain.$language.yml
or using an environment variable if possible.
The service URL should be configurable using an environment variable.
The frontend language must be configurable like in the current Chloe implementation. We will need to point to the the correct core instance (en/fr).
Some Rasa features (like reminders which are stored in a specific instance) are not HA compliant. We must ensure that our application scales (both up and down) properly and that we don't have issues when a node goes down.
We might also have issues with Websockets.
nginx.ingress.kubernetes.io/session-cookie-change-on-failure and DB tracker store are steps in the right direction.
Implement the first message and first question of the daily check-in flow
Data may contain HTML tags for example. We should be able to convert some into the markdown format supported by the Chat Widget.
What's missing:
We currently start the Rasa core applications using the --debug
flag (in our Dockerfile) which generates a lot of noise that is not parseable by the Datadog log engine.
We should make this configurable using an environment variable (or maybe simply change the endpoint when running them in our docker-compose.yml).
We should properly end the conversation after a predetermined duration.
See the documentation for more details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.