this tag shout be used when the user have any query related to Facebook's NLP engine WIT.AI
Questions tagged [wit-ai]
31 questions
0
votes
0 answers
Wit AI got 500 (internal server error) while using python API
I got 500 (internal server error) while using Wit AI python API. Is there a way to resolve this issue? My program was running fine yesterday and I did not change any line of the code. Or is it simply the server side error?
The problem screen…

Tim Lin
- 91
- 2
0
votes
1 answer
Parsing a JSON Stringified variable returns the value undefined?
The code below is the entirety of my discord.js message event, I am using discord.js as well as node-wit. When wit identifies a message including a math expression, it will evaluate the value and send it back to the user.
It sends back data using…

StoneColdCoder
- 21
- 3
0
votes
1 answer
HTTP error on esp32 while streaming audio to wit.ai
I have a problem which I believe is caused by my HTTP request's syntax.
I'm trying to stream audio to the wit.ai API to do a speech recognition and I'm getting the connection reset by peer and the 400 Bad request error.
Here is my code to start the…

Antonin GROS
- 31
- 1
0
votes
1 answer
Wit.ai Facebook Messenger Chatbot not receving or receivng messages lately using Python
I'm using the Python example provided here: https://github.com/wit-ai/pywit/blob/master/examples/messenger.py . I was receiving messages, however lately, a few days ago, but now it doesn't receive messages at all. However, when I try the Nodejs…

Faizan Ali
- 973
- 2
- 16
- 32
0
votes
1 answer
Wit.ai Python - Extract confidence level from API output
I am new to Wit.ai and have started to implement it in my code. I was pondering an easier way than hardcoding to extract all the confidence levels from a given wit.ai API output.
For example(API output):
{
"_text": "I believe I am a human",
…
user8396116
0
votes
1 answer
What is the best way to implement a reply logic for a Chatbot
im a noob at making chatbots, and Im having some difficulties understanding how to make the bot reply back to queries and intents dynamically. My chatbot depends on replying back meaningful messages, more than fulfilling a request. Im was working…

Yashank
- 743
- 2
- 7
- 23
0
votes
0 answers
400 bad request - Unity wwwform binary data with audio file
Hi guys this is a quick follow up question from a previous post regarding sending an audio file through to an online api in unity.
I think (although maybe wrong) my problem is the correct syntax on the form.AddBinaryData line.
The example curl code…

Diego
- 371
- 1
- 3
- 13
0
votes
0 answers
Passing GET reponse Body into Variable in Nodejs
I need to set response data to context.forecast. I tried by using GET method inside the if loop but context becomes undefined. Is there a way to define GET function outside and just call to get the value into data variable?
Note: the location…

Karthikeyan Prakash
- 117
- 15
0
votes
1 answer
How does wit-ai connect with python files in my computer?
I just started with Wit-ai and I'm trying to make the weather forecast bot in quickstart. In the quickstart, it mentions that the action of the bot (getForecast) should be a function defined in a python file (.py) in my computer. However, I'm not…

Xera Nautilus
- 1
- 1
0
votes
1 answer
Wit AI and asynchronous functions
I am following the Wit AI tutorial and I got to a point where I am stuck.
I am trying to extend the quick start weather tutorial to call an actual weather API and I am having no luck.
Here is my modified getForecast method. The original can be…

nab0310
- 1
- 1
0
votes
1 answer
Wit.ai bot understand wit/number as wit/location
What's wrong with Wit.ai ? My bot understand few numbers as location and it breaks my stories. You can see the picture below :
What can I Do for that ? Thank you.

Pablo DelaNoche
- 677
- 1
- 9
- 28
0
votes
1 answer
Wit.ai differences between Trait - Free Text - Keyword and Intent/entities
It's a mess in my head right now. I've seen this video tutorial to understand Wit.ai logic : https://www.youtube.com/watch?v=yLAHVPaHWFA
It's a really good video for basic training. But I can't still understand the logic.
I want to create a story…

Pablo DelaNoche
- 677
- 1
- 9
- 28
0
votes
1 answer
Node.js Wit.ai promise return function
My promise return undefined values. I'm not sure how I can perform this function correctly in my node.js page. Could you please help me with this in order to return all values AFTER geocoding in my context in good way! Thank you
merge_location({
…

Pablo DelaNoche
- 677
- 1
- 9
- 28
0
votes
0 answers
wit ai node messenger.js TypeError: Cannot read property 'Logger' of undefined
I am trying to use wit-node "messenger.js" but once i run it, its giving error logger not found.
https://github.com/asimkh/hellohazzir
Review my code
// Setting up our bot
const wit = new Wit({
accessToken: WIT_TOKEN,
actions,
logger: new…

Asim Khan
- 185
- 2
- 4
- 11
0
votes
1 answer
First application with wit ai
I am working on a chat application with wit-ai. I have created a hello world but I am not getting how to provide my function with have business logic to the application.
Help will be really appreciated. Thanks.

Karan Khanna
- 1,947
- 3
- 21
- 49