Skip to content

Python SDK v0.2.0

Latest
Compare
Choose a tag to compare
@nkansal96 nkansal96 released this 22 Jun 05:27
e05d027

This release adds a major feature to the SDK: Dialog Builder support. Although it isn't complete, it supports some of the major features.

Added

  • Dialog Builder support
    • Create a Dialog
    • Access Dialog context updates through on_context_update
    • Set UDFs using Dialog.set_function
    • Set and access the Dialog context data through context functions
      • context.get_step_data(id) gets the step data for the given step id
      • context.get_user_data(id) gets the user data for the given id
      • context.set_user_data(id, value) sets the given user data for the given id
      • context.get_current_step() gets the current step in the dialog
    • Run a created dialog using Dialog.run()