In the output it shows 'intent': None
Here are my both the codes
```{
"pipeline": "spacy_sklearn",
"path" : "./projects",
"data" : "./testData.json"
}
{
"rasa_nlu_data": {
"common_examples": [
{
"text": "what price is microsoft trading at",
"intent": "stock_price_search",
"entities": [
{
"start": 13,
"end": 23,
"value": " microsoft",
"entity": "company"
}
]
},
{
"text": "what is stock price of microsoft",
"intent": "stock_price_search",
"entities": [
{
"start": 23,
"end": 32,
"value": "microsoft",
"entity": "company"
}
]
},
{
"text": "check the stock price of google",
"intent": "stock_price_search",
"entities": [
{
"start": 25,
"end": 31,
"value": "google",
"entity": "company"
}
]
},
{
"text": "check the stock price of apple",
"intent": "stock_price_search",
"entities": [
{
"start": 25,
"end": 31,
"value": "apple",
"entity": "company"
}
]
},
{
"text": "what is stock price for amazon",
"intent": "stock_price_search",
"entities": [
{
"start": 24,
"end": 30,
"value": "amazon",
"entity": "company"
}
]
},
{
"text": "check the stock price for flipkart",
"intent": "stock_price_search",
"entities": [
{
"start": 26,
"end": 34,
"value": "flipkart",
"entity": "company"
}
]
}
]
}
}
```
PLease help me out....
which version of Rasa NLU are you using?
@sharma-ji If you have only one intent in the training data, it shows as None. Try defining one more intent and train and see. I am using Rasa NLU V0.10.4 and I have the same issue @tmbo
@sharma-ji were you able to get it working?
@teja463 you ROCK MAN!!! thanks
@tmbo What if we want just need one intent and check if the user input is that or something else? Do we need to have another dummy intent in this case. I just need the confidence level for this one intent.
I'm using the latest rasa_nlu
Most helpful comment
@sharma-ji If you have only one intent in the training data, it shows as None. Try defining one more intent and train and see. I am using Rasa NLU V0.10.4 and I have the same issue @tmbo