Hi @shubham
I built your bot based on your setup. This is my parsing-output for product:
POST http://localhost:5005/model/parse
{
"text": "10000413"
}
{
"intent": {
"name": "sales_data",
"confidence": 0.9558028579
},
"entities": [
{
"start": 0,
"end": 8,
"value": "10000413",
"entity": "product_id",
"confidence": 0.853251155,
"extractor": "CRFEntityExtractor"
}
],
"intent_ranking": [
{
"name": "sales_data",
"confidence": 0.9558028579
},
{
"name": "goodbye",
"confidence": 0.0675825328
},
{
"name": "greet",
"confidence": 0
},
{
"name": "mood_great",
"confidence": 0
},
{
"name": "deny",
"confidence": 0
},
{
"name": "affirm",
"confidence": 0
}
],
"text": "10000413"
}
This is my parsing output for ev_id:
POST http://localhost:5005/model/parse
{
"text": "2213"
}
{
"intent": {
"name": "sales_data",
"confidence": 0.9566286206
},
"entities": [
{
"start": 0,
"end": 4,
"value": "2213",
"entity": "ev_id",
"confidence": 0.8784737378,
"extractor": "CRFEntityExtractor"
}
],
"intent_ranking": [
{
"name": "sales_data",
"confidence": 0.9566286206
},
{
"name": "goodbye",
"confidence": 0.0442600176
},
{
"name": "greet",
"confidence": 0
},
{
"name": "mood_great",
"confidence": 0
},
{
"name": "deny",
"confidence": 0
},
{
"name": "affirm",
"confidence": 0
}
],
"text": "2213"
}
My modifications:
I simply used the CRFEntityExtractor without feature specifications and I used the following stories:
## product_id
* sales_data{"product_id": "56435678"}
- utter_goodbye
## ev_id
* sales_data{"ev_id": "2481"}
- utter_goodbye
Maybe you forgot to accept mentioned entities while triggering the intent? Another thing: the data you provided for those entities is a little bit poor regarding the fact, that e.g. ev_id always ends on 13 (I don’t know if this is expected or not).
Regards