The intent is identified accurately, but there is a discrepancy in the recognized entity. My issue is I have a user response where he provides his postal zipcode and the bot is identifying the intent correctly but the entity is getting misclassified.
You can see the following for reference
“response”:{ { “event”: “user”, “text”: “My postal code, as in the mailing zip, is 34567.”, “parse_data”: { “intent”: { “name”: “inform_mailing_zip”, “confidence”: 0.967684268951416 }, “entities”: [ { “entity”: “policy_number”, “start”: 42, “end”: 47, “confidence_entity”: 0.23964835703372955, “value”: “34567”, “extractor”: “DIETClassifier” } ], “text”: “My postal code, as in the mailing zip, is 34567.”,
"intent_ranking": [
{
"name": "inform_mailing_zip",
"confidence": 0.967684268951416
},
{
"name": "inform_policy_number",
"confidence": 0.01124406699091196
},
{
"name": "inform_dob",
"confidence": 0.0022329019848257303
},
{
"name": "inform_preferred_contact",
"confidence": 0.0022209070157259703
},
{
"name": "inform_group_id",
"confidence": 0.0017992813372984529
},
{
"name": "emergency_contact_name",
"confidence": 0.0014402118977159262
},
{
"name": "submit_pi",
"confidence": 0.0014140320708975196
},
{
"name": "inform_gender",
"confidence": 0.0012727619614452124
},
{
"name": "stop",
"confidence": 0.0010364839108660817
},
{
"name": "inform_primary_insurance_provider",
"confidence": 0.0009016144322231412
}
],
"response_selector": {
"all_retrieval_intents": [],
"default": {
"response": {
"responses": null,
"confidence": 0,
"intent_response_key": null,
"utter_action": "utter_None"
},
"ranking": []
}
}
},
"input_channel": "cmdline",
"message_id": "3231acc20b3d4af3ab8fea714595f357"
},