wit icon indicating copy to clipboard operation
wit copied to clipboard

Unexpected engine behavior

Open gorenbox opened this issue 8 years ago • 3 comments

Hi,

I created a small model called Navigate which basically supports one intent navigate with sentences like "take me to..." and "go to....". I defined 2 entities: place which has values like home, work and mall. coordinate is a composite entity representing cartesian coordinate (x,y) and can get values like x20 y30 , (20, 30) y20, x30...

I have been training the model, and the engine doesn't seem to be able to handle the composite entity coordinate. Sometimes it doesnt recognize the entity as a whole, but only 2 separate numbers, sometimes it associates coordinate just with the end bracket, or it recognizes coordinate but not the x, and y roles.

Attached is the export of the app Navigation (1).zip

App is is: 5a7f7ad4-b93f-435f-b2b7-96cf7789e001

I have attached some screenshots of examples that are not working: wit bugs

Best Dan

gorenbox avatar Feb 15 '18 18:02 gorenbox

Hi Dan,

It seems like the machine learning model is having a hard time figuring out the picking up coordinates as they don't have any alphabetical characters. Would a regex work for this case?

patapizza avatar Feb 16 '18 03:02 patapizza

How do I define a regex, is it supported with wit. Will this be fixed

On Feb 16, 2018 5:06 AM, "Julien Odent" [email protected] wrote:

Hi Dan,

It seems like the machine learning model is having a hard time figuring out the picking up coordinates as they don't have any alphabetical characters. Would a regex work for this case?

— 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/972#issuecomment-366132771, or mute the thread https://github.com/notifications/unsubscribe-auth/AYVBDRRA6XdEEpzzr-nQtngQkMCAS3w-ks5tVPC6gaJpZM4SHVAB .

gorenbox avatar Feb 16 '18 11:02 gorenbox

I meant on the client side.

patapizza avatar Feb 16 '18 15:02 patapizza