[Bug] Intent classification not working
Do you want to request a feature, report a bug, or ask a question about wit? Bug What is the current behavior? Intent classification (entity of 'trait' type) is not returning any result no matter what sentence I put in, even if it's an exact match. This starts happening 1 day ago
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Just train the intent with lots of data and try https://wit.ai/aongwachi1/inter06-th/entities this is one of the example
What is the expected behavior? It should return matching value
What is the App ID where you are experiencing this issue (if applicable)? many of them, including 5a7c8363-d226-4a58-8226-39c9d6bc9a92
Thanks for reporting, I'll get a look.
@touchaponk What are the other apps having issues? Was kbchatbot-en working before?
Anybody else experiencing this?
@patapizza many of them actually, here's another one 5a7c8363-d226-4a58-8226-39c9d6bc9a92 from what I notice if I train using the console UI it works fine, however once I use API to train the intent all at once it breaks
@touchaponk To be clear, what do you mean by "using the API to train the intent"? Do you mean providing new samples to POST /samples?
@patapizza I'm using PUT https://api.wit.ai/entities/$ENTITY_ID API to update the expressions
Hi @patapizza, am experiencing the same issue. Im using PUT https://api.wit.ai/entities/$ENTITY_ID to update the expressions. The new expressions can be seen on the wit.ai console, but inputting the exact expression never goes to the correct intent.
Old intents removed through this API also are removed on the wit.ai console, but when downloading all data as a zip, I can still see these expressions in the expressions.json file.
@patapizza , [Wit api is returning 0 entities for trained expressions #964](Wit api is returning 0 entities for trained expressions #964) , am experiencing same issue.
@touchaponk For which entity did you do that? And which expressions?
@josephlingzb Same questions, and what is your app id?
@ckatta Addressing your issue in #964.
for @josephlingzb it happens with all his apps, one example here: 59f6f0e3-2844-40d6-b9ee-599712584c67
@patapizza I only have 1 entity inside the bot called "Intent" (trait)... and it happens to all expression, cant seem to detect anything
Just to add on, if I then go to the wit.ai console and add a new intent through the console, things start working again.
I'm guessing if theres a way where we can reset the bot and retrain we could use that as a temp fix for now.
@josephlingzb Thanks for the additional information.
This is related to https://github.com/wit-ai/wit/issues/950. I'm working on it.
I am having similar issues for this bot: 5a849ba6-e48d-451b-ba91-2ee76a18f16a. It is returning nothing, no matter what I type. It started to happen from a few days ago.
@recime-platform It seems like it's working:

@josephlingzb Trying one of your apps seems working as well:

@touchaponk It seems like your apps still experience issues. Can you try refixing it through the console? PUT https://api.wit.ai/entities/$ENTITY_ID has been fixed.
Working now
@patapizza still experiencing the problem on 5a7bee9d-0140-4d21-9db6-6224e3afc5fb
Hi @patapizza,
The old intents are working. The problem arises when we use the PUT https://api.wit.ai/entities/$ENTITY_ID to add to update any intents. The new intents or even added expressions on old intents do not work until we use the wit.ai console to add a new intent and allow the model to retrain.
I just tested again, the problem still exists. To reproduce the problem, use the API to update the entity with a new intent. Then try to test and see if the expression can activate that intent.
Got it, still working on it.
Update: This should be fixed tomorrow.
A fix has been deployed. Can you guys try doing a PUT /entities/intent request, wait a few minutes and confirm things are going as expected?
Thank you for your patience.