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

Delete Entity Value Using wit.ai API

I can't seem to get this request to work: https://wit.ai/docs/http/20160526#delete--entities-:entity-id-values-link I have setup a "movie" entity with a value of "Chappie", and tried this request (using my bot's token): $ curl -XDELETE…
Numbr
  • 35
  • 4
3
votes
1 answer

entities-only intents in NLP engines (LUIS/Wit/others)?

Say I need to build a simple order status bot. I wonder whats the best way to form the intents: I could have 2 intents like this a. "Hi, I'd like to know the status of my order", "where's my order" etc. - intent QuerySTatus b. "Joe Levi,…
Lior
  • 40,466
  • 12
  • 38
  • 40
3
votes
2 answers

Node.js client for wit.ai calls multiple custom actions

I'm trying to write an example app in wit.ai. I followed the quickstart app using node.js client that is shown at https://wit.ai/docs/quickstart. The example shown there has only one custom action. But when I try to add a new story and a new action,…
user3344591
  • 567
  • 5
  • 21
3
votes
2 answers

Raspberry Python wit.ai use

I have installed the wip on my raspberry, but when I want to use it I get this error [wit] initialized sox: 14.4.0 [wit] init state machine [wit] initialized with device: default [wit] ready. state=idle formats: can't open input …
3
votes
1 answer

Method not implemented in protocol (using wit.ai SDK)

I'm using the wit.ai iOS SDK for the first time and I followed step by step what is written in the getting started page in official website https://wit.ai/docs/ios/3.1.1/quickstart. I got this error: Method 'witDidGraspIntent:entities:body:error:'…
laribiwalid
  • 148
  • 9
2
votes
1 answer

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: Error: (#100) Param message[text] must be a UTF-8…
2
votes
0 answers

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 post( String path, File file, ) async { final client = http.Client(); try { final uri =…
Mohit Singh
  • 323
  • 4
  • 13
2
votes
1 answer

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. In Dialogflow it's possible to create 1 bot and…
Mathias Schrooten
  • 722
  • 2
  • 11
  • 20
2
votes
0 answers

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 - number - with roles number of people, number…
Melania
  • 21
  • 2
2
votes
1 answer

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, installed the npm package, but I get this error…
2
votes
1 answer

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','r') headers = {'authorization': 'Bearer ' +…
Monako
  • 51
  • 4
2
votes
1 answer

Wit.ai POST /speech wth HTTP requests

I try to record my voice and send it to /speech method on Wit.ai. So, from my browser, I collect a blob like this and want to execute an $.ajax() request : recorder && recorder.exportWAV(function (blob) { callback(blob); …
Pablo DelaNoche
  • 677
  • 1
  • 9
  • 28
2
votes
0 answers

Successful hotword detection; but later that processing audio gets a error

#Global Declarations CHUNK_SIZE = 1024 MIN_VOLUME = 500 BUF_MAX_SIZE = 1024 * 10 RECORD_TIME_SECONDS = 7 def wakeword(): agent = snowboydecoder.HotwordDetector("res/bella.pmdl", sensitivity=0.5) …
2
votes
1 answer

How to add a list of keywords to an wit.ai entity?

I'm new to wit.ai. I'm building a bot that does voice input for an order processing pipeline. In one field i need to input the client location. And this client_location entity has a keyword search strategy attached to it. Now i want to add all…
AIon
  • 12,521
  • 10
  • 47
  • 73
2
votes
1 answer

Haskell:lexical error in string/character literal at character 'd'

ruleYear :: Rule ruleYear = Rule { name = "year" , pattern=[regex "[12]\d{3})|(([\.\/\-\'])[901]\d)"] --pattern = [Predicate $ isIntegerBetween 1000 2100] , prod = \tokens -> case tokens of (token:_) -> do n <- getIntValue token tt…
ChiralCarbon
  • 347
  • 2
  • 11
1 2
3
21 22