wit-ai / wit

Natural Language Interface for apps and devices
https://wit.ai/
942 stars 91 forks source link

My app is not functioning #2719

Open AhmadElsaeedd opened 7 months ago

AhmadElsaeedd commented 7 months ago

Do you want to request a feature, report a bug, or ask a question about wit? bug What is the current behavior? I am doing HTTP requests using an utterance to figure what the intents would be, but it is not returning any intent although the app has finished training. If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I trained my app using utterances like "yes I want to buy", "yes", "yes I confirm" that give the intent wit/confirmation. However, when I create an HTTP request like this: curl \ -H "Authorization: Bearer VXKCGG6FM52I2EOOD6CQK22X532RYYOJ" \ "https://api.wit.ai/message?v=20240215&q=yes%20i%20want%20to%20buy" This is the response: { "entities": {}, "intents": [], "text": "yes i want to buy", "traits": {} }

Essentially, I don't get any returned values from the request. What is the expected behavior? To return the intent that I've inputted on the understanding page of Wit.ai. If applicable, what is the App ID where you are experiencing this issue? If you do not provide this, we cannot help. 1583256289130793