Why I can't jus extract the entity in a phrase?

I’m trying to extract the entity of a phrase and rasa extract all the frase like an entity

my intest is:

intent:inform

and when I write “se llama pepsi” I just want to extract pepsi but when a execute tracker.get_slot(‘branch’) this return the whole phrase “se llama pepsi”

Hmm, the syntax looks correct… is the entity being extract correctly? (You can see that in the Rasa server logs.)

yes the problem was in my slotmapping

I was using

self.from_text(intent=“inform”)

And I changed by

[self.from_entity(entity=“branch”, intent=“inform”), self.from_text()],

1 Like