wit icon indicating copy to clipboard operation
wit copied to clipboard

Yes/No Story giving conflict on Story Save.

Open StillOnMyWay opened this issue 10 years ago • 19 comments

Hey guys, so far, liking the update. I was following it from last night when it was posted.

I'm attempting all of the major recipes which have changed, but the new structure of Yes No stories, using branches is consistently giving me a conflict, stating that I'd need to have the same response in my no, as in my yes. Posting 2 images below. image

image

StillOnMyWay avatar Jun 29 '16 14:06 StillOnMyWay

Your yes_no entity should be of type "trait", is this the case?

francisforever avatar Jun 29 '16 15:06 francisforever

Perfect. Thank you so much, it was of types trait and keywords before.

StillOnMyWay avatar Jun 29 '16 15:06 StillOnMyWay

We should update the docs. The reason is that for non-trait entities, the value is ignored with regards to action prediction. Only trait entities (like typically intent) have their value influence the prediction.

ar7hur avatar Jun 29 '16 15:06 ar7hur

What about the export Bot feature? I'm not seeing it within the settings menu.

StillOnMyWay avatar Jun 29 '16 16:06 StillOnMyWay

Glitch on our side, it is only available to certain users... Will open it later today.

l5t avatar Jun 29 '16 17:06 l5t

You should be able to access it now. Hard refresh your browser if needed

l5t avatar Jun 29 '16 20:06 l5t

Hi. I'm still seeing the same error above. I created a yes_no intent of type 'trait'. When I create two branches within a story based on Yes/No values, I cannot successfully save the story due to the error 'Conflicts with [name of the other response]'. The docs say I can do this, and yet I can't seem to be able to do it. Any ideas?

yoniholmes avatar Jul 19 '16 14:07 yoniholmes

Update: I was able to get this to work. As I was developing, without being aware of it I had been accumulating Actions. Those actions don't disappear if you delete them from the story. I had to go to the Actions tab and manually remove all the old actions that I never wanted. Once they were removed, I was able to rebuild my story, and was able to save it successfully using the yes_no entity.

yoniholmes avatar Jul 19 '16 15:07 yoniholmes

Thanks for reporting.

l5t avatar Jul 19 '16 15:07 l5t

Hi. I'm still seeing the same error above. I have deleted the old actions

athirauk avatar Jul 26 '16 08:07 athirauk

@athirauk probably not of much help, but using the live chat tool under 'Help', some of the devs at Wit.ai (I think it was @l5t?) told me that they were having problems (this happened at least twice), where no matter what changes I made I was getting errors. Specifically, I wasn't able to save a story, and it wasn't to do with any conflicting actions.

They weren't explicit about what went wrong but they did tell me 'try again it should be working now' which seemed to say there were problems with some of their services.

I'm working in the UK, so not sure whether that's a bad time? I found the system to be too intermittent to be productive so I've stopped work on this for the time being. I do quite like wit.ai, I just hope the error messaging & stability can be improved and soon. Good luck with it though!

yoniholmes avatar Jul 26 '16 13:07 yoniholmes

Dear wit.ai developper, Having the same problem when trying to pass quick replies. Always the same annoying message: conflicts with "...". Deleting actions, refreshing browser, changing to traits, writing final action, restarting all the story multiple times. Nothing works. :(

Could you help me on this? Thanks

https://wit.ai/ljmyz/MedBot/stories/0d2e966d-0dee-410d-8980-a01f5f05dd5f

ljmyz avatar Feb 13 '17 13:02 ljmyz

Your bot story is locked, you'll have to make it public for me to see. Also if you don't feel comfortable doing that you can try screenshotting it.

On Feb 13, 2017 8:46 AM, "ljmyz" [email protected] wrote:

Dear wit.ai developper, Having the same problem when trying to pass quick replies. Always the same annoying message: conflicts with "...". Deleting actions, refreshing browser, changing to traits, writing final action, restarting all the story multiple times. Nothing works. :(

Can you help me on this?

https://wit.ai/ljmyz/MedBot/stories/0d2e966d-0dee-410d-8980-a01f5f05dd5f

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

StillOnMyWay avatar Feb 13 '17 14:02 StillOnMyWay

Your yes_no should be a trait entity not at keyword one. https://wit.ai/docs/recipes#handle-yesno-answers

l5t avatar Feb 14 '17 18:02 l5t

Thank you!!! The don’t highlight the “yes” is really important. Sorry I missed that point. Your doc is a little to interactive for me... :) Anyway, it is working perfectly now. Thanks again.

ljmyz avatar Feb 15 '17 07:02 ljmyz

... sorry to bother you again, but... What if your quick replies are: 'toto' and 'tito'? The training with those almost identical trait words is not working. Is it really impossible to have bot responses based on keywords? Sure, it can be done with a js function but is a bit annoying.

ljmyz avatar Feb 15 '17 15:02 ljmyz

I am having trouble with branching thing..it gives "conflict with..." error message again and again. please help me out https://wit.ai/priyanshipandey/schemes_final/stories

priyanshi555 avatar Jul 19 '17 10:07 priyanshi555

Finally I did it with a js function... Only way I found to avoid conflicts with similar "trait" words.

ljmyz avatar Jul 24 '17 06:07 ljmyz

Yes, we recommend writing client-side code when you need more flexible and custom logic than the UI tool can provide.

blandinw avatar Jul 24 '17 21:07 blandinw