Multiple Slots, but value is by default getting stored to same slot

Here is my domain.yml file weather_domain.yml (1.0 KB)

Stories.md file

Generated Story 3320800183399695936

  • greet
    • utter_greet
  • inform
    • utter_ask_location
  • inform{“location”: “italy”}
    • slot{“city”: “italy”}
    • action_weather
    • slot{“city”: “italy”}
  • goodbye
    • utter_goodbye
    • export

Generated Story -2451291800300432977

  • greet

    • utter_greet
  • inform{“location”: “darjeeling”}

    • utter_ask_location
    • slot{“location”: “darjeeling”}
    • action_weather
    • slot{“location”: “darjeeling”}
    • utter_goodbye
    • export
  • greet

    • utter_greet
  • inform_flight_details{“date”: “20191023”}

    • utter_ask_date
  • inform_flight_details{“date”: “20191023”}

    • slot{“date”: “20191023”}
    • utter_ask_origin
  • inform_flight_details{“to”: “PYG”}

    • slot{“to”: “PYG”}
    • utter_ask_destination
  • inform_flight_details{“from”: “CCU”}

    • slot{“from”: “CCU”}
    • action_airline
  • greet

    • utter_goodbye
    • export

Here is my actions.py

actions.py (3.5 KB)

I have 4 entities and have also created 4 slots to store the value and pass it to the function. Every time the tracker.get_slot() is storing the value in location slot instead of other slots like date, to and from .Please help and advice where am i going wrong???

Hi @richie31. Can you share your NLU data and your domain.yml file as well?