Rasa: shows intent as none in output

Created on 28 Dec 2017  路  5Comments  路  Source: RasaHQ/rasa

In the output it shows 'intent': None
capture

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....

type

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

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jasperty picture Jasperty  路  3Comments

connorbrinton picture connorbrinton  路  3Comments

Poojan66 picture Poojan66  路  3Comments

anishrav picture anishrav  路  3Comments

jahid-ict picture jahid-ict  路  3Comments