:0: UserWarning: You do not have a working installation of the service_identity module: ‘No module named ‘service_identity’’. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. /home/boody/anaconda3/lib/python3.6/site-packages/pykwalify/core.py:99: UnsafeLoaderWarning: The default ‘Loader’ for ‘load(stream)’ without further arguments can be unsafe. Use ‘load(stream, Loader=ruamel.yaml.Loader)’ explicitly if that is OK. Alternatively include the following in your code:
import warnings warnings.simplefilter(‘ignore’, ruamel.yaml.error.UnsafeLoaderWarning)
In most other cases you should consider using ‘safe_load(stream)’ data = yaml.load(stream) Traceback (most recent call last): File “visualize.py”, line 7, in policies=[MemoizationPolicy(), KerasPolicy()]) File “/home/boody/anaconda3/lib/python3.6/site-packages/rasa_core/agent.py”, line 209, in init "You have defined a form action, but haven’t added the " rasa_core.domain.InvalidDomain: You have defined a form action, but haven’t added the FormPolicy to your policy ensemble.
How should i define FormPolicy in the python code?