Formbot ERROR part 2

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

But i encountered the above error whenever I run those commands. … How can I trust the formbot has been coded correctly

@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 .

Alright post this. I get a listening on port message… should in open rasa run actions and rasa shell in seperated tabs each…means do i have to open 3 command prompts each , 1 for duckling, one for actions and one for shell

because i am still facing the same problem

Yes, different tabs should do it

@Narayanan

Just a suggestion: It can be enerving from times to times to open many terminals. Just run the duckling module detached by using:

docker run -d -p 8000:8000 rasa/duckling

that moves the process in the background. If you want to take a look at it, you could do this by running:

docker container ls

and don’t forget: If you want to run rasa as a service I’d suggest systemctl for it.

Regards