So Im trying to process multiple entity extractions for a slot. I have 3 entities: Company, Product and Quantity, all 3 of text type.
For ex.
I want 1 Dominos pizza
Output dictionary={
quantity = 1
product = Pizza
company = Dominos}
So when i run this, they each get extracted individually , cause I have used RegexEntityExtractor and 3 Lookup tables for mapping the 3 entities. I have also used the utter_ask_company and utter_ask_quantity which works for making sure values are filled. Problem arises when I have multiple entities for same slot. Ex. I want 1 Pizza and 1 Burger
Output dictionary={
quantity = [1,1]
product = [Pizza,Burger]
company = None}
Which Company? Dominos
Output dictionary={
quantity = [1,1]
product = [Pizza,Burger]
company = Dominos}
I want this to ask me “Which company” twice(for burger and pizza), but it asks me so only once which makes sense, but I have no idea how to fix it.
So i want it to ask me which company and quantity for unfilled slots for the number of products that I have. Any Input would be appreciated.