What makes a story triggered in Wit.ai? -
i try understand logic behind weather bot in wit.ai quick-start.the story build trait intent (supposed "what weather ?") , entity declared weather wondered. so, think story triggered when weather asked , location given.
this not case since illustration of jump / bookmarks below first step deals unset location.
hence question : how wit.ai decide story trigger ?
actually, there no difference between :
what weather in barcelona ?
, what weather ?
from decision regarding next action choose wit engine standpoint. previous contexts , current context (and contained key) matters task. quick-start puts it:
only trait entities have value influence prediction. non-trait entities, value ignored regards action prediction.
my advice on create flushcontext
action returns empty context , trigger everytime give story comes end.
Comments
Post a Comment