Skip to content

Releases: wit-ai/wit-ruby

Wit Refresh API update

27 May 22:02
Compare
Choose a tag to compare

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

Ruby SDK - Converse reset

17 Aug 13:51
Compare
Choose a tag to compare
  • converse now takes reset as optional parameter.

Breaking changes

  • run_actions now resets the last turn on new messages and errors.

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

Ruby SDK - API versioning + interactive

23 May 16:54
Compare
Choose a tag to compare
  • allows for overriding API version, by setting WIT_API_VERSION
  • interactive() mode
  • warns instead of throwing when validating actions

Breaking:

  • bumped default API version from 20160330 to 20160516

Ruby SDK

18 Apr 16:33
Compare
Choose a tag to compare
  • fixed recursive call when running actions
  • throws an exception if context passed is not a Hash

Ruby SDK - Unifying action parameters

15 Apr 19:52
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, error

Ruby SDK - Updating action parameters

15 Apr 17:02
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

Ruby SDK

14 Apr 20:58
Compare
Choose a tag to compare
  • allows for custom logging
  • better error message

Ruby SDK - Bot Engine integration

14 Apr 18:49
Compare
Choose a tag to compare

Breaking changes:

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

Ruby SDK - Rewrite in pure Ruby

14 Apr 18:51
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 Ruby dict instead of a JSON string