wit-ai / wit

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

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

Closed sagarmali3489 closed 6 years ago

sagarmali3489 commented 6 years ago

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

vietanhtran16 commented 6 years ago

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

patapizza commented 6 years ago

Thanks for reporting, we're investigating this.

vietanhtran16 commented 6 years ago

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 notifications@github.com 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 .

herrspiess commented 6 years ago

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.

ensargunesdogdu commented 6 years ago

Hey Everybody,

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

patapizza commented 6 years ago

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

91ns commented 6 years ago

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

nirmaljosep commented 6 years ago

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

l5t commented 6 years ago

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

sagarmali3489 commented 6 years ago

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.

blandinw commented 6 years ago

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.

herrspiess commented 6 years ago

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

blandinw commented 6 years ago

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

herrspiess commented 6 years ago

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.

blandinw commented 6 years ago

duplicates #1021

tadas-subonis commented 6 years ago

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

stopachka commented 6 years ago

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.

tadas-subonis commented 6 years ago

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 < notifications@github.com> 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

patapizza commented 6 years ago

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.

tadas-subonis commented 6 years ago

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