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 based node.js code on running with forever command throws error

I am trying to develop a facebook messenger bot application with the use of wit.ai framework. The application runs fine when i run my node.js code with command node app.js But when i try to run it with the use of forever command like below i am…
Vidhya Sri
  • 1,773
  • 1
  • 17
  • 46
0
votes
1 answer

How can I connect iOS app with Wit.ai iOS SDK to node.js app running wit.ai?

Say, for example that I am trying to make an app that recommends you a random movie. You should be able to talk to the app by pressing a button. Then the app will send your speech to a backend (a node app), which will then run the logic that will…
Fabio Gomez
  • 687
  • 2
  • 7
  • 13
0
votes
1 answer

How to 'remember' removal of entities (IN UI)

In the wit.ai UI when entering a story the interface constantly identifies and tags a number of entities that I don't want it to. Screenshot showing UI In the image above you can see two "package_type" entities being registered against the "How do I…
0
votes
1 answer

Getting "[error] [converse] Error: TypeError: Cannot read property 'replace' of undefined" when defining multiple actions in Wit.ai

I am trying to define multiple actions coding in Node.js in Wit.ai, and I get the error - "[error] [converse] Error: TypeError: Cannot read property 'replace' of undefined" Does anyone know why I got this, and What's the proper way to define…
Li Ye
  • 21
  • 3
0
votes
3 answers

Are the values defined in this JavaScript object actually functions?

I'm new to JavaScript, and after reading "JavaScript The Good Parts" I wanted to code something for fun. I stubled upon this code snipped that I can't understand: const actions = { say(sessionId, context, message, cb) { console.log(message); …
G. Kasev
  • 1
  • 1
0
votes
2 answers

Bot read from my api endpoint

I am creating a bot on facebook messenger, following the tutorial here Is there a way for the bot to retrieve results from my own api endpoint? Essentially, I have set up an api endpoint from which results in json is to be returned. I would like…
RPV
  • 397
  • 1
  • 5
  • 16
0
votes
0 answers

Can't access variables outside of function/callback

I'm trying to call a weather API to get the current weather for a bot. I'm using node-rest-client to pull a description of the weather, which will be held in context.forecast. The only problem is, I can't seem to modify/create the variable inside…
samwight
  • 129
  • 2
  • 8
0
votes
1 answer

issue receiving outcomes when sending text to wit.ai

I'm using the following to send text to wit.ai through a button press function: @IBAction func searchButton(sender: AnyObject) { searchQueryText = searchTextInput.text! if searchQueryText != "" { wit.interpretString(searchQueryText,…
mattblack
  • 1,370
  • 3
  • 13
  • 19
0
votes
1 answer

fetch data from text file in pyttsx python

Hello respected persons, I am trying to fetch data from a external text file with pyttsx package of python language. I will save text in txt file and how pyttsx can read that text from txt file and can speak? I am trying to do like this, import…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
0
votes
2 answers

Shell Script to Parse text into two separate strings

My goal is to use a shell file to parse text from wit.ai and I cannot seem to get it right because the string (named data) can be vastly different. I've been trying to use a sed command but no luck. The response from the sever looks like this (but…
Accentrix
  • 23
  • 6
-1
votes
1 answer

Basic Concept of Chatbot using Wit.ai

I am trying to create a chatbot application where user can create their own bot like Botengine. After going through google I saw I need some NLP api to process user's query. As per wit.ai basic example I can set and get data. Now I am confused, How…
-1
votes
1 answer

How to stream speech to wit.ai speech end point

I'm having trouble getting a good response from wit.ai's speech end point. The response is always 400. I seem to be following the docs but something's wrong. Any help would be appreciated. private string ProcessSpeechStream(Stream stream) { …
Amen Jlili
  • 1,884
  • 4
  • 28
  • 51
-1
votes
2 answers

Import Possible Answer Units into Watson Discovery

I have a follow up question off of the question here: How to get exact answers instead of the whole document using Watson Discovery? One of the answers mentioned using the Document Conversion Service to create Possible Answer Units (PAUs) within my…
-1
votes
2 answers

bot hosted on heroku keeps crashing

when i hosted messenger bot application on heroku, it works well for a while but after several minutes it crashes and then i have to restart the heroku app again through the cli, sometimes it starts working again automatically. i do not knw why this…
nipek
  • 810
  • 1
  • 9
  • 22
-1
votes
1 answer

Unable to Convert Speech to Text

I'm getting a 500 error when converting a simple MP3 file from speech to text using the Wit.ai site. I'm thinking the WAV I'm sending is not in the right format. Here's my conversion: ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000…
Vallieres
  • 859
  • 7
  • 19
1 2 3
21
22