Duckling fail to extract

I’m trying to implement the duckling pipeline to extract some dates, but I have some trouble doing it. For starters I’m just trying to extract a single date and print the formatted version of it to the user.

Pipeline:

pipeline: 
  - name: "WhitespaceTokenizer"
  - name: "CRFEntityExtractor"
  - name: "EntitySynonymMapper"
  - name: "CountVectorsFeaturizer"
  - name: "EmbeddingIntentClassifier"
  
  - name: DucklingHTTPExtractor
    url: http://localhost:8000
    dimensions:
      - time

Domain

intents:
  - test_duckling

entities:
  - time

slots:
  time:
    type: unfeaturized

actions:
  - utter_confirm_time

templates:
  utter_confirm_time:
    - text: "the date is: {time}"

nlu

## intent:test_duckling
- the date is [tomorrow](time)
- i will leave [in two weeks](time)
- i'm traveling on [monday](time)
- i am leaving the [25th](time)
....

stories

## test duckling
 * test_duckling
    - utter_confirm_time

If I run ‘rasa shell nlu’ I can successfully extracts dates, but if I only run rasa shell the formated time should be printed from the actrion ‘utter_confirm_time’ but instead all that is printed “the date is: None”. Why is this happening? Am I missing something?

Thanks!

I solved it by not defining the enitiy time in the domain