Cyberjusticelab / JusticeAI

JusticeAI (ProceZeus) is a web chat bot that aims to facilitate access to judicial proceedings involving Quebec tenant/landlord law
https://cyberjusticelab.github.io/JusticeAI/docs/rendered/
MIT License
21 stars 16 forks source link

Reprompt on ambiguous answer #65

Open arekmano opened 7 years ago

arekmano commented 7 years ago

Description As a user, I'd like the system to ask me for further precision regarding the questioning phase of my case if my answer was unclear or ambiguous.

Scope of Work

Story Points

Priority

Risk

Demo requirement

  1. The user attempts to trick the system with a misspelling of an important noun or verb relating to a fact i.e. "I am a tanant"
  2. The system asks the user to repeat the sentence i.e. "Please repeat" or "Did you mean that you are a tenant?"

Acceptance Criteria

naregeff commented 7 years ago

Verified, high priority.

Samuel-Campbell commented 6 years ago

I suggest making an 'other' category. I'm not sure if RASA takes care of it already though.

arekmano commented 6 years ago

I'm unsure. However, this will most likely need to involve some form of outlier detection, before the phrase is classified. I suggest splitting this story into 2. one for the UI and another for the outlier/anomaly detection method.

Some Reading links: https://medium.com/towards-data-science/a-brief-overview-of-outlier-detection-techniques-1e0b2c19e561 https://en.wikipedia.org/wiki/Anomaly_detection

ghost commented 6 years ago

This is being heavily worked on in junction with #75

ghost commented 6 years ago

Changed to be a combination of percentage difference and threshold.

arekmano commented 6 years ago

Moving to iteration 5 as it will not be closed in iteration 4

arekmano commented 6 years ago

Demo requires beta testers providing answers.

lancelafontaine commented 6 years ago

Functional outlier detection system has been implemented and merged in PR #195, but lacks user input data to our fact's questions to train on. Until this data is obtained, this story will have to remain blocked.