Skip to content

Commit

Permalink
Merge pull request #7268 from RasaHQ/iss-7244
Browse files Browse the repository at this point in the history
FloatSlot._as_feature should return unambiguous values
  • Loading branch information
rasabot authored Dec 10, 2020
2 parents ba3c313 + 74247d9 commit 9dadb80
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 1,338 deletions.
5 changes: 5 additions & 0 deletions changelog/7244.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A `float` slot returns unambiguous values - `[1.0, <value>]` if successfully converted, `[0.0, 0.0]` if not.
This makes it possible to distinguish an empty float slot from a slot set to `0.0`.
:::caution
This change is model-breaking. Please retrain your models.
:::
Loading

0 comments on commit 9dadb80

Please sign in to comment.