-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple intents response #199
Comments
I think we can make that an option, do you mind sharing the LUIS format? |
could you please help me with the format for multiple intents? |
I am not quite sure what you are referring to. Do you mean the implementation of returning a list of intents including probability instead of the most probable one? |
yea, i mean the implementation of returning a list of intents including probability. |
What is the format LUIS is using for this? |
This is an example {
"query": "us$ 5000.00",
"topScoringIntent": {
"intent": "Money Answer",
"score": 0.9999938
},
"intents": [
{
"intent": "Money Answer",
"score": 0.9999938
},
{
"intent": "Number Answer",
"score": 0.04435608
}
],
"entities": [
{
"entity": "us $",
"type": "currency",
"startIndex": 0,
"endIndex": 2,
"score": 0.9984345
},
{
"entity": "5000 . 00",
"type": "number",
"startIndex": 4,
"endIndex": 10,
"score": 0.9975406
}
]
} |
Implemented on |
Hi, I'm coming from LUIS and noticed that interpreters returns only the more likely intent, instead of return the full intent list with scores.
My AI uses, sometimes, this list to make decisions of ambiguities.
rasa_nlu.classifiers.sklearn_intent_classifier.SklearnIntentClassifier#predict_prob return the full list. It's possible to return this list instead?
The text was updated successfully, but these errors were encountered: