How to provide the lookup entities in .txt format

Thank you so much. You are awesome @fkoerner

1 Like

Thank you @susajsnair, glad I could help! :slight_smile:

1 Like

@fkoerner I follow the step you mentioned. But it seems the lookup table is not working. Could you help me?

course_code.yml:

image

nlu.yml:

image

Directory structure:

image

config.yml:

image

Hi @HaiiDD-creator, what exactly isn’t working? Are you getting an error message? Are the entities not getting picked up? Or something else?

I have DIETClassifier in my pipeline and since lookup works only with RegexEntityExtractor, I added RegexEntityExtractor into the Pipeline, But when I run RASA it always gives me an error (warning exactly, wihch eventually leading to error) due to conflict of entities extracted from two extractor. So, then i removed DIETClassifier, but my usual entity extraction isn’t working well. Then I made the lookup and training examples mutually exclusive. It’s working fine but I am not sure if I am doing right or is there any better way to do it. Please help me to find a better solution

I was making lookup for colors, and I didn’t add the colors in lookup table, that were already mentioned in training examples

if I add “blue” in my training example, and if my user input is " I would like to place an order for blu shoes" DIETClassifier could recognize “Blu” as color entity, but RegexEntityExtractor fails to do so

I would like to have an entity extractor or combination of extractors such that it works well with unseen data and lookup as well

Hi,

I’m Vincent and I maintain the rasa nlu examples project. I just added an issue on Github to explore ways of addressing this. I’m thinking about adding a NLU component that can do a bit of post-processing on all the detected entities. The working title for the component is EntityOrchestrator but there’s a couple of different ways of going about it.

If you’d like to give feedback on what would/would not work for you, I’d be all ears!

Hey! I want to use .txt instead of .yml files. What should I do?

Hi, you’ll need to convert the files to yml. See here for a script to help

@nik202 hello there.Is the snip of the config.yml file correct to do entity extraction from lookup tables

@minakshimathpal what is your issue and what are you trying to archived?