ActionNotFoundException: Cannot access action 'action_summarize_information', as that name is not a registered action for this domain

Rasa version: 2.0.3 Rasa SDK version* (if used & relevant): 2.0.0

Rasa X version (if used & relevant): None Python version: Python 3.6

Operating system (windows, osx, …): Ubuntu 20.04

Issue: does not recognising the action provided. If I include more intents, only greet intent is working, others are not working for the below intents, training examples were provided, but still not getting it.

Error (including full traceback):

rasa train
/path/venv/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Intent 'showAllNodes' has only 1 training examples! Minimum is 2, training may fail.
/path/venv/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Intent 'showDetailInfoBundles' has only 1 training examples! Minimum is 2, training may fail.
/path/venv/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Intent 'showLargestCompilationUnit' has only 1 training examples! Minimum is 2, training may fail.
/path/venv/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Intent 'showNodeInformation' has only 1 training examples! Minimum is 2, training may fail.
/path/venv/lib/python3.6/site-packages/rasa/shared/utils/io.py:93: UserWarning: Intent 'showProjectInformation' has only 1 training examples! Minimum is 2, training may fail.
rasa run actions
ActionNotFoundException: Cannot access action 'action_summarize_information', as that name is not a registered action for this domain. Available actions are: 
         - action_listen
         - action_restart
         - action_session_start
         - action_default_fallback
         - action_deactivate_loop
         - action_revert_fallback_events
         - action_default_ask_affirmation
         - action_default_ask_rephrase
         - action_two_stage_fallback
         - action_back
         - ...
         - action_count_all_nodes
         - action_get_biggest_component
         - action_get_smallest_component
         - action_give_project_information
         - action_reset
         - action_show_all_nodes
         - action_show_detail_info_bundles
         - action_show_exports_in_bundle
         - action_show_largest_compilationUnit
         - action_show_node_information
         - action_goodbye
         - action_greet
         - action_select_component
         - action_deselect_component
         - action_zoom_in
         - action_zoom_out
         - action_move_up
         - action_move_down
         - action_move_left
         - action_move_right
         - utter_goodbye
         - utter_greet

Command or request that led to error:

rasa train
rasa run actions

Content of configuration file (config.yml) (if relevant):

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en

pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
#   - name: WhitespaceTokenizer
#   - name: RegexFeaturizer
#   - name: LexicalSyntacticFeaturizer
#   - name: CountVectorsFeaturizer
#   - name: CountVectorsFeaturizer
#     analyzer: char_wb
#     min_ngram: 1
#     max_ngram: 4
#   - name: DIETClassifier
#     epochs: 100
#   - name: EntitySynonymMapper
#   - name: ResponseSelector
#     epochs: 100
#   - name: FallbackClassifier
#     threshold: 0.3
#     ambiguity_threshold: 0.1

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
#   - name: MemoizationPolicy
#   - name: TEDPolicy
#     max_history: 5
#     epochs: 100
#   - name: RulePolicy

Content of domain file (domain.yml) (if relevant):

version: "2.0"

intents:
  - countAllNodes
  - count_components
  - deselect_component
  - goodbye
  - greet
  - move_down
  - move_left
  - move_right
  - move_up
  - my_name_is
  - select_biggest_component
  - select_component
  - select_smallest_component
  - showAllNodes
  - showDetailInfoBundles
  - showLargestCompilationUnit
  - showNodeInformation
  - showProjectInformation
  - summarize_information
  - zoom_in
  - zoom_out

entities:
  - Exports
  - GPE
  - Imports
  - Methods
  - PERSON
  - bundle
  - bundles
  - compilationUnit
  - component_name
  - component_type
  - component_type_child
  - component_type_parent
  - components
  - exports
  - imports
  - node
  - nodeType
  - package
  - packages
  - project
  - restaurant
  - services

slots:
  bundle:
    type: text
  compilationUnit:
    type: text
  node:
    type: text
  nodeType:
    type: text
  package:
    type: text
  project:
    type: text
    initial_value: remote component environment

responses:
  utter_greet:
  - text: "Hello"
  - text: "Hey! How can I help you?"
  utter_goodbye:
  - text: "Goodbye"
  - text: "Bye"

actions:
  - action_count_all_nodes
  - action_get_biggest_component
  - action_get_smallest_component
  - action_give_project_information
  - action_reset
  - action_show_all_nodes
  - action_show_detail_info_bundles
  - action_show_exports_in_bundle
  - action_show_largest_compilationUnit
  - action_show_node_information
  - action_goodbye
  - action_greet
  - action_select_component
  - action_deselect_component
  - action_zoom_in
  - action_zoom_out
  - action_move_up
  - action_move_down
  - action_move_left
  - action_move_right

config:
  store_entities_as_slots: true
session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

Hi @beginner, I cannot see ‘action_summarize_information’ in ‘actions:’ section in the domain file, it’s mandatory to add all actions you use in ‘actions:’ section.

you have to add action_summarize_information in the domain.yml file

actions:

  • action_summarize_information

read this doc for more info -Domain