wit icon indicating copy to clipboard operation
wit copied to clipboard

Training added by POST /samples are ignored

Open shabinGravitum opened this issue 8 years ago • 6 comments

Do you want to request a feature, report a bug, or ask a question about wit? bug

What is the current behavior? Training added by POST /samples api not being saved, not returned by GET /samples

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Step 1 : Try to train the app with POST /samples Eg body : [{ "text": "Show me all dealers", "entities": [ { "entity": "documents_en", "value": "Dealer Main - En" } ] }] Wit responds with 200OK Response body : { "sent": true, "n": 1 }

Step 2 : Try to retrieve the trainings GET /samples?v=20170307&entity_ids=documents_en&entity_values=Dealer Main - En&limit=100

The returned array does not contain the string send in the previous step

What is the expected behavior? The returned array should contain the newly trained string

What is the App ID where you are experiencing this issue (if applicable)? 5af953ef-1dd6-4bcc-9817-e85776726fc3

shabinGravitum avatar Aug 09 '18 15:08 shabinGravitum

I have been experiencing the same since past 3/4 days.

dibyendu avatar Aug 10 '18 10:08 dibyendu

Hey all, this should be cleared now. If you are still experiencing this, comment with your app-id

stopachka avatar Aug 13 '18 22:08 stopachka

Experiencing the same problem above, have tried a few times with a completely fresh app too.

App ID: 2014989421866256

TobyColeman avatar Aug 16 '18 12:08 TobyColeman

+1

App ID: 1883173705093393

lpiacquadio avatar Aug 16 '18 19:08 lpiacquadio

+1 App ID: 1836820343077021

Ramios95 avatar Aug 16 '18 19:08 Ramios95

Our systems were overloaded by some apps that posted way too many samples-- the samples will slowly get trained, sorry for the inconvenience.

jtliao avatar Aug 16 '18 22:08 jtliao