rasa-demo icon indicating copy to clipboard operation
rasa-demo copied to clipboard

Running a simple 'rasa train' on a freshly cloned repo gives errors

Open VTSTech opened this issue 3 years ago • 2 comments

Trying to get started with RASA. Thought I'd check out this example. It's not going well.

(venv) C:\Tools\RASA\rasa-demo>rasa --version
Rasa Version      :         2.5.1
Minimum Compatible Version: 2.2.0a1
Rasa SDK Version  :         2.5.0
Rasa X Version    :         None
Python Version    :         3.8.5
Operating System  :         Windows-10-10.0.19041-SP0
Python Path       :         c:\tools\venv\scripts\python.exe

VTSTech avatar May 05 '21 14:05 VTSTech

Thanks for raising this issue, @koaning will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

sara-tagger avatar May 06 '21 06:05 sara-tagger

The stories in data/stories.yml is contradicting with the rules in data/rules.yml file. It happens when you have written different actions or utterances for same intents in the rules or stories. Make sure you have one action for one intent everywhere. Or if you want to run multiple actions for a single intent you can do that by just adding another action below the first action. eg:

  • intents: greet
  • actions: utter_welcome
  • actions: utter_show_menu

anas4u02 avatar Jan 29 '22 07:01 anas4u02