v1.4.0
New Features
Import / Export Flow in Bytes
A new method was added in flows.py allowing the user to capture the Flow object as an inline byte stream. This feature enables some CI/CD tooling that is being developed and will be released soon! Great addition ➕ from @Omerside !
Enhancements
NLU Regression Testing
We've updated the functionality of run_intent_detection
method in the conversation.py class to provide more verbose information in the resulting DataFrame. Previously, the "Match Type" information had to be derived from the results. We can now access each of these signals directly, including PARAMETER_FILLING
which allows for more granular NLU Regression testing. Big thanks 🎉 to @Greenford for getting this put together! Full details here.
Intents to DataFrame Refactor
We've performed a refactor of bulk_intent_to_df to provide more consistency with the output results. Previously, there were 2 "modes" which provided different output types:
basic
, which output a DataFrameadvanced
, which output a Dictionary containing 2 DataFrames
For output type consistency, we've consolidated all of the information from the advanced
mode into a single DataFrame. All of the information that existed previously is available in the new, single DataFrame. Kudos 👏 to @MRyderOC for cleaning this up!
Pandas Append Deprecation
We've made various modifications to the deprecated pd.append methods across the library to use the recommended syntax of pd.concat
. This also provides us with some computation speed increases in some areas, which is nice! Thanks for this cleanup 🧹 @sidpagariya !
Bug Fixes
- Fixed a typo in transition_route_groups.py
- Fixed an issue in dataframe_functions.py on the
_update_intent_from_dataframe
method whereparameter_id
was not appropriately populated when annotations were not provided. Thanks for the catch / fix Lambert!
What's Changed
- Comments. by @Omerside in #62
- added import/export flow using raw bytes by @Omerside in #60
- Fix update_transition_route_group by @SeanScripts in #58
- Update pandas append function for dataframes to pandas concat to suppress Pandas deprecation warning by @sidpagariya in #63
- Feature/detect param by @Greenford in #59
- Advanced mode did not manage properly unannotated training phrases by @lambertaurelle in #45
- Refactor/intents to df by @MRyderOC in #67
- Lint Fixes for Recent File Changes by @kmaphoenix in #68
New Contributors
- @SeanScripts made their first contribution in #58
- @sidpagariya made their first contribution in #63
- @lambertaurelle made their first contribution in #45
Full Changelog: 1.3.0...1.4.0