Hi Team, While executing the rasa with two entity extractors (CRFEntityExtractor & DucklingHTTPExtractor), entities are detected correctly. But the detected values are not getting assigned to the slots through slot mappings in FormAction. Following are the entities detected.
"intent": {
"name": "add_status",
"confidence": 1.0
},
"entities": [
{
"start": 0,
"end": 5,
"value": "Today",
"entity": "status_date",
"confidence": 0.8229099433,
"extractor": "CRFEntityExtractor"
},
{
"start": 18,
"end": 30,
"value": "rasa chatbot",
"entity": "status_description",
"confidence": 0.8650443331,
"extractor": "CRFEntityExtractor"
},
{
"start": 35,
"end": 45,
"value": "four hours",
"entity": "status_time_spent",
"confidence": 0.6227528202,
"extractor": "CRFEntityExtractor"
},
{
"start": 49,
"end": 65,
"value": "AI/ML enablement",
"entity": "status_project_details",
"confidence": 0.8778220438,
"extractor": "CRFEntityExtractor"
},
{
"start": 0,
"end": 5,
"text": "Today",
"value": "2019-12-31T00:00:00.000-08:00",
"confidence": 1.0,
"additional_info": {
"values": [
{
"value": "2019-12-31T00:00:00.000-08:00",
"grain": "day",
"type": "value"
}
],
"value": "2019-12-31T00:00:00.000-08:00",
"grain": "day",
"type": "value"
},
"entity": "time",
"extractor": "DucklingHTTPExtractor"
},
{
"start": 35,
"end": 45,
"text": "four hours",
"value": 4,
"confidence": 1.0,
"additional_info": {
"value": 4,
"hour": 4,
"type": "value",
"unit": "hour",
"normalized": {
"value": 14400,
"unit": "second"
}
},
"entity": "duration",
"extractor": "DucklingHTTPExtractor"
}
],
"intent_ranking": [
{
"name": "add_status",
"confidence": 1.0
},
{
"name": "goodbye",
"confidence": 0.0000000012
},
{
"name": "greet",
"confidence": 0.0
}
],
"text": "Today i worked on rasa chatbot for four hours in AI/ML enablement"
Following is my actions.py file
Any suggestions would be really helpful.
@Tobias_Wochinger @JulianGerhard @stephens
Regards Hari