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
0
votes
1 answer

Wit.ai chooses wrong branch in conversation flow

I have a flow based conversation modelled in wit.ai. After executing a custom action and sending the results to the user, the user should have the possibility to: say something like 'show me more' or say something like 'thank you' in which case the…
Moritz Becker
  • 107
  • 1
  • 8
0
votes
1 answer

How to integrate wit.ai With my own chatbot application

I would like to create my own web chatbot and i like to integrate my app with wit.ai for natural language classification.I need to know how to integrate wit.ai service(through api call) with my application(any language in backend).i am using C# in…
vengat babu
  • 3
  • 1
  • 3
0
votes
1 answer

Wit.ai conflict with Stories

Can anyone tell me why the mergeIntentOld and mergeIntentTeam bot executes clash in the following app? https://wit.ai/cisnky/fb_weather/stories Is it because both stories use wit/contact? Should an app only have one story that deals with the…
Bcf Ant
  • 1,639
  • 1
  • 16
  • 26
0
votes
1 answer

Is there a limit on how many values an Entity in Wit.Ai can have?

I created a Wit.AI entity with about 10k values. When I input a message that is exactly one of the the possible values, Wit.AI doesn't seem to be able to pick that up. I tried this with an entity that has only a few values and it worked. Is this…
dlco
  • 1
0
votes
0 answers

wit.ai : sessionid undefined in my runActions function

I am writing my first apps with wit.ai using a node.js backend. I found some posts here similar to my question, but not really the answer : I use a socket.io to communicate with my node script. The two relevant parts of my node are…
0
votes
1 answer

Wit.ai API Call Fails in Client

I am trying to make an API request to Wit.ai via javascript (ReactJS). My browser network tab shows the call fails with the message: "error" : "Bad auth, check token/params" However, that same call shows as successful in the Wit.ai logs. I've…
darrind
  • 31
  • 2
  • 5
0
votes
2 answers

Wit.ai - How do I end a flow-based conversation?

I've built a flow-based chat bot using Wit.ai and FB Messenger that is finally working; the last thing I need to figure out is what to do when the conversation ends. My bot walks users through the steps of a simple exercise, which they may choose to…
wanstan
  • 15
  • 5
0
votes
1 answer

How can I make the wit.ai bot to skip some responses

How can I make the wit.ai bot to skip some user responses? e.g. say user said " I am doing fine" on that Bot should not respond, or wait for next user input.
Sachin
  • 1
  • 1
0
votes
1 answer

wit.ai + story with 2 or more conversations to get entities

I am trying different stories in wit.ai. Here is one scenario where I want to report lost credit card. When user says he lost credit card, bot has to ask his SSN followed by mother/maiden name in 2 steps and then it has to block the card. Here is…
Nayana M
  • 65
  • 7
0
votes
1 answer

Wit.ai - sending pictures via Facebook Messenger Send API

I need my Wit.ai chat bot to respond to certain messages with images, and since I've refactored my code to match the latest messenger example in the node-wit SDK I can't figure out how to do so. Previously this FB message function worked for me: var…
0
votes
0 answers

Execution Order in Javascript?

I am trying to display some data from an api withint the console, but it seems like I didn't understand how the code execution works in ES6. getMovieReccomendation({context, entities}){ return new Promise(function (resolve, reject) { var…
0
votes
2 answers

Promise function not resolving (javascript/Wit.ai)

I'm trying to update the functions in my messenger/wit.ai chat bot from using callbacks to promises. This original format executes fine: ['buildScenario'](sessionId, context, cb) { var trendChoice = scenarioCombos['trends'] var…
wanstan
  • 15
  • 5
0
votes
2 answers

Why is my Wit.ai messenger bot parsing its own responses?

I'm building my first FB Messenger chat bot using Wit as the NLP engine. All my services are connected and seem to be working on the surface, but when I look at my Heroku logs it seems that my bot's responses are being sent back to Wit to be parsed…
wanstan
  • 15
  • 5
0
votes
1 answer

Wit.ai Time-out C# Unity

So using Wit.ai I'm trying to use speech to text. I am using the Wit3D example from Github: https://github.com/afauch/wit3d/blob/master/Assets/UserScripts/Wit3D.cs Recording of sound and saving to the .wav file works just fine. Sending the request…
Hespen
  • 1,384
  • 2
  • 17
  • 27
0
votes
1 answer

Wit.ai GET Entity Values Limited to 1000?

I have an entity that I have populated with multiple thousands of values via the Wit API (https://wit.ai/docs/http/20160526#post--entities-:entity-id-values-link). The script to add them seems to have completed successfully, but when I try to…
Numbr
  • 35
  • 4