This problem is with regards to the formbot example in rasaHQ github page. I did the following steps.
PFA folder
rasa init --no-prompt
this created certain files
updated the config file with formpolicy
Replaced the data, domain, and action file with that of the formbot, since docker is not available in my system
did not update the endpoints and credentials file…maintained them as they were formed via the first command
5.the data got trained without any errors
But when i run rasa shell and type the statement which produces the intent request_restaurent it gives me the following error:-
" Encountered an exception while running action ‘restaurant_form’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code"
there is no error in the action terminal though… But in the rasa shell in the aforementioned separate command prompt , when I type the statement with an intent and the intended entity , it gives me the same error
Failed to connect to duckling http server. Make sure the duckling server is running and the proper host and port are set in the configuration. More information on how to run the server can be found on github: GitHub - facebook/duckling: Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. Error: HTTPConnectionPool(host=‘localhost’, port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x000001F7F72927B8>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’))
I am starting to loose confidence in the instructions so mentioned in your github page… can you please tell where I am going wrong with the implementation of formbot… I want to follow the same syntax flow that has been mentioned in the formbot to customize one of my own…In github: the instruction are as follows
@Narayanan the error is there, you are not running a duckling server. Duckling is used to pick up the number entities. You can download it via the github (as it says in the error), or if you have docker, you can just get the rasa/duckling image from docker hub and run it on the port listed in the config via the command docker run -p 8000:8000 rasa/duckling.
Hi, I am running the duckling server but still get the following error : "ERROR rasa.nlu.extractors.duckling_http_extractor - Failed to connect to duckling http server. Make sure the duckling server is running/healthy/not stale and th
e proper host and port are set in the configuration. More information on how to run the server can be found on github: GitHub - facebook/duckling: Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. Error: HTTPConnec
tionPool(host=‘localhost’, port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x0000019299C037C8>: Failed to
establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’))
"