Hi all! Just wanted to add some more context here as I work with @cristianmtr. One thing we want to do is passing some geographic context to the bot so that location entities can be properly disambiguated.
For example, if a user is looking for a place in NYC, we want to be able to differentiate between “Downtown” between NY or other cities so that we get the proper ID for this location. Up until now, we’ve done this mapping in actions so it was easy to use slots for the context. The problem is that we want to extend our location parsing using a custom pipeline component which uses Spacy’s pattern matcher. But we first need our disambiguation before applying the patterns.
That’s why we’re trying to pass some context to the NLU pipeline somehow.
Thanks for your help!