RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.92k stars 4.63k forks source link

Failed to load any agent model. #2183

Closed NikhilBansal21 closed 5 years ago

NikhilBansal21 commented 6 years ago
**Rasa Core version**: 0.9.0a3 **Python version**: 3.6.5 **Operating system** (windows, osx, ...):10 **Issue**: Failed to load model metadata from 'E:\nikhil_projects\nodeProjects\ChatBot-latest\RASA\itsm-rasa-bot\nlu\default\current\metadata.json'. [Errno 2] No such file or directory: 'nlu\\default\\current\\metadata.json' I have metadata.json present in the mentioned directory. The error occurs on running the command for rasa core server python -m rasa_core.server -d models\dialogue -u nlu\default\current -o out.log i have checked and created a separated directory also still getting this error. This used to work fine with following command python -m rasa_core.server -d models\dialogue -u nlu\default\current -o out.log **Content of domain file** (if used & relevant): ```yaml ```
auzair92 commented 6 years ago

I think you might be missing the models directory for the path in -u switch. Could this be the command you're looking for: python -m rasa_core.server -d models\dialogue -u models\nlu\default\current -o out.log

pritampathak96 commented 6 years ago
NikhilBansal21 commented 6 years ago

thanks i missed the small detail

akelad commented 6 years ago

Will close this for now, let us know if there's more issues.