@JiteshGaikwad Thank you.
I have tried that, But still it is not getting recognised.
How to provide in NLU.md file
Hi, I am [Rakesh] (name)
so when I type
Hi, I am santhosh.
santhosh should be entity right.
but not recognising santhosh as entity even if it is in names.txt file
I have also tried names.txt instead of ./names.txt which basically I shouldnot But tried.
Sorry for late reply. I don’t know an exact amount as it depends on how much examples you have in table. I had a table of 50-60 names and I added 8-9 examples in my nlu data and it worked fine.
For ner_spacy, you add it in your pipeline and It works very well with certain entities but I personally like duckling because of it’s date filter.
You no longer need to point to the file in nlu.yml, instead you can include the files in the same folder that your nlu.yml file is in (default is data), and rasa will search the subdirectories in data recursively.
Your nlu.ymlshould contain some examples that include the lookup table items. You don’t have to include every single lookup table item, just a few of them. You also do not have to mention fruits.yml or the lookup table in the nlu.yml file. Including it in the data directory is enough.
- intent: ask_for_fruit
- I'd like to buy some [apples](fruits)
- Can I purchase some [pears](fruits)?
Finally, your directory structure should look like this: