Skip to content
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

RulePolicy: scope dispatches per form #6017

Closed
wochinge opened this issue Jun 12, 2020 · 0 comments
Closed

RulePolicy: scope dispatches per form #6017

wochinge opened this issue Jun 12, 2020 · 0 comments
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework difficulty:easy 🦋 type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR

Comments

@wochinge
Copy link
Contributor

wochinge commented Jun 12, 2020

Current State
As part of the RulePolicy we moved the FormAction from the Rasa SDK to Rasa Open Source.
Whenever we request a slot, we currently dispatch an utterance to ask for this slot (see here). The utterance follows the template utter_ask_<slot name>.
The problem is that if a slot is part of multiple forms, we always use the same utterance to ask for the slot although the slot might have slightly different meanings in the form.

Proposed Changes

  • Check if there is a utter_ask_<form_name>_<slot_name> in the domain. If yes, dispatch it. If no, dispatch utter_ask_<slot_name>
@wochinge wochinge added priority:high area:rasa-oss 🎡 Anything related to the open source Rasa framework type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR difficulty:easy 🦋 labels Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework difficulty:easy 🦋 type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR
Projects
None yet
Development

No branches or pull requests

2 participants