wit icon indicating copy to clipboard operation
wit copied to clipboard

training entities is not working

Open eoquendo opened this issue 9 years ago • 7 comments

report a bug

problem:

  • created two new trait entities called "ecoexploratorio" and "eclipse_lunar"
  • added multiple expressions like - "ecoexploratorio" to entity:"ecoexploratorio"
  • when I test the app it does not recognize this entity

steps:

  • see expressions of entity "ecoexploratorio"
  • test the app with one of those expressions (e.g. when I use "https://api.wit.ai/message?v=20170515&q=ecoexploratorio&n=2" it does not even show the new entity in the list)

expected behavior:

  • it should match entities when trained

app-id --> 58972b13-3d69-4936-8cab-84586c659ee2

eoquendo avatar May 21 '17 12:05 eoquendo

The "Extract an entity that generally takes a value in a predefined list (open enum), but you are open to new values" functionalities from the doc, is not working anymore aswell, even when I train a lot my entity.

PaulRosset avatar May 21 '17 18:05 PaulRosset

@eoquendo Can you try again now and report back?

@PaulRosset What's your app id? Do you have an example that doesn't work?

Thanks

patapizza avatar May 22 '17 05:05 patapizza

My app Id : 5912346f-25be-4b50-adff-5b44e01de1a1

Expected result :

I want to have the same behavior of this : "Extract an entity that generally takes a value in a predefined list (open enum), but you are open to new values" like the doc.

What im doing :

I got a sentence like this :

  • "3 meaning of find"

This sentence is cut in 3 entitys,

  • The number with 'wit/number', (3) (optional)
  • The identificator , User defined, who is 'meaning of' (mandatory)
  • And finally the word entity, User defined, which is there 'find', but it will be always a new word, so Im open to a new values. (mandatory)

Even with a hard train, it didnt pay off :)

Problem :

The number and identificator aren't a problem, they are always found. The problem come from the word entitys, which is never recognized, if its a new value.

Thanks, :)

PaulRosset avatar May 22 '17 17:05 PaulRosset

It looks like you've validated 8 expressions having word. Can you try training more and see if it helps?

patapizza avatar May 22 '17 18:05 patapizza

I validated now 20 expressions. I got an entity named 'account', this one work perfectly with the behavior of new value.

PaulRosset avatar May 22 '17 19:05 PaulRosset

@patapizza it is working now. Was this a bug from the wit side or was it something I could prevent next time? THANKS!

eoquendo avatar May 22 '17 22:05 eoquendo

@eoquendo Great! We had an issue in our backend.

@PaulRosset Closing this one, feel free to open a new issue.

patapizza avatar May 23 '17 00:05 patapizza