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
0 answers

How to stop Wit.ai from classifying 4 digit numbers as datetime entities?

In my wit.ai application, I sometimes have 4 digits numbers that are used in a way like citations: 1029 B 4930, and I need to label them as such. Instead wit.ai labels them as "datetime" and I can see why. I also do need recognition of real…
1
vote
2 answers

Calling action function wit api in python

I want to get the stock price of any item. I have a function getPrice which returns the price of the item. I am trying to use wit ai. This is what I have tried. from wit import Wit def getPrice(request): #statements return price def…
Hunterr
  • 553
  • 1
  • 8
  • 28
1
vote
1 answer

Wit.ai Clear or Reset context

How can I reset or clear the context at the end of my story or when the user wants to restart the process ? I already have a reset function of my own ... Not very effective ! Can you please explain me what I have to do ? Thank you very much …
Pablo DelaNoche
  • 677
  • 1
  • 9
  • 28
1
vote
1 answer

Wit.ai get bot's response

I am new to Wit.ai. I have created a story in wit.ai(hows weather in country_name?). I am using the HTTP API of wit.ai for getting the response details. I am able to get the response(http request is: https://api.wit.ai/message?q=Hows the weather in…
Rohan Kangale
  • 931
  • 4
  • 11
  • 29
1
vote
3 answers

Wit.ai How to Get an whole sentence in an entity

I would like to store an entire sentence an user said and store it. This his how I did but I can't get the sentence from A to Z an an whole entity, just few parts knows as "number", "location", .... merge(request) { return new…
Pablo DelaNoche
  • 677
  • 1
  • 9
  • 28
1
vote
0 answers

Wit.ai not recognizing the same sentence from different voices

I'm using speech-to-text API from wit.ai. I have setup my stories and intents successfully and tested with my voice. However, when I ask my friend to test the app, the API doesn't correctly catch the same sentences although we're both saying the…
1
vote
1 answer

how to make 'i dont understant' story in wit.ai

I have few stories but if I try type something like blah, wit.ai use hello story. But I need something like *wildcard story with reply I don't understant. Easy with witbot and intences, but I don't know how to make in node-wit and stories.
AHOYAHOY
  • 1,856
  • 4
  • 24
  • 34
1
vote
1 answer

How to stream .aac url to wit.ai speech api

I am trying to get a facebook messenger audioclip url and forward the audio clip at that url to the wit.ai speech api. The incoming message provides a payload url which when downloaded has a .aac file. From the API docs here HTTP API - speech…
Martin O Leary
  • 633
  • 2
  • 10
  • 29
1
vote
1 answer

Wit.ai not executing function on detecting entity

I am trying to make a bot through wit.ai. It is detecting the entity, but it is not calling the function which should be executed on detecting that entity. For example, if you go to the link here on Witty Fiddle : …
Munahil
  • 2,381
  • 1
  • 14
  • 24
1
vote
0 answers

How can I call an Objective C method from a Swift 3 app?

I'm trying to use wit-ai SDK, written in Objective C in a Swift 3 app. The documentation in the GitHub repo explains how to use a particular Objective C method to send text string to Wit, but I'm not sure how to use that method in my app, and could…
Taylan Kar
  • 21
  • 2
1
vote
1 answer

wit.ai HTTP Post/entities API not show expressions in "Keyword" search strategy

I try to post Intent and entity via wit.ai HTTP API. My JSON format: {"entities"=>[{"id"=>"intent", "lookups"=>["trait"], "values"=> [{"value"=>"ask_info", "expressions"=>["How old are you ?"]}]}, {"id"=>"age", "values"=>[{"value"=>"old",…
沈揚祺
  • 13
  • 4
1
vote
0 answers

Does wit.ai prioritize what it ask me to validate? (e.g low confidence score results)

I am training wit.ai understanding, I use python script to make api call and feed wit.ai with sentences stored in a local file. There is more data (~thousands) than I can manually validate (hundreds). Does wit.ai prioritize what it ask me to…
Niebieski
  • 591
  • 1
  • 8
  • 16
1
vote
0 answers

HTTP request to post a wav file for WIT.ai API

WIT.ai HTTP tutoral has the following curl requset: $ curl -XPOST 'https://api.wit.ai/speech?v=20141022' \ -i -L \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: audio/wav" \ --data-binary "@sample.wav" I was trying to translate…
Sultan1991
  • 101
  • 6
1
vote
1 answer

Node.js Wit.ai integration

I am learning wit.ai and going through the tutorial (https://wit.ai/docs/quickstart). Everything else went well till step 6, where it asked me to clone the node.js client and install npm. Usually, I create a separate node.js project then npm intall…
codeinprogress
  • 3,193
  • 7
  • 43
  • 69
1
vote
0 answers

How to get the text used for entity extraction in wit.ai?

If the text is "What's the weather in chicago today?", wit.ai returns the following entities "entities": { "location": [ { "confidence": 0.9483763321862972, "type": "value", "value": "Chicago", "suggested": true } ], "datetime":…
sera
  • 111
  • 2
  • 10