Slots values are overlapping

Hi all I want to use slots in my Bot and want to retrieve these values in my action search through custom action . image Here is the code of my lass ActionSearch(Action):

def name(self) -> Text:
    return "action_search"

def run(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
    dispatcher.utter_message(text="Here are your results" + " "+str(ram)+ " "+ str(battery))

    return []

Butt I am getting the following response of Bot

Please help to resolve this issue

You should be using from_entity instead of from_text

1 Like

Thanks it works