I have a scenario where I need to extract number type entity. I have trained the bot with sample values but unable to retrieve entity during testing.
Do i have to train the bot with all the values?
Intent :
intent:transfer
Config :
pipeline:
- name: “nlp_spacy”
- name: “SpacyNLP”
- name: “tokenizer_spacy”
- name: “intent_featurizer_spacy”
- name: “ner_crf”
- name: “ner_synonyms”
- name: “intent_classifier_sklearn”
- name: “ner_duckling_http”
Response 1:
{ “intent”: { “name”: “transfer”, “confidence”: 0.708813915773042 }, “entities”: [ { “start”: 14, “end”: 18, “value”: “1001”, “entity”: “amount”, “confidence”: 0.6215849101261547, “extractor”: “CRFEntityExtractor” } ], “intent_ranking”: [ { “name”: “transfer”, “confidence”: 0.708813915773042 } ], “text”: “tranfer money 1001” }
Response 2:
{ “intent”: { “name”: “transfer”, “confidence”: 0.799084971250018 }, “entities”: [], “intent_ranking”: [ { “name”: “transfer”, “confidence”: 0.799084971250018 } ], “text”: “transfer money 9999” }