Skip to content

Releases: wit-ai/pywit

Wit Refresh API update

27 May 18:09
Compare
Choose a tag to compare

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

v4.0.0

30 Jun 18:35
Compare
Choose a tag to compare
  • 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

23 May 16:01
Compare
Choose a tag to compare
  • 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

27 Apr 00:02
Compare
Choose a tag to compare
  • 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

15 Apr 19:38
Compare
Choose a tag to compare

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

15 Apr 16:47
Compare
Choose a tag to compare

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

14 Apr 18:09
Compare
Choose a tag to compare
  • Fixed request keyword arguments issue
  • Better error messages

Python SDK

14 Apr 18:08
Compare
Choose a tag to compare
  • Added examples/template.py
  • Fixed missing type
  • Updated examples/weather.py to examples/quickstart.py to reflect the docs

Python SDK - Bot Engine integration

14 Apr 18:06
Compare
Choose a tag to compare

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

14 Apr 18:10
Compare
Choose a tag to compare

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