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 action.py 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]]:
    
    ram=tracker.get_slot("ram1")
    battery=tracker.get_slot("battery1")
    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