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

wit.ai - can't delete duplicate responses

I've started using wit.ai and they say to come here to ask any questions about issues. I've ended up with 4 duplicate responses after trying different things. These responses are now conflicting with each other and I can't delete them. Editing them…
capwynd
  • 1
  • 2
0
votes
1 answer

wit.ai message api call from java

I am making call to wit.ai message API from java. It works and i can get the intent and entities for the message as per my story definition. However I have doubt - when i will be adding multiple stories to my bot on wit.ai platform, i need to use…
picku
  • 157
  • 3
  • 9
0
votes
1 answer

How can a get the position of an entity from a HTTP GET /message request in Wit.Ai

The Wit.Ai HTTP API Documentation provides a response example for a POST /converse request which returns the "start" and "end" position of an entity, as seen below: { "type": "merge", "entities": {"location": [{"body": "Brussels", …
Pargles
  • 97
  • 2
  • 6
0
votes
2 answers

How to get the original entity value from Wit.Ai?

I was wondering if there is a way to also return the original value of an entity from Wit.Ai. For instance, my entity "states" correctly maps the misspelled and lower case word massachusets to Massachusetts. But it does not return the original…
Pargles
  • 97
  • 2
  • 6
0
votes
1 answer

Why wit.ai bot jumps in the middle of the conversation flow?

I am experimenting with a flow-based conversation with wit.ai. I took the example from https://wit.ai/l5t/FlowBased_Example and noticed a strange thing. If you start the bot right from the page above and say immediately "no", the bot calls the…
MrTJ
  • 13,064
  • 4
  • 41
  • 63
0
votes
1 answer

Wit.ai doesn't understand entities but on_off instead?

I have defined an entity "team" with value "FC Barcelona" and the alias "Barcelona". The language of the app is set to German. Any idea why "Barcelona" is recognized as a wit/on_off entity? Actually for every sentence (doesn't matter what) I enter,…
Klemens Zleptnig
  • 1,698
  • 20
  • 36
0
votes
1 answer

When should we define a new intent vs add a new intent in wit.ai story?

I am experimenting with creating chatbots using wi.ai and I had following questions regarding usage of "intent" in a wit.ai story. When do I .. create a new intent? use a existing intent but give it new values ? create a new story ? I feel this…
user1524625
  • 271
  • 1
  • 7
  • 19
0
votes
1 answer

wit.ai Ruby Gem, repeated calls, call doesn't end

I'm using a Ruby Gem for wit.ai, and have created an API in ROR that queries the wit.ai client. But unexpectedly the method in the API keeps on calling the client method repeatedly, even after getting the response. Because of which the API method…
red-devil
  • 1,064
  • 1
  • 20
  • 34
0
votes
1 answer

Deleted actions appear again after export/import from Wit.ai

When I export and import an app on Wit.ai, all the actions (responses) that I deleted before re-appear (and are marked as not unused). Is this intended? It's not what I would expect. Thanks
Klemens Zleptnig
  • 1,698
  • 20
  • 36
0
votes
1 answer

How do I get Wit.ai to do math calculations on roles?

I am new to Wit.ai and I am wondering if the chat bot can do a calculation based off two wit/number:values and then relay the value back to the user. Thanks.
0
votes
1 answer

How to quit a wit.ai story which is looped back from the end?

I have three stories in my wit.ai app: - order_pizza: typical pizza ordering with size and toppings - reserve_table: book a table for a specific date and time - fav_topping: query favourite pizza topping from historical data by date The third one,…
qspi
  • 3
  • 2
0
votes
1 answer

Does anybody know how to deal with conflict when I create multiple stories in same Wit.ai app?

I created multiple stories in one app, but when I put these codes in Facebook messenger, it seems that it has conflict. For example, I created a 'question & answer' story and 'greetings' story in my app, but when I send something in Facebook…
0
votes
1 answer

Can you have the bot initiate a message?

I am new to wit.ai trying to wrap my head on how the story builder works. If I wanted to have the bot initiate a conversation instead of the user triggering the start flow by asking a question, is there a way to do that?
Mat Zero
  • 386
  • 3
  • 9
0
votes
1 answer

Print Wit.ai response in console [java]

hi all I'm trying to send a request to Wit to a simple wit application that i've created and I'm doing this in java. I'm trying to print the wit response into the console but the only thing that prints is the following line: class…
frankjust
  • 19
  • 9
0
votes
1 answer

wit.ai 'Only if..' not working

I am new in wit.ai. I'm confused with it. I have few questions: how works Actions: 'Only if..' and 'Always if...' simply I have 2 entities: 'Hi' and 'Botname',I have 2 stories: when say 'Hi' wit answers 'answer1', when say 'Botname', wit answers…