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:
- load user entities
- set "entitiesloaded" context.
- re-issue original query (which passed fallback extent). time work.
Comments
Post a Comment