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

wit.ai support for languages other than English

I just start playing with wit.ai NLP and Bot Engine but found some difficulties to make it running using the Polish language. Especially the built-in entities/functions (like wit/number or wit/age-of-person) seem not to work at all. So here is my…
Paul Paku
  • 360
  • 2
  • 16
2
votes
3 answers

Start conversation with Wit.ai chat bot in node.js

I have created a story on wit.ai using the quickstart guide. Now I want to make a conversation with my chat bot using node-wit in node.js. I guess I should use https://github.com/wit-ai/node-wit#runactions to run the messages, but I'm not sure how…
Jamgreen
  • 10,329
  • 29
  • 113
  • 224
2
votes
2 answers

Unexpected token { in wit.js

I am testing wit.ai with the samples provided by fb and I am running in to the following error... /mynodeproj/node_modules/node-wit/lib/wit.js:18 const { ^ SyntaxError: Unexpected token { at exports.runInThisContext…
altok
  • 21
  • 2
2
votes
1 answer

How to send Http post request to wit.ai

Since Wit.AI API for android is deprecated i'm trying to use its http api to get a result in json from my wit.ai app. I don't know if it's possible but i'm trying to send an http request from my android app in this way: public class MainActivity…
Lucas
  • 35
  • 1
  • 5
2
votes
3 answers

Node.js TypeError: Wit is not a constructor

How to solve "Wit is not a constructor" error coming from Node.js while executing code given by node-wit and wit.ai documentation. // Setting up our bot const wit = new Wit(WIT_TOKEN, actions); I tried all the ways by upgrading and downgrading…
Chandra Sekhar
  • 16,256
  • 10
  • 67
  • 90
2
votes
2 answers

wit.ai stories training results unpredictable?

I am trying to develop a weather bot and have been experiencing some problems. I trained the systems with stories and in the understanding tab. The behavior of wit seems unpredictable to me - it combines stories (which it is supposed to do I…
Li Ye
  • 21
  • 3
2
votes
2 answers

wit.ai Bot Engine Stories connected to hubot

I am trying to get the new wit.ai Bot Engine connected to hubot with Javascript. Unfortunately I am not a JS Developer so I'm struggling. Here's the code I have: 'use strict'; const Wit = require('../../../node-wit').Wit; const firstEntityValue =…
1
vote
1 answer

How do you isolate a text string from in a chatbox/text field in Unity?

I am making a chatbot (well I'm attempting!) and I have set up wit.ai to handle the text-to-speech of the bot. My issue is that I am pulling all of the chat into the speaker on each update which is overloading the TTS, when I really only want the…
Mutaman89
  • 11
  • 2
1
vote
0 answers

How can I fix this error showing up when using pip install wit

I was trying to install wit.ai using pip but I got the following error code: pip install wit Exception: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options,…
1
vote
0 answers

Is their any way for transcribe an large audio file by python and librosa?

I am trying to do by so many platform. Firstly i tried with speech recognition module but this is not working. Secondly i tried with wit.ai but it can't process large file. At lastly i tried with aws transcribe but I have a student account so I…
1
vote
1 answer

Wit AI speech recognition

I am trying to submit an audio in ogg format to https://api.wit.ai/speech?v=20200513. I need to receive a text representation of the voice. When I submit the code through curl request, it returns empty response as {"_text": "", "entities": ""}. I…
1
vote
1 answer

How to work with multiple entities in wit.ai

I have just created wit.ai chat bot for pizza booking suppose if I type a sentence: "I want to order Cheese pizza" it has to ask me what is the size. Instead, its again asking me what u want order. Can anyone suggest how to work with multiple…
Dimple
  • 11
  • 1
1
vote
2 answers

React hooks are overwritting object array

I'm trying to code a chatbot interface using React hooks and Wit.ai. I have tried setting the messages imperatively (setMessages([...messages, currentValue]) but that doesn't work either. Here's the code: const [currentValue, setCurrentValue] =…
voiys
  • 269
  • 5
  • 14
1
vote
0 answers

chatbot answers my previously asked questions again even when i am silent/not asking anything

I am developing a chatbot in urdu with wit.ai framework. Chatbot works fine but the issue is when i leave the chatbot for sometime after asking some questions, it start answering the previously told answers in a sequence by starting from first…
1
vote
1 answer

How to integrate wit.ai into website chat window?

There is a handy option in DialogFlow to integrate it into a website without any hassle. Is there any option of the same kind for wit.ai? What are the steps to do so?