Language Understanding (LUIS) V3 doesn't support Bing Spell Check API
See original GitHub issueVersion
“botbuilder”: “~4.15.0”, “botbuilder-ai”: “~4.15.0”,
Describe the bug
I try to improve LUIS intents prediction accuracy. Because there is an issue when missing one letter leads LUIS to a wrong intent. I use the tutorial, but still I don’t get the expected value “alteredQuery” in the JSON returned form LUIS. this is how I use it:
const luisConfig: LuisApplication = {
applicationId: [APP_ID_GOES_HERE],
endpointKey: [KEY_GOES_HERE],
endpoint: [ENDPOINT_GOES_HERE],
};
const recognizerOptions: LuisRecognizerOptionsV2 = {
apiVersion: 'v2',
bingSpellCheckSubscriptionKey: [KEY_GOES_HERE];
includeAllIntents: true,
log: true,
spellCheck: true,
log: true,
includeInstanceData: true
};
const luisRecognizer = new LuisRecognizer(luisConfig, recognizerOptions, true);
Expected behavior
As per documentation I should get the response as follows:
"query": "bouk me a fliht to kayro",
"prediction": {
"alteredQuery": "book me a flight to cairo",
"topIntent": "book a flight",
"intents": {
"book a flight": {
"score": 0.9480589
}
"None": {
"score": 0.0332136229
}
},
"entities": {}
}
}
But the reality is different - there is no “alteredQuery”
"query": "bouk me a fliht to kayro",
"prediction": {
"topIntent": "book a flight",
"intents": {
"book a flight": {
"score": 0.9480589
}
"None": {
"score": 0.0332136229
}
},
"entities": {}
}
}
Issue Analytics
- State:
- Created a year ago
- Comments:10
Top Results From Across the Web
Correct misspelled words - LUIS - Azure Cognitive Services
The V3 prediction API now supports the Bing Spellcheck API. Add spell checking to your application by including the key to your Bing...
Read more >spell check is not working for the api call as it throws an ...
Bing spell check : requests to the query prediction endpoint with the &spellCheck=true&bing-spell-check-subscription-key={bingKey} query string ...
Read more >How to enable Bing Spell check in LUIS API 2.0?
I'm trying to use the Bing Spell Check feature on the LUIS but it doesn't seem to work. URL: https://westus.api.cognitive.microsoft.com/luis ...
Read more >Microsoft Bing Spell Check API Reviews & Product Details
Microsoft Bing Spell Check API is a tool that help users correct spelling errors, recognize the difference among names, brand names, and slang, ......
Read more >Setting Up Bing Spell Check API | packtpub.com - YouTube
This video tutorial has been taken from Implementing Azure Cognitive Services for Language. You can learn more and buy the full video course ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Feel free to open a ticket with LUIS and leave your feedback with them. In the meantime, since we have identified a workaround, I am going to go ahead and close this issue. Should you run into further issues, feel free to comment and we can reopen it. If you have new problems in the future, please open a ticket in the appropriate repository.
There are special options for the proper work with Bing Spell Check API in SDK (bingSpellCheckSubscriptionKey, spellCheck) but they couldn’t be used at all…