You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please help with duckling part which seems to work unproperly:
parseHandler :: HashMap Text TimeZoneSeries -> Snap ()
parseHandler tzs = do
modifyResponse $ setHeader "Content-Type" "application/json"
t <- getPostParam "text"
l <- getPostParam "lang"
ds <- getPostParam "dims"
tz <- getPostParam "tz"
loc <- getPostParam "locale"
ref <- getPostParam "reftime"
Because extending curl (from the example) curl -XPOST http://0.0.0.0:8000/parse --data 'locale=en_GB&text=tomorrow at eight'
with dim, dims, dim_filter, dim-filter etc. seems to have no effect.
Could you please enrich example curl command and if need be fix POST parsing, so that reference_time and dim_filter parameters would work?
When using old duckling model (python wrapper over jvm) it was possible to specify them without any issues, so it seems to be example server issue
The text was updated successfully, but these errors were encountered:
Could you please help with duckling part which seems to work unproperly:
Because extending curl (from the example)
curl -XPOST http://0.0.0.0:8000/parse --data 'locale=en_GB&text=tomorrow at eight'
with dim, dims, dim_filter, dim-filter etc. seems to have no effect.
Could you please enrich example curl command and if need be fix POST parsing, so that reference_time and dim_filter parameters would work?
When using old duckling model (python wrapper over jvm) it was possible to specify them without any issues, so it seems to be example server issue
The text was updated successfully, but these errors were encountered: