I’m migrating to Rasa from Dialogflow and I’ve run into a few snags I’m hoping I can get some input on. I’ve pored over the documentation and a multitude of search results so hopefully I’m not asking anything too obvious here.
How can I populate some customer-specific entities into a conversation?
I have some entity values that I’d like captured by my intents, but they’re customer/conversation specific. I don’t want to include them in my general training set since I wouldn’t want them to get picked up in other conversations. Based on what I’ve read in the docs, if there’s a slot with the same name as the entity, it’ll consider those slot values for entity capture as well, which sounds like it could do the trick. But, it doesn’t appear to be working. My intention is to populate those slots via custom actions but for now I’m testing it out by forcibly adding some slot values to conversations via my domain.yml file: slots: fave-video-game: type: list initial_value: [‘Legend of Zelda’,‘Pong’] auto_fill: false
“fave-video-game” corresponds to an entity that I use to capture video game titles in intents (these two don’t exist in my training data).
But, even with this in place, if I include one of those two game titles as the video game in the intent, it won’t capture them in the fave-video-game entity. (I’m using the default pipeline config BTW, with the DIETClassifier for entity capture)
I’ve tried it with and without store_entities_as_slots and auto_fill enabled for these slots on the basis that maybe it doesn’t look there if those are disabled but that didn’t seem to make a difference.
Is there a better way to handle this?