Hope all good. I am facing below issue while using docker duckling . Please suggest me to solve it. All details are given below . Let me anything else required
Error:
Bot loaded. Type a message and press enter:
Hello
ERROR:rasa_nlu.extractors.duckling_http_extractor:Failed to get a proper response from remote duckling. Status Code: 404. Response:
If you have used my configuration, keep in mind that everything for me runs under the same docker network name and hence i can give each container a name which resolves for a given host.
I use docker-compose for such situations.
IN your case, however the url : http://duckling:8000 won’t work but rather try with localhost
@ souvikg10 @ akelad Thanks for replying. I am able to run duckling but while running NLU i am getting below outpout
Fitting 2 folds for each of 6 candidates, totalling 12 fits
[Parallel(n_jobs=1)]: Done 12 out of 12 | elapsed: 0.1s finished
{‘intent’: {‘name’: ‘Add_Transaction’, ‘confidence’: 0.7285425177867032}, ‘entities’: [{‘start’: 32, ‘end’: 37, ‘text’: ‘71168’, ‘value’: 71168.0, ‘confidence’: 1.0, ‘additional_info’: {‘value’: 71168.0}, ‘entity’: ‘number’, ‘extractor’: ‘ner_duckling’}, {‘entity’: ‘DATE’, ‘value’: ‘71168’, ‘start’: 32, ‘confidence’: None, ‘end’: 37, ‘extractor’: ‘ner_spacy’}], ‘intent_ranking’: [{‘name’: ‘Add_Transaction’, ‘confidence’: 0.7285425177867032}, {‘name’: ‘Asking_Points’, ‘confidence’: 0.14969311989174575}, {‘name’: ‘goodbye’, ‘confidence’: 0.04803035905918517}, {‘name’: ‘affirm’, ‘confidence’: 0.04194993758649048}, {‘name’: ‘greet’, ‘confidence’: 0.03178406567587485}], ‘text’: ‘Please check the transaction ID 71168 . Still points not received’}
Here mine requirement is to collect the user transaction id and custome id. It will be numeric. Could you please help me how to differentiate between these two number. Also currently i am getting entity as a number but in training DS it’s as transaction_id
Hi [souvikg10] ,
Thanks for reply. I tried with below code getting error. Here number is slot that i am getting after ducling extraction .Could you please help
Hi, How you make duckling work for you. I’m getting this error: rasa.nlu.extractors.duckling_http_extractor, while I am running duckling from docker. Output of “docker run -p 8000:8000 rasa/duckling” is “listening on http://0.0.0.0:8000”
I am also facing this issue
rasa.nlu.extractors.duckling_entity_extractor - Failed to get a proper response from remote duckling at 'http://0.0.0.0:8000/parse. Status Code: 404. Response: 404 page not found