BeWe11 / rasa_composite_entities

A Rasa NLU component for composite entities.
MIT License
29 stars 10 forks source link

Issue while training Rasa NLU with Rasa1.3.3 #12

Closed NomanSaleem4 closed 4 years ago

NomanSaleem4 commented 5 years ago

a

nbeuchat commented 4 years ago

I do have the same issue, also using rasa 1.3.3

nbeuchat commented 4 years ago

Rasa moved the list_files function to another module: https://github.com/RasaHQ/rasa/blob/b8fd71c01207ce33ca11b2ee65320a769df61c8e/rasa/utils/io.py

Therefore, the import should be from rasa.utils.io import list_files (not sure if that's the only breaking change though)

BeWe11 commented 4 years ago

@nbeuchat thank you for pointing me to the correct location, I've released a new version (0.4.5) that anticipates the changed import location of these utility methods.

NomanSaleem4 commented 4 years ago

getting this issue now. a

BeWe11 commented 4 years ago

Hey @NomanSaleem4,

Can you please try updating rasa and rasa-composite-entities and then running the example training from this repo? If that works, you might have faulty training file.

NomanSaleem4 commented 4 years ago

i am using rasa==1.3.3 and the updated versio of composite entities, when i use rasa train nlu it works but when i use a my own script to train nlu model with composite entities it does not

BeWe11 commented 4 years ago

Can you post your train file here? or at least the part that defines the composite entities?

NomanSaleem4 commented 4 years ago

@BeWe11 i tried rasa run instead of training through .py and it worked

BeWe11 commented 4 years ago

@NomanSaleem4 great that it works now! There is an open issue https://github.com/BeWe11/rasa_composite_entities/issues/9 about problems loading the component when using the python API.

NomanSaleem4 commented 4 years ago

Great hope that will be resolved soon. Thanks for the quick response.

On Tue, Dec 17, 2019, 3:15 PM Benjamin Weigang notifications@github.com wrote:

@NomanSaleem4 https://github.com/NomanSaleem4 great that it works now! There is an open issue #9 https://github.com/BeWe11/rasa_composite_entities/issues/9 about problems loading the component when using the python API.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BeWe11/rasa_composite_entities/issues/12?email_source=notifications&email_token=AEHPSCMT2X3TCOFLOFOODRDQZCREPA5CNFSM4JFQUR4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHB332A#issuecomment-566476264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHPSCJTACDZXEHT6WNJJY3QZCREPANCNFSM4JFQUR4A .