UserWarning: intent not defined in the domain

Completely new to Rasa so pls be patient … Running it from a Python script via Agent and getting this warning:

   .../RasaVe/lib/python3.7/site-packages/rasa/utils/ UserWarning: Interpreter parsed an intent 'movement' which is not defined in the domain. Please make sure all intents are listed in the domain.
  More info at

The model was created by supplying -d domain.yml to rasa train command. As i’m not really clear how the domain interacts with the rest of the system i’m also suppying the domain as argument in Agent constructor; none of this works, still getting the above message - otherwise intent prediction works ok.

The ‘movement’ mentioned in the warning message is listed in domain.yml. Any pointers greatly appreciated.

ok, so after looking at Rasa code a bit, turns out Agent.load() returns an object where domain is not initailised; if after the load() i call (private?) _create_domain() and assign the return value to ‘domain’ member - things work as expected;

a bit of a kludge, but it will do for now (no idea if this hack has undesirable side effects)