No registered action found for name 'auto_form'

Hi,

I’m new to Rasa stack. When I am training a sample chatbot given by the tutorial, I found this issue which i am unable to resolve.

I have installed Rasa 1.9.6 using pip which was recommended in Rasa official tutorial Rasa formbot.

Both nlu and core models get trained and saved in models directory

When I am running command rasa shell from command line, after Rasa identifies the auto_appt indent, it generates the error

rasa_sdk.endpoint  - **No registered action found for name 'auto_form'.**

rasa.core.processor  - Encountered an exception while running action 'auto_form'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

domain.yml

actions:

  • utter_slots_values
  • utter_noworries
  • utter_chitchat
  • utter_ask_continue
  • utter_greet

forms:

  • auto_form

config.yml

pipeline:

  • name: WhitespaceTokenizer
  • name: CRFEntityExtractor
  • name: EntitySynonymMapper
  • name: CountVectorsFeaturizer token_pattern: (?u)\b\w+\b
  • name: EmbeddingIntentClassifier
  • name: DucklingHTTPExtractor url: http://localhost:8000 dimensions:
    • number language: en

policies:

  • name: “KerasPolicy”
  • name: “MemoizationPolicy” max_history: 5
  • name: FormPolicy

stories.md

happy path

  • greet
    • utter_greet
  • auto_appt
    • auto_form
    • form{“name”: “auto_form”}
    • form{“name”: null}
    • utter_slots_values
  • thankyou
    • utter_noworries

nlu.json

{ “rasa_nlu_data”: { “common_examples”: [ { “text”: “Hi, I’d like to schedule an appointment at Intelligent Auto Repairs for a repair of my 2014 Acura RDX.”, “intent”: “auto_appt”, “entities”: [ { “value”: “Intelligent Auto Repairs”, “entity”: “name_store”, “start”: 43, “end”: 67 }, { “value”: “2014”, “entity”: “year_vehicle”, “start”: 87, “end”: 91 }, { “value”: “Acura RDX”, “entity”: “name_vehicle”, “start”: 92, “end”: 101 }]}]}}

Are you also running an actions server along with the shell?

yes…actually the issue was with the earlier version rasa_sdk used in action.py

Earlier I used from rasa_core.forms import FormAction

Now I am using from rasa_sdk.forms import FormAction

Now the action is getting registered in action server.