wit icon indicating copy to clipboard operation
wit copied to clipboard

Could not validate this expression

Open zuni10 opened this issue 9 years ago • 8 comments

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

What is the current behavior? Sometimes, the wit motor tells me that i can't validate the expression.

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

What is the expected behavior? To enter the right intention and to make the phrase work in the wit response

What is the App ID where you are experiencing this issue (if applicable)? 571e37ac-7178-43bc-bb5f-0b4ca801722e

screen shot 2017-04-20 at 00 15 26

zuni10 avatar Apr 20 '17 16:04 zuni10

Hey @zuni10 -- We had some transitive infrastructure issues last week. When did it happen? This should fix soon, as we migrate the infra to Facebook.

stopachka avatar Apr 23 '17 19:04 stopachka

Hi, same problem here since 1 hour. When I enter sentences that I had already trained, I get now the error "Could not validate this expression". Last week I had no problems.

katapp avatar Apr 24 '17 12:04 katapp

The same here , I had no problem last week but today I'm having these issues

AhmedMashour avatar Apr 24 '17 12:04 AhmedMashour

Today, and last week also.

zuni10 avatar Apr 25 '17 21:04 zuni10

Having same issue toady. I can't train it to understand an expression. 'find point of interest in japan'

The expected output.

find = intent
point of interest = search query
japan = location 

It ignores [point of interest] even after I train it over and over. its refuses to validate it. It outputs.

find = intent
japan = location 

leokamwathi avatar May 02 '17 20:05 leokamwathi

@leokamwathi It sounds like a bug, we'd be happy to fix it if you can provide us with the id of a broken app (in Settings)

blandinw avatar May 02 '17 22:05 blandinw

@blandinw the app id is 590077b4-2c51-494b-b14f-3215f9e016c6

leokamwathi avatar May 02 '17 23:05 leokamwathi

@leokamwathi I looked at your app and it is working as expected.

wit/local_search_query is a community-wide entity. If it doesn't fit your need, then don't use it. As of now, you won't be able to train it to make it do what you want. We're working on a better solution to allow you to reuse and personalize community entities like wit/local_search_query.

I recommend creating your own entity, which you'll be able to train and personalize more easily. Closing this issue. Please reopen another issue if the original problem resurfaces. From our own testing, everything's working fine.

blandinw avatar May 04 '17 23:05 blandinw