Closed adrienball closed 5 years ago
Merging #724 into develop will increase coverage by
0.27%
. The diff coverage is91.24%
.
@@ Coverage Diff @@
## develop #724 +/- ##
===========================================
+ Coverage 88.16% 88.44% +0.27%
===========================================
Files 65 66 +1
Lines 3853 3963 +110
Branches 735 765 +30
===========================================
+ Hits 3397 3505 +108
- Misses 347 349 +2
Partials 109 109
When will there be a new release that includes this PR?
Hi @timtutt a new release should be available by the end of the week or early next week
Description: This PR introduces 2 new parsing APIs. The first one allows to run intent classification only, and get back a list of intents along with their probability:
The second API allows to extract the slots when the intent is already known:
On top of these two new APIs, an optional
top_n
parameter is added to theparse
method, allowing to perform intent parsing on thetop_n
most likely intents.This should address https://github.com/snipsco/snips-nlu/issues/623, and cover the feature brought by @deeiip in https://github.com/snipsco/snips-nlu/pull/715.
Checklist: