Skip to content

rtvt123/pywit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pywit

pywit is a Python client to easily use the Wit.ai HTTP API.

Install

pip install wit

Usage

import wit
print(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/pywit
python setup.py install

API

import wit

if __name__ == '__main__':
	access_token = 'MY_ACCESS_TOKEN'

  # GET /message to extract intent and entities from user request
	response = wit.message('turn on the lights in the kitchen', access_token)
	print('/message -> {}'.format(response))

About

Python library for Wit.ai

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%