Since day one, we decided to focus on trying to solve one problem at a time. This is why we have been working on understanding one aspect of human language at a time. We knew it was a simplistic approach; communications between humans and machines often require back and forth interactions. We knew we would eventually need to help developers manage dialog, but it was too soon. As a result, our developers had to implement this part themselves in their app or device.

Last year, we made our first step toward helping you manage dialog. By adding an optional state object to the request, developers can activate and deactivate specific intents, giving Wit some additional context about the conversation at hand.

Moving forward, we will be releasing more features to help you train and manage human conversations. Today, we are happy to release threads in Wit. This will be the foundation for future dialog features.

You can mow add a thread-id parameter to your API request which will let you group requests per conversation.

Here is an example :

curl -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.wit.ai/message?v=20150414&q=open%20the%20door&thread_id=1234'

This message will then appear in your Logs page under its own thread along with any future messages which share its thread-id.

As always, don’t hesitate to reach out if you have any questions.

Team Wit