Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

v5.2.0

Compare
Choose a tag to compare
@space-pope space-pope released this 22 Apr 19:15
· 213 commits to master since this release
fc85db7

Features

  • Return unknown slots as raw values
    • If the NLU model tags a slot not associated with the predicted intent, that slot's value will be returned as a String in the NLUResult's slot map instead of causing an error.
  • Support new slot features
    • Newer models include intent-level implicit slots and a capture_name field that changes the slot's return name; these are now supported by the client library.

Fixes

  • Allow slot tags to be discontinuous
    • Separate spans of "b_slot_name" tags will now be concatenated instead of dropping all tokens but the last one
  • Trim punctuation for slot value extraction
    • Slots recognized at the end of an input string that contains punctuation will no longer cause an error. As a consequence, both leading and trailing punctuation are removed from the slot value before parsing, so such punctuation is invalid in training data for the slot values.