Hi @faiza_conte. What problem are struggling with? The error output makes it seem like you have a problem in your SQL query
My query is actually fine I things I got mixed up with nlu…and another question …while filling a form for example for a name why the slot is being taken that all the user types like my name is faiza instade of faiza it self
Okay then if am using from_entity do I have to put all possible names that might a user say in the intent??
@faiza_conte If you can add
Spacy to your pipleline, you can use the existing entity
PERSON to extract names of people.
how??..sorry didnt get you
You can add
- name: SpacyNLP
- name: SpacyTokenizer
- name: RegexFeaturizer
to your pipeline in config.yml and then use the implicitly available entity
PERSON. You don’t have to provide any training data. This entity will be extracted automatically and then you can map it to any of your slots.
so the entity person can have lots of possible names??
Yes. I’ve been using it for some time, and it extracts the persons name accurately.
Both first name and last name or just a name that dont have a space??
Both first name and last name @faiza_conte