Giter Site home page Giter Site logo

covidflow's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

covidflow's Issues

Properly support refreshing the page.

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.

Flow: Update and clean-up messages

Missing the 211 messages. Clean-up messages: join similar messages together when the meaning is the same and rename messages to standardize naming

Action Server unit tests can't run in CI

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.

Extract name entity in daily CI enroll flow

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.

Regex entity support

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).

Use poetry instead of pip

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.

Pass the user language to the Q&A service.

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.

Make language configurable

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).

Ensure the whole application is HA compliant.

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.

Make Rasa core debug mode configurable using an environment variable.

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.