Rasa and Duckling

Hi everyone,

Currently I’m running Rasa within docker by using this command

docker run -it -v $(pwd):/app -p 5005:5005 --net mynet rasa/rasa:1.10.1 run --enable-api -m /app/models/model.tar.gz

Suppose, in the mean time I’m running Duckling server by using:

docker run -p 8000:8000 rasa/duckling

My config.yml is:

  • name: “DucklingHTTPExtractor”

    url of the running duckling server

    url: “http://duckling:8000

    dimensions to extract

    dimensions: [“time”, “number”, “amount-of-money”, “distance”,“duration”,“numeral”,“ordinal”,“quantity”,“time”]

Unfortunately, Rasa told me it can not connect to duckling althought I tried with “duckling”, “localhost” or “0.0.0.0”

Please show me how can I setup Rasa in this situation to connect to Duckling.

Thank you

@bigshark, check out the docs on Duckling or even the Rasa Livecoding: Custom entities with duckling. Hope it helps :smiley: