Skip to content

yacman/wit-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wit-ruby

wit-ruby is a Ruby client to easily use the Wit.ai HTTP API.

Install

gem install wit

Usage

require 'wit'
p Wit.message('MY_ACCESS_TOKEN', 'turn on the lights in the kitchen')

See below for more examples.

Install from source

git clone https://github.com/wit-ai/wit-ruby
gem build wit.gemspec
gem install wit-*.gem

API

require 'wit'

access_token = 'MY_ACCESS_TOKEN'

# GET /message to extract intent and entities from user request
p Wit.message(access_token, 'turn on the lights in the kitchen')

Thanks

Thanks to Justin Workman for releasing a first version in October 2013. We really appreciate!

About

Ruby library for Wit.ai

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%