Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Expressions

Ben edited this page Mar 13, 2016 · 1 revision

Expressions are what intents respond to. Sadly, due to a problem wit's API, you cannot add entities to expressions via the API. You must do that with their online site.

To get all the expressions of an intent:

change_tempature_intent.expressions

To add an expression to an intent:

set_tempature_intent.expressions.create "Set the temperature to 55°"

change_tempature_intent.expressions.create "Turn down the temperature by 5°"

Getting Started

Here's how to get started with wit_bot in 3 steps:

  1. Learn how to use wit.ai
  2. Learn how to setup the gem
  3. Learn how to send a message

Dive Deeper

Create Bots

Integrate it

Clone this wiki locally