Wit

Latest version: v6.0.1

Safety actively analyzes 629994 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

4.1.0

Breaking changes

- `converse` now takes `reset` as optional parameter.
- `run_actions` now resets the last turn on new messages and errors.

4.0.0

After a lot of internal dogfooding and bot building, we decided to change the API in a backwards-incompatible way. The changes are described below and aim to simplify user code and accommodate upcoming features.

See `./examples` to see how to use the new API.

Breaking changes

- `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`

3.5

- 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`

3.4.1

- `interactive()` mode
- fixed default arg for `context`
- fixed `say` action in `examples/quickstart.py`
- examples to take the Wit access token in argument

3.4.0

Unifying action parameters

breaking

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

3.3.0

Updating action parameters

breaking

- 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`

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.