Questions tagged [wit.ai]

Wit.ai is a NLP engine owned by Facebook that makes it easy for developers to build bots, applications and devices that you can talk or text to.

Wit.ai is a cloud service API for speech recognition and natural language processing, for use with bots, applications and devices.

Wit.ai can help you

  • Understand Natural Language: parse a message (Voice or Text) into structured data
  • Converse: predict the next action your bot should do (Bot Engine)

Source code available at GitHub.

326 questions
1
vote
1 answer

Unable to require node-wit

I had been using node-wit v3.3.2 Today, I wanted to update and use the latest version. But I'm unable to import node-wit. Not sure why. I simply copied the code given in their documentation. 'use strict' var…
1
vote
1 answer

How to get rid of default_intent in wit.ai

Following is the response for my simple application. I expected it to have an intent as open_screen but it shows the intent as default_intent. where did I made the error. { "entities":{ "screen_name":[ { …
Ishan Hettiarachchi
  • 1,426
  • 2
  • 19
  • 31
1
vote
1 answer

WIT.AI: Switching between stories

I'm trying to do a simple story that would go something like this: U: What's the stock symbol for Google? A: The stock symbol for Google is GOOGL. U: Give me a stock quote. A: The current price for GOOGLE is 796.95. But I'd also like the user to be…
dangerimp
  • 11
  • 2
1
vote
1 answer

facebook messenger bot encoding error

I have written sample echo message bot using facebook messenger api and wit.ai actions. My message from facebook page is received and the proper action function defined using wit api's is also getting called. However while returning the response, i…
picku
  • 157
  • 3
  • 9
1
vote
1 answer

Wit.ai Integration with Facebook Messenger

Hi I'm trying to integrate the Messenger Bot that I created using Node.js with Wit.ai based on https://github.com/wit-ai/node-wit so my code is pretty much similar to this. I've been reading the documentation but I'm really having a hard time…
etsilog
  • 11
  • 1
1
vote
1 answer

Handling Intents Properly in wit.ai

I am new to wit.ai and I have a basic question. I am trying to build a bot for handling queries on both cars and bikes. I have created an intent with car and have added some sample queries and trained the model to recognize the car intent. For…
Ram G Athreya
  • 4,892
  • 6
  • 25
  • 57
1
vote
1 answer

How to train Wit.ai/LUIS.ai for large number of entity values, like Restorent names, Movie names

I'm trying to build a chatbot which requires large number of entity values to be added in the knowledge base (or at least I think it is). Assume user just say a name of restaurant and we need to provide its details, like location, ratings, menu…
Vinit Yadav
  • 51
  • 1
  • 4
1
vote
3 answers

How to eliminate negative utterances while using LUIS/WIT Intent

I have an intent "BookTicket". I have few utterances for the same: "book a ticket", "book my ticket".....it works fine. It also works with "do not book a ticket", "book my show". My question is: How can I eliminate these negative searches to search…
Satyajit
  • 1,971
  • 5
  • 28
  • 51
1
vote
1 answer

(wit.ai) Is it possible to add keyword to wit/location using the http api?

I used the following method (https://wit.ai/docs/http/20160526#post--entities-:entity-id-values-link) to add a keyword to a user defined entity, and it worked. However, when I did this to add a keyword to wit/location (one of the built-in entities…
1
vote
3 answers

Facebook Messenger - ChatBot - wit.ai integration

I have my application running on AWS on tomcat instance with Java code with mongodb database. I now need to integrate this with Facebook messenger ChatBot and wit.ai. I am really struggling to get started, some sample code i have found but in…
Ankur Singhal
  • 26,012
  • 16
  • 82
  • 116
1
vote
2 answers

How do I use wit.ai with existing rows of data?

I have a lot of existing data that I would like to use as training data for a wit.ai chatbot. The data is stored in a csv file where each row has a statement/question and a response to that statement/question. I know that wit.ai requires you to…
user402516
  • 528
  • 1
  • 8
  • 17
1
vote
1 answer

wit.ai messenger bot with yes or no reply

I'm starting with wit.ai, I'm trying to create a simple messenger bot, I have everything working on facebook but I'm struggling with a simple task how to make the bot reply a different phrase based on the response given by the user. Example: User:…
1
vote
1 answer

Nodejs Wit.ai - breaking up custom actions into seperate modules

im looking for some help in taking the actions object (ex): const actions = { say(sessionId, context, message, cb) { console.log(message); cb(); }, merge(sessionId, context, entities, message, cb) { cb(context); …
1
vote
1 answer

developing facebook messenger chatbot

I am trying to develop Facebook messenger chat bot. I have set my messenger and node server to talk with each other but when i try to send a message from messenger,after it reaches node server it tries to do merge action using node-wit library that…
hussein shaib
  • 108
  • 1
  • 9
1
vote
1 answer

Python SDK Wit.ai "unable to retrieve libwit"

I am following the quickstart for wit.ai: here But when I write pip install wit I get the following exception: Exception: unable to retrieve libwit What could be the problem?
user5134233