Question on slots/entities

I am building a bot where the bot need tell the store hours. If the customer asks about something like this " what is the ABC restaurant store hours tomorrow?" , the bot should respond lookup the hours from a database. In order to do the lookup, “tomorrow” should be translated to a “weekday, like Monday” I can do this in python actions, by datetime functionality, but that is string manipulation. Is there a way Rasa can do it for us?

Duckling is good at this.

Thanks, I am also reading those… once I add in the config file, how do I extract the value?.. is there any example code which I can refer?

Am sorry, am new to rasa.

I tried installing and running the duckling , but no luck. Any help on this will be helpful!

Components -added this content in config file and run duckling server in docker…am getting the below 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 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: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

Did you start the duckling server?

Does that thread help? How to use duckling in pipeline

If you are experienced with Docker then use this:

If not, then pull duckling from Github and install Haskell, and compile it yourself:

Yes, I did, duckling server is running in docker. As the errror says, “Connection aborted”. I am looking for more logs to debug, is there a way?..

Also,here is what I get when I run the


docker docker run -p rasa/duckling

no port specified, defaulting to port 8000

Listening on



876e1880b2ad rasa/duckling “duckling-example-ex…” 6 seconds ago Up 3 seconds>5100/tcp, 8000/tcp lucid_joliot


In the config.yaml, I have