New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard intents in stories #1800
Comments
Hi @tmbo, Are there any plans to implement this in the future? I also sometimes need to ignore the intents and entities, and just parse the text. Here is an example:
Because the meeting topic can consist of several words, it can be classified as different intents, and in case it gets classified as "greet" intent, RASA will launch utter_greet action, breaking the flow of the story. I know that for now I can make changes to stories file by adding all the possible intents in the place of any intent, but having the option of wildcard intents would be really nice. |
The question is how we'd approach this. Because I think the ideal outcome would be, to patt the text through NLU, but omit the resulting intent from the featurization used for the ML models to predict the next action. For this to work, we would need to know when we should ignore the intent. One idea could be: |
I think predicting
It is a bit more complicated to implement but I think it'll worth it |
Well, this is tricky as we implicitly rely on action_listen always being followed by a user utterance. What's the benefit? |
yes, vice versa
the benefit is that we still have only one |
Yes, we'd probably need an
would probably make more sense. |
totally agree, and then during reading of story file, we would add |
According to http://rasa.com/docs/core/slotfilling/#form-fields-and-free-text-input Wildcards are not yet supported. Do you plan on releasing this feature in the close future or do i have to adjust my stories so random characters get accepted? |
I think the new forms implementation will cover this use case RasaHQ/rasa_core#878 |
i need this feature too 👍 |
The merge of this PR allows this RasaHQ/rasa_core#1013 |
hey @akelad , sorry is there a chance for a sample implementation within the use case of wildcard intent in stories ? Those PR's commit history is massive so not quite sure what to be looking at .
a background: this is to provide a sort of free-text input scenario for users, that then gets send to backend for further non-rasa processing and analysing. |
Please take a look at the documentation for forms: https://rasa.com/docs/core/slotfilling/ |
…saHQ#1800) Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.1.0 to 1.3.3. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.1.0...v1.3.3) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I was thinking it might be useful to support having "any" intent in a story.
For example, if we're asking for more information:
"what kind of cuisine would you like?"
we could write this in a story as:
When we create possible stories for this, we can put a few different intents in there to make sure the model learns to ignore that feature in this case.
The text was updated successfully, but these errors were encountered: