wit icon indicating copy to clipboard operation
wit copied to clipboard

can not train expressions through api

Open zhanpengli opened this issue 8 years ago • 12 comments

when i train expressions through api the response code show "200", but when i check in my app, it show nothing ,can u help me, thanks

zhanpengli avatar Mar 08 '18 05:03 zhanpengli

I'm having the same problem. I think is not working well right now....

DavidCampaneroGarcia avatar Mar 08 '18 10:03 DavidCampaneroGarcia

Can you try again? We had some training latency last night. If this still doesn't work please report your app id

l5t avatar Mar 08 '18 16:03 l5t

It works perfectly now. It seems it was the latency problems

DavidCampaneroGarcia avatar Mar 09 '18 08:03 DavidCampaneroGarcia

i need some help, i can't train my app through api again, thanks @l5t

zhanpengli avatar Apr 09 '18 06:04 zhanpengli

Hey @zhanpengli, could you provide your app-id, an example expression you trained you do not see?

stopachka avatar Apr 09 '18 18:04 stopachka

appid: 5abb2b6f-b592-41e3-a13b-a90626f03c83, "expression":"gdsdasdfgaddf", "entity":"other", "value":"other" @stopachka i can't delete the expression too,thanks

zhanpengli avatar Apr 10 '18 01:04 zhanpengli

appid: 5abb2b6f-b592-41e3-a13b-a90626f03c83 "expression":"where is my kuaidi", "entity":"logistics", "value":"where_check" The response to the API training is shown in the figure below: image Although the training showed success, it didn't sync up to my wit background.

zhanpengli avatar Apr 10 '18 01:04 zhanpengli

We are having the same issue on the following app since yesterday. 5acb6329-9a20-41d5-8cb4-e9ba604be9c2

s-nour avatar Apr 10 '18 05:04 s-nour

@zhanpengli: It seems like it's working now:

screen shot 2018-04-13 at 5 30 06 pm

@s-nour Can you share a couple of examples that don't work (and try to re-post them)? Thanks.

patapizza avatar Apr 14 '18 00:04 patapizza

yes, that's great, thanks

zhanpengli avatar Apr 14 '18 00:04 zhanpengli

It seems that this issue is happening again. Expressions posted via the API are not being persisted.

App ID: 2303780949737600

API endpoint: https://wit.ai/docs/http/20170307#post__entities__entity_id_values__value_id_expressions_link

anthonymfowler15 avatar Apr 23 '19 19:04 anthonymfowler15

@anthonymfowler15 can you give an example of how you're using the API/which entity you're adding to?

also, in general it's recommended to create a new issue for easier trackability

jtliao avatar Apr 23 '19 22:04 jtliao