api.ai - Conversation Started Callback -


when start action:

ok google talk my assistant

it authenticates , runs welcome intent loads user entities can used subsequent questions api.ai

when try start action:

ok google ask my assistant some question

it authenticates, there no way me load users entities because not have sessionid conversation.

when api.ai tries evaluate some question can't because user entities have not been loaded.

it seems option slotfilling webhook ... not need (or complexity requires) if have option define users entities.

any way api.ai sessionid (which defined google actions) before making first request api.ai ? or other way webhook called contains sessionsid before api.ai tries evaluate some question ?

well found solution. placed input context named "entitiesloaded" of deep link questions. when issue:

ok google ask assistant question

it calls fallback intent. in fallback intent following:

  1. load user entities
  2. set "entitiesloaded" context.
  3. re-issue original query (which passed fallback extent). time work.

Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -