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.
326
questions
0
votes
0
answers
31
views
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 ...
-2
votes
1
answer
74
views
0curl: (6) Could not resolve host: ^ (cURL problem)
I just start to use wit.AI to create my first bot and I'm doing everything in backend.
I first create my server.
Now I just want to do some request with cURL but when I copy the model which provided ...
1
vote
1
answer
78
views
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 ...
0
votes
1
answer
123
views
Wit AI speech recognition python [closed]
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'})
...
0
votes
0
answers
22
views
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 ...
0
votes
0
answers
57
views
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 ...
0
votes
0
answers
1k
views
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: 'blob:...
0
votes
1
answer
215
views
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 ...
0
votes
1
answer
2k
views
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<String, String> headers = {
'Content-Type': 'audio/wav',
'Authorization': "Bearer $...
2
votes
1
answer
147
views
Weird error when trying out wit.ai's messenger bot example code
Trying to learn wit.ai and create a messenger bot via their example code from their github. after messing around and adding my own take, I encountered this error:
UnhandledPromiseRejectionWarning: ...
0
votes
1
answer
409
views
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?
1
vote
0
answers
576
views
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&...
2
votes
0
answers
229
views
Send chunked Audio request to wit.ai from dart
I'm looking to use wit.ai for speech recognition. This is the post method I'm using to post audio file.
Future<http.Response> post(
String path,
File file,
) async {
final client ...
1
vote
0
answers
147
views
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 ...
1
vote
1
answer
2k
views
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 ...
0
votes
1
answer
100
views
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 ...
0
votes
1
answer
310
views
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
...
1
vote
1
answer
295
views
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. ...
1
vote
2
answers
61
views
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 ...
1
vote
0
answers
171
views
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 ...
0
votes
1
answer
306
views
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 ...
1
vote
1
answer
475
views
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?
0
votes
1
answer
428
views
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.
-3
votes
1
answer
71
views
wit.ai integration issue with facebook messenger
I integrated wit.ai with facebook messenger. Its working good with my fb account? But if I try with others account, webhook call is not called. What could be the problem?
0
votes
1
answer
52
views
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 ...
2
votes
1
answer
388
views
Wit.ai bot with multiple languages
I plan on creating a bot that supports multiple languages and I've decided to do this with the wit.ai platform due to the many languages it supports.
The bot will use a webhook to detect the intent.
...
-2
votes
1
answer
443
views
How to add payload request for FB chatbot in python?
I have created a chatbot in python, flask, pymessenger, witai. I have added some button but I don't know how to reply back once the user press/select the option from my menu. Below is my code.
@app....
0
votes
1
answer
2k
views
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/...
2
votes
0
answers
246
views
Rasa roles of entities
My team is building a bot for hotel reservations and we have recently decided to migrate from Wit.ai to Rasa. In Wit.ai, we used the build-in entities:
- datetime - with roles check-in and check-out
-...
1
vote
0
answers
19
views
Iss one intent can have on 50 expressions on wit.ai?
I have created an application using Wit.ai but when i try to fetch intents from wit . I am getting only 50 intent through API whilte in my wit app i can see more than 50
-1
votes
1
answer
424
views
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 ...
0
votes
0
answers
120
views
Intent recognition using only one intent
I am currently trying to extract from texts some sentences/groups of words that mean "there was an anomaly on this satellite at this date regarding this equipment" using rasa_nlu.
I have thought to ...
0
votes
4
answers
553
views
How to add a default text for unmatched intents on dialogflow?
If an intent fails, how can I assign it to a default text response?
Bot: what are you looking for?
Me: HakunakjewbfeuqcjBWGFUWG
Bot will not understand this and throws an error right there! I want ...
-2
votes
1
answer
324
views
How to train Wit.ai for languages other then english?
How do u input different languages on Wit.ai.
I have tried writing the other languages in english and training.
But I want to train it on the languages own script.
13
votes
2
answers
40k
views
How to send Bearer authorization token using Spring Boot and @FeignClient
I am using Spring Boot to write an application that interacts with HTTP rest servers. One of the servers I'm connecting to (Wit.ai) uses a beaerer authorization token. A curl request that yields a ...
0
votes
1
answer
213
views
Complex Statements Intent Classification
Consider following sentences:
1) I want to watch movies watched by Srikanth but not by tarun
2) I want to watch movies of Christoper Nolan but not having Christian Bayle
3) I want watch movies watched ...
1
vote
1
answer
71
views
How to resolve "it" or "there" during dialog with WIT.AI bot
Consider the scenario:
User> Show me Seattle
AI> Sure, Seattle is on the map
User> Take me there
AI> Starting navigation to Seattle
In other words, does wit.ai allows "there" or "it" ...
0
votes
1
answer
77
views
How do I train wit.ai bot to recognize "take server down"?
I'm using wit.ai to create a chatbot to which I can ask to perform simple tasks. For example, I created an entity named action and created a keyword named "shutdown" under action. One of the synonym ...
0
votes
1
answer
775
views
How send voice to wit.ai from Telegram bot
I'm trying to use wit.ai to understand intent and entities in a voice command received from user in a Telegram bot.
def discover(bot, update, user_data):
voice = bot.getFile(update.message.voice....
0
votes
1
answer
318
views
Sending Chunked Audio to Wit.ai
I am attempting to use Wit.ai Speech recognition. I have successfully been able to send a wave file to the website for conversion to text but now I am trying to send it in chunks to reduce latency, ...
1
vote
1
answer
304
views
Why does the HTTP request not work? Wit.ai
I want wit.ai analysing my sentences. When I send the String "where is the door" wit.ai should answer with a JSON which includes that my sentence has the intent : navigation. But unfortunately the wit....
0
votes
2
answers
2k
views
how to send chunked audio data for speech recognition in wit.ai?
I have a large mp3 file(about 1.8GB), which I have to transcribe using wit.ai.
Since I am working with wav files a lot, i converted it to wav file.
But since wit.ai's speech api can't take more than ...
0
votes
2
answers
653
views
Accessing wit.ai json data in python
i am working with wit.ai when i request a query in wit i get a response in json format, i want to use the specific value of that responce.
my code
r = requests.get('https://api.wit.ai/...
2
votes
1
answer
184
views
How do I integrate wit.ai and hubot?
I want to integrate wit.ai with hubot. Besides that I have hubot running on a discourse forum server via an adapter. That is secondary.
I installed https://github.com/guillaumewuip/hubot-wit-helper,...
2
votes
1
answer
713
views
How to send request for Non-English voice recognition to wit.ai
When I run my code, wit.ai try to recognize English words of "myspeech.wav" but that is Persian voice, How should I change my code?
def RecognizeSpeech(AUDIO_FILENAME):
audio = open('myspeech.wav'...
1
vote
0
answers
75
views
Multilingual Entities Wit.AI (import app)
ImportApp #Multilingual
I want to make multilingual chatbot.Currently made a chatbot using the English language with 30+ entities.
Query: How you doing
Entity: E1
Want to check results for the Spanish ...
1
vote
1
answer
204
views
Concurrent limitations when querying wit.ai
anybody can tell me wit.ai query concurrency?Our website traffic will be more than 50,000 a day,I need to know how many concurrency a wit.ai app can handle,thanks
-1
votes
1
answer
1k
views
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 ...
0
votes
0
answers
403
views
Create a Wit.ai conversation flow
How can I create a flow with wit.ai, the documentation says to use the Stories tab, but don't show in my dashboard (and I trying to create a Portuguese bot)
Tks
0
votes
1
answer
996
views
Wit AI response for API requests
I'm using wit ai for a bot and I think it's amazing. However, I must provide the customer with screens in my web app to train and manage the app. And here I found a big problem (or maybe I'm just lost)...