Skip to content

Releases: wit-ai/pywit

Wit Refresh API update

Choose a tag to compare

@patapizza patapizza released this 27 May 18:09

Upgrading to latest API version! Check it out: 20200513.

v4.0.0

Choose a tag to compare

@martinraison martinraison released this 30 Jun 18:35
  • say renamed to send to reflect that it deals with more than just text
  • Removed built-in actions merge and error
  • Actions signature simplified with request and response arguments
  • INFO level replaces LOG level
  • adding verbose option for message, converse and run_actions

Python SDK - API versioning + custom logging + fixes

Choose a tag to compare

@patapizza patapizza released this 23 May 16:01
  • allows for overriding API version, by setting WIT_API_VERSION
  • fixes unicode error
  • adds custom logging
  • warns instead of throwing when validating actions

Breaking:

  • bumped default API version from 20160330 to 20160516

Python SDK - interactive mode + fixes

Choose a tag to compare

@patapizza patapizza released this 27 Apr 00:02
  • interactive() mode
  • fixed default arg for context
  • fixed say action in examples/quickstart.py
  • examples to take the Wit access token in argument

Python SDK - Unifying action parameters

Choose a tag to compare

@patapizza patapizza released this 15 Apr 19:38

Breaking changes:

  • the say action now takes 3 parameters: session_id, context, msg
  • the error action now takes 3 parameters: session_id, context, e

Python SDK - Updating action parameters

Choose a tag to compare

@patapizza patapizza released this 15 Apr 16:47

Breaking changes:

  • the merge action now takes 4 parameters: session_id, context, entities, msg
  • the error action now takes context as second parameter
  • custom actions now take 2 parameters: session_id, context

Python SDK

Choose a tag to compare

@patapizza patapizza released this 14 Apr 18:09
  • Fixed request keyword arguments issue
  • Better error messages

Python SDK

Choose a tag to compare

@patapizza patapizza released this 14 Apr 18:08
  • Added examples/template.py
  • Fixed missing type
  • Updated examples/weather.py to examples/quickstart.py to reflect the docs

Python SDK - Bot Engine integration

Choose a tag to compare

@patapizza patapizza released this 14 Apr 18:06

Bot Engine integration

Breaking changes:

  • the message API is wrapped around a Wit class, and doesn't take the token as first parameter

Python SDK - Rewrite in pure Python

Choose a tag to compare

@patapizza patapizza released this 14 Apr 18:10

Breaking changes:

  • audio recording and streaming have been removed because:
  • many people only needed access to the HTTP API, and audio recording did not make sense for server-side use cases
  • dependent on platform, choice best left to developers
    • forced us to maintain native bindings as opposed to a pure Pythonic library
  • we renamed the functions to match the HTTP API more closely
    • .text_query(string, access_token) becomes .message(access_token, string)
  • all functions now return a Python dict instead of a JSON string