Rasa: duckling entities not generating

Created on 3 May 2018  路  4Comments  路  Source: RasaHQ/rasa

Rasa Core version: 0.8

Python version: 3.6

Operating system (windows, osx, ...): Windows 10 64

Issue:
@mouadino
nlu_config.json
{ "pipeline": [ "nlp_spacy", "spacy_sklearn", "tokenizer_spacy", "intent_featurizer_spacy", "intent_classifier_sklearn", "ner_crf", "ner_synonyms", "ner_duckling" ], "path" : "./models/nlu", "data" : "./data/training_data.json", "duckling_dimensions": ["time", "number", "amount-of-money", "distance" , "email" , "url", "phone-number", "duration"] }
Its creating ner_duckling.json file in model folder
{ "dimensions": [ "time", "number", "amount-of-money", "distance", "email", "url", "phone-number", "duration" ] }
but in training_data.json its not giving duckling entities
{ "intent": "info", "entities": [], "text": "the first Tuesday of October" }

Most helpful comment

@praveenrengarajan We did that using interactive learning, with that the slot get generated automatically you can check our examples from the gist here https://gist.github.com/mouadino/78ab561e9164b4857528745e6668c0f1

All 4 comments

@mouadino

training_data.json won't contain any entities from duckling. That's fine though, this is training data you've written yourself. Ner_duckling will predict entities when you've actually got the model loaded.

It's working after I declared slot name as time and date. but one thing how can I declare that in stories.
date
time:{to:'2018..',from: '2018..'} and in some other scenario only time: '2018...' @akelad

@praveenrengarajan We did that using interactive learning, with that the slot get generated automatically you can check our examples from the gist here https://gist.github.com/mouadino/78ab561e9164b4857528745e6668c0f1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mit4dev picture mit4dev  路  4Comments

anishrav picture anishrav  路  3Comments

nahidalam picture nahidalam  路  3Comments

igormiranda001 picture igormiranda001  路  3Comments

nikhilcss97 picture nikhilcss97  路  3Comments