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

Wit Ai for Android - The App crashes

Well, I just thought of trying out Wit Ai for Android and the application crashes when I Run it on my phone . So here's my code, Layout :
Sivan
  • 25
  • 2
  • 6
0
votes
0 answers

request to api.wit.ai/speech

I should receive text from audio, but server receive empty result. PS. audio converts in a buffer const request = require('request-promise'); const fs = require(`fs`); const apikey = KEY; async function recognize(audio) { const body =…
tysik
  • 29
  • 5
0
votes
1 answer

Wit AI speech recognition python

The code i wrote does not give the answer i want. from wit import Wit client = Wit("XXXYYYZZZ") with open('sa.mp3', 'rb') as f: resp = client.speech(f, {'Content-Type': 'audio/wav'}) print('Yay, got Wit.ai response: ' + str(resp))` the code…
hknnd
  • 3
  • 2
0
votes
0 answers

How many utterances are needed to get insights in wit.ai?

insights wit.ai I would like to see the accuracy of my model on wit.ai, but it says i need more utterances. Exactly how much data do i need to feed my model before I can see any graph in the insights part ? I tried adding more utterances (around…
0
votes
0 answers

movement.entities.reduce is not a function or its return value is not iterable

So I have no idea what is going on, I got this code from a friend and I'm slowly learning how it works. This code is supposed to generate a random "movement" action inside a video game. It used to work smoothly, but after a couple of updates and…
0
votes
0 answers

Creating a wav file from a blob

I'm using the audio-react-recorder library to record audio from a user that want to eventually send to my back-end (as a wav-file). The react-recorder is generating a blob ({blob: Blob, url:…
J.g
  • 41
  • 1
  • 7
0
votes
1 answer

wit.ai HTTP API utterance request fails to validate utterance

I'm trying to use wit.ai's utterance HTTP API endpoint. I've set up some test phrases and made entities in the wit.ai interface. The entities are registered as being related to the intent. I've set the entity to "Free Text". Now I'm trying to add…
0
votes
1 answer

How can I send .wav file to an api that only accepts 'content-type':'audio/wav' with flutter http

I have the code below to send a recorded wav file to the wit.ai API. Map headers = { 'Content-Type': 'audio/wav', 'Authorization': "Bearer $witPublicAPIKey" }; http.MultipartRequest request = …
Philip Kalela
  • 125
  • 13
0
votes
1 answer

Differences between Rasa and other Conversational AI platforms

Apart from being open source, what can other Conversational AI platforms (wit.ai, Lex, DialogFlow..) do that Rasa can't?
Gianluca
  • 63
  • 3
0
votes
1 answer

Is there a way to check the confidence of Wit.ai intent response?

Im trying to check the confidence of my API response within my HTML page. If confidence is 0 {Go to this page} If confidence is 1 {Go to this page} I can check other things but not the intent confidence how would i do…
Henry
  • 1
0
votes
1 answer

Python integration with Wit.ai

I am new to Wit.ai and I am trying to make a chatbot. This is the chatbot straight from the quickstart. What am I doing wrong? from __future__ import absolute_import from __future__ import division from __future__ import print_function from…
parth shukla
  • 107
  • 4
  • 11
0
votes
1 answer

Unable to convert file to binary format for sending to wit.ai api using node.js

I am facing an issue in converting Audio file to Binary format. I need to send it to Wit.AI api which is expecting the data in that format. I am using node.js. In my front-end I am recording the user voice using Mic-recorder Module. Any suggestions…
0
votes
1 answer

What's the maximum audio time for chunked data in Wit.ai?

I'm try to send a speech on wit.ai but I did not understand if I'm possible send audio file greater than 10 seconds if I send chunked data less than 10 seconds each one.
0
votes
1 answer

Android Volley request failing while making a call to wit.ai API

I'm trying to use the speech recognition REST API service from wit.ai I have used Volley to send a POST request to the URL https://api.wit.ai/speech This is what I have currently done: void makeApiCall(){ StringRequest request = new…
Fahad Saleem
  • 413
  • 2
  • 13
0
votes
1 answer

Facebook messenger chatbot with Flask and pymessenger

I have created a messenger chatbot with flask, pymessenger and wit.ai. I want to add facebook provided templates (like buttons, adding images and sound media)(https://developers.facebook.com/docs/messenger-platform/reference/template/button/) There…
codekiller
  • 53
  • 1
  • 9