This repository has been archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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°"
Down here?
Cool.
I should add something somewhat interesting for you to read...
Here's how to get started with wit_bot in 3 steps:
- Learn how to use wit.ai
- Learn how to setup the gem
- Learn how to send a message
- Learn how to use message threads
- Learn how to use context
- Learn how to use conversations
- Learn to use the REPL
- Learn how to use conversations
- Learn how to use participants
- Learn how to use bots