UserWarning: No policy ensemble or domain set. Skipping action prediction and execution

The actions seem to run okay but the forms are not working on rasa X(deployed on google cloud) but working on local machine. the 2 errors i face are -

  1. UserWarning: No policy ensemble or domain set. Skipping action prediction and execution.

  2. Encountered an exception while running action ‘customer_info’. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information. (THe name of the form is customer_info)

The actions file is running well without any errors, shows registered customer_info

My config file is this -

language: en pipeline:

  • name: SpacyNLP
  • name: WhitespaceTokenizer case_sensitive: false
  • name: RegexFeaturizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer
  • name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 1 max_ngram: 4
  • name: SpacyEntityExtractor dimensions:
    • PERSON
  • name: DucklingHTTPExtractor url: http://localhost:8000 dimensions:
    • time timezone: Asia/Kolkata timeout: 3
  • name: DIETClassifier epochs: 100
  • name: EntitySynonymMapper

policies:

  • name: AugmentedMemoizationPolicy max_history: 6
  • name: TEDPolicy max_history: 5 epochs: 100
  • name: MappingPolicy
  • name: FallbackPolicy nlu_threshold: 0.3 core_threshold: 0.2 ambiguity_threshold: 0 fallback_action_name: utter_default_fallback
  • name: FormPolicy

Help would be appreciated, Thanks

1 Like

Found the solution, the problem was - it was not working with latest rasa-sdk, but when i downgraded to rasa-sdk 1.10.2, it started working just fine

I tried it but not work for me Please Help