Search code examples
pythonchatbotwit.ai

How to handle wit.ai bot using Python


How to connect to and handle Wit.ai actions and intents from local machine? i.e sending query to wit.ai using python api's and performing actions on local machine depend on json response. I cannot find any proper documentation regarding this. Almost all the tutorials are using node.js

Thanks in advance.


Solution

  • In fact, there is a Python SDK on the Wit.ai site.

    There are also few examples that should help you get up to speed.

    You may first want to check the quickstart.py example, that corresponds to the Build your first app tutorial on the Wit.ai site.