November 4, 2019, 3:51pm
I am making a small bot and deploying it on slack, unfortunately for reasons I can’t explain rasa-x stopped getting the files I trained locally (jupyter notebook) and is stuck on some older version I ran in the past.
As a consequence I can’t deploy a usable bot.
My issue is very similar to this one:
02:50PM - 27 May 19 UTC
08:32AM - 05 Jun 19 UTC
**Rasa version**: 1.0.1
**Rasa X version**: 0.19.0 and 0.19.1.dev42 (tried wi
… th both versions)
**Python version**: 3.6.7
**Operating system** (windows, osx, ...): Windows 10
I'm having some strange issue with Rasa X.
Let's say I create a new intent by adding it to my NLU data. I train the NLU and Core models through Rasa X, and by testing the model in "interactive learning", I can see the new intent being recognized.
Now I want a certain response (utterance) for this new intent. So I can start writing stories for this intent. When I add a response through the Rasa X interface, this response text gets added nicely to the domain file under "templates". However, it doesn't get added to the "actions" in the domain file.
Because of this, when I train both NLU and Core, and I test the bot through "interactive learning", I can't select the action (utterance) I just created through the response tab of Rasa X.
To overcome this, I tried adding the response to the domain file under "actions" manually. I also notice that the created intent doesn't get added automatically to the domain file, under "intents". So I added the intent manually as well. After doing this, and retraining the model, I still can't select the action in interactive learning.
What I did next, is manually create a story using the newly created response. I made sure I added the response under "templates" and "actions" in the domain file.
When I then try to train the Core model, I get the following error:
2019-05-27 16:21:40 WARNING rasa.core.training.dsl - Found unknown intent 'ask_howbuilt' on line 174. Please, make sure that all intents are listed in your domain yaml.
2019-05-27 16:21:40 WARNING rasa.core.domain - Failed to use action 'utter_ask_howbuilt' in history. Please make sure all actions are listed in the domains action list. If you recently removed an action, don't worry about this warning. It should stop appearing after a while.
I think the updated domain file doesn't get loaded to Rasa X: when I change the responses in the Rasa X interface, and look at the domain file, it has changed:
* the manually added intent is gone under "intents"
* the action (utterance) I manually added has disappeared under "actions" (altough it remains in the template section of the file ...)
Thanks for your help!
**Content of configuration file (config.yml)**:
- epochs: 300
- fallback_action_name: action_default_fallback
- max_history: 5
- name: MappingPolicy
**Content of domain file (domain.yml)** (if used & relevant):
- text: I was built with a lot of love and patience.
- text: '42.'
- text: Old enough to be a bot.
- text: Age is just an issue of mind over matter. If you don’t mind, it doesn’t
- text: Yup, I'm a bot!
- text: Yes, I am a chatbot!
- text: I can spell baguette in French, but unfortunately English is the only language
I can answer you in.
- text: I am in the process of learning, but at the moment I can only speak English.
- text: Bye
- text: See you later!
- text: Goodbye!
- text: Ciao!
- text: Bye, was nice talking to you!
- text: Talk to you later!
- text: Hi
- text: Hello
- text: Hey there!
- text: Hi there!
In the Rasa X UI, when I create a new utterance (e.g. utter_legal_disambiguate) it is not available for me to select in “Talk To Your Bot: Interactive Learning”. I’ve struggled with this for several hours and just can’t figure out what I’m doing wrong.
In this screenshot, you can see the new responses I’ve added
In this screenshot, you can see the available responses in interactive training. None of my new responses are available.
To troubleshoot, I’ve tried the following:
but none of these workarounds are working for me.
Can someone advise on how to proceed?
I already uninstalled rasa and rasa x, rebuilt my model and as soon as I open rasa x there is the old model waiting for me in a non-usable state.
November 5, 2019, 5:12pm
Are you sure the models are saved to the correct directory?
Try removing the old model from the
November 5, 2019, 8:13pm
I actually found what the problem was, if for some reason you ran the rasa run command before you ran rasa x, since they take the same port this would interfere with rasa x’s access so it would stop updating.
So if anyone has this issue just quit rasa run before you start rasa x.