question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

substitute auto slot filling with customizable action

See original GitHub issue

related to https://github.com/RasaHQ/rasa/issues/6090

Instead of autofill slots in domain.py, create a default action that is unfeaturized and always executed after user utterance unless there is an active_form and by default fill the slots with the same entities, if action_fill_slots is present in the domain, it’ll run it which will allow users to create their own slot-filling logic (basically a cut version of FormAction’s extract->validate). Effectively, this customization will serve as continuation of nlu pipeline but with access to the tracker

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:18 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
nbeuchatcommented, Jul 29, 2020

I very much like this idea!

I see a few use cases from our side:

  • For our apartment search bot, it can help us set (or edit) user preferences outside of our standard preferences form. The reason we cannot use automatic slot filling is that users may use the same entities (ex: price, unit type, etc.) to select an apartment (ex: I want to schedule a viewing for the two-bedroom apartment you showed me) or to set the preferences (ex: Can you show me 2 bedroom apartments?). In the first case, we do not want to auto-fill the slots while in the second, we want to. I know you can also predict an action to change preferences in the second case and use the extracted entities but the auto slot filling would not rely on this prediction.
  • The other use-case as @Ghostvv mentioned would be to add context to our bot like the user city to correctly disambiguate neighborhoods that the user may mention (in this case, we would also need to do the same disambiguation in the preferences form but that’s ok as it’s only two places instead of everywhere where the bot needs this info)
1reaction
kengelbrechtcommented, Oct 13, 2021

Awesome! Hope 3.0 will be released soon 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Types | Conversational Actions - Google Developers
Within a scene's slot filling stage, you can specify multiple slots that you want the user to provide before they can transition or...
Read more >
Need to call custom action when form is requesting for sots
I have a form that gets activated and it will ask for the slots to fill. When it is asking for a slot...
Read more >
Conversational AI with Rasa: Slots - YouTube
In this episode of Conversational AI with Rasa, Justina Petraitytė will cover how your chatbot's memory works: slots are used to store ...
Read more >
Gathering information with slots - IBM Cloud Docs
Shows that two slots are filled, and the service prompts for the ... From the dialog node edit view, click Customize, and then...
Read more >
Forms - Rasa
Using a Custom Action to Ask For the Next Slot#. As soon as the form determines which slot has to be filled next...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found