I am trying to get phone number form the user but sometimes the Speach recognition returns charachters instead of numbers, for instance:
"my contact is zero three one one seven two one one."
so to get these values i am using duckling with number dimenssion to detect this. it detects all the numbers as entities, so now what i need is to get all number values from the wntities and conactnate them to get full number and put it’s value in slot. I have tried using self.from_entity('number')
but it only returns last value from the list.
is there any way to this, or any work around i should consider.