Rasa: 'EntityFormField' is not defined error when filling slots using FormAction

Created on 21 May 2018  路  4Comments  路  Source: RasaHQ/rasa

Rasa Core version:
0.9.0a5
Python version:
3.6.5
Operating system (windows, osx, ...):
Closed Container Env (Docker) on top of Ubuntu 18.04
Issue:

Hello, I am trying to implement automatic slot filling (https://core.rasa.com/master/patterns.html) using FormAction, always get this error. i.e. 'EntityFormField' is not defined

This is the actions.py:
image

The error I get once the action with FormAction is called:
image

Most helpful comment

Hey @Shehzad777 you need to import this line: from rasa_core.actions.forms import EntityFormField

All 4 comments

Hey @Shehzad777 you need to import this line: from rasa_core.actions.forms import EntityFormField

Thanks Piyush, I had figured that. Poor documentation!

FormAction and EtityFormFields are not available in 0.12.0a3 although i see it in 0.11
Have they removed it in lastest version of core ?

Was this page helpful?
0 / 5 - 0 ratings