Skip to content

@YuukanOO YuukanOO released this Mar 14, 2019 · 29 commits to master since this release

Major release since there are breaking changes on how SlotValue are represented.

  • ✨ Added pytlas.testing namespace containing some utilities to easily unit test your skills, see the documentation for more informations
  • πŸ’₯ SlotValue value now not always returns a str. The value property will now contains a more meaningful python representation of the slot (dateutil.relativedelta for durations, pytlas.interpreters.slot.UnitValue for AmountOfMoney and Temperature, float between 0 and 1 for percentages, datetime.datetime for InstantTime, tuple of datetime.datetime for date range and str for anything else). This make the developer stuff easier when retrieving slot with request.intent.slot('my_slot').first().value
  • ♻️ SkillData is now called Meta
Assets 2
You can’t perform that action at this time.