wit icon indicating copy to clipboard operation
wit copied to clipboard

Wit.AI API does not return correct intent even after validating couple of times.

Open sagarmali3489 opened this issue 8 years ago • 20 comments

I have created an app with WIT.AI where i have defined a trait / intent as "ViewPrepaidBalance" under which i have added expression and validated all the expression with entity intent mapped to ViewPrepaidBalance.

Current Behaviour: But when i hit the API / view the output on click of API preview it always return the "greeting" intent which i created very first when i created app. Same is happening with all the other intents and expression where its always returning the first intent created even all expressions are pointing to different intent.

Steps to reproduce:

  1. Create the App.
  2. Create first intent "greeting" and define couple of expressions. Validate all the expression.
  3. Create another intent "ViewPrepaidBalance" and define different expressions. Validate all the expressions.
  4. Either check the API preview for expressions defined under ViewPrepaidBalance OR Hit the API with expression of ViewPrepaidBalance, it always return entity intent as "greeting".

Expected behavior: Either check the API preview for expressions defined under ViewPrepaidBalance OR Hit the API with expression of ViewPrepaidBalance, it should return entity intent as "ViewPrepaidBalance".

image

sagarmali3489 avatar Mar 20 '18 05:03 sagarmali3489

I have similar issue as well. My app was working fine but I wanted to try something different so I export the data as a back up. After playing around, I delete the app and created a new one with the back up. Now wit does not recognise any intent

vietanhtran16 avatar Mar 20 '18 10:03 vietanhtran16

Thanks for reporting, we're investigating this.

patapizza avatar Mar 20 '18 16:03 patapizza

Hey,

Dont worry about it. It is working now. I think it just took a while to re learn all the intents. I thought it finished because the learning status at the top turned green but actually it was learning in the background.

Thanks, Viet Anh Tran

On Wed, Mar 21, 2018 at 5:07 AM Julien Odent [email protected] wrote:

Thanks for reporting, we're investigating this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wit-ai/wit/issues/1010#issuecomment-374655633, or mute the thread https://github.com/notifications/unsubscribe-auth/AWSh_JkT90D7axjrSwSav_9ZyGM3ULJFks5tgSkrgaJpZM4SxTw6 .

vietanhtran16 avatar Mar 21 '18 00:03 vietanhtran16

Hey everybody, for me it isn't working again. I am not able to add any new expressions / training examples to an intent. I have trained one particular expression about 6 oder 7 times today, the training status even changed to training, but with no effect: The expression is still not being recognized.

herrspiess avatar Mar 21 '18 09:03 herrspiess

Hey Everybody,

How much time does it take train whole data? Do you have any idea?

ensargunesdogdu avatar Mar 21 '18 12:03 ensargunesdogdu

We're still on this. In the meantime try validating more examples to kick start a new training.

patapizza avatar Mar 22 '18 17:03 patapizza

Hello everyone, We are having the same issue as well, the training doesn't take affect most of the time.

91ns avatar Mar 23 '18 10:03 91ns

same issue here, my app id 5aba14c0-f06e-4346-8fcb-4bff155823da

nirmaljosep avatar Mar 28 '18 13:03 nirmaljosep

https://github.com/wit-ai/wit/issues/1021#issuecomment-376880686

l5t avatar Mar 28 '18 15:03 l5t

Few observation:

All the training data created gets updated and worked on next day, almost after 20+ hours. I have observed it with 3 app i created with WitAI.

sagarmali3489 avatar Mar 29 '18 07:03 sagarmali3489

This is due to delay in processing the training data. We are aware of the issue and are working to prevent that from happening again.

blandinw avatar Mar 29 '18 17:03 blandinw

Why is this issue closed? It's still not fixed yet. We can't train new examples here for about two weeks now.

herrspiess avatar Mar 30 '18 11:03 herrspiess

@herrspiess can you provide a repro? or specific time windows where the issue happens? A script with API calls would be ideal.

blandinw avatar Apr 01 '18 22:04 blandinw

The project is https://wit.ai/mj0bst/ts_bot_dev_1

We‘re having the issue for almost two weeks now, consistently. Unfortunately I can‘t provide a script, but the issue can be experienced right within wit.ai. I am training an expression for a certain intent repeatedly, but with no effect: The intent is not being recognized, even days after the training.

herrspiess avatar Apr 02 '18 10:04 herrspiess

duplicates #1021

blandinw avatar Apr 02 '18 16:04 blandinw

I can confirm the same - whenever I pick trait type for intent it stops working or works in a semi-broken manner.

tadas-subonis avatar Jun 05 '18 21:06 tadas-subonis

Hey @tadas-subonis, this could happen for multiple reasons.

The best thing would be to make an issue, with your app-id and an example sentence you want parsed, which is failing to parse. There you can go deep on what kind of errors you are experiencing, and we ca n take a look at your app.

stopachka avatar Jun 11 '18 17:06 stopachka

For example, there is a sentence "kur yra toletas" (which means "where is a toilet" in Lithuanian), and there is such example in the intent example list but it fails to detect the intent (doesn't show intent field at all) when I test it in "Test how your app understands a sentence".

The app ID is "5a9e9c04-8d4c-4584-beeb-8d36e9623416"

On Mon, Jun 11, 2018 at 7:28 PM Stepan Parunashvili < [email protected]> wrote:

Hey @tadas-subonis https://github.com/tadas-subonis, this could happen for multiple reasons.

The best thing would be to make an issue, with your app-id and an example sentence you want parsed, which is failing to parse. There you can go deep on what kind of errors you are experiencing, and we ca n take a look at your app.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wit-ai/wit/issues/1010#issuecomment-396321434, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFsrkClp92LI5hUhcTzioxCDDC1yQXks5t7qjNgaJpZM4SxTw6 .

--

Kind Regards, Tadas Šubonis

tadas-subonis avatar Jun 12 '18 16:06 tadas-subonis

Hi @tadas-subonis,

I fixed your app:

screen shot 2018-06-15 at 5 17 25 pm

You had many samples validated of the form "kur yra..." "Kur yra..." or "kur rasti...", "kur man rasti..." without the intent entity, which confused the model.

patapizza avatar Jun 16 '18 00:06 patapizza

Thanks. I was under impression that I deleted all the old entities, and I've started from scratch. I must have missed something.

tadas-subonis avatar Jun 18 '18 16:06 tadas-subonis