I just can't get the following. I'm using Google co-lab. The commented out line works as expected but after trying various options from threads I still can't get it. I'm just trying to pass the entity_type variable in after declaring it.
Also once this works I will then want to pass in the following so I assume it would be the same as the value passed to the get_slot method would also be a string entity_type = tracker.get_slot("entity_type")
Thanks - I don't think I'm getting this. I don't use Python regularly. Can you possibly type out what the query should be? The first commented out line gives me what I want so I'm not clear on what I'm meant to type -