Search code examples
dialogflow-esactions-on-google

DialogFlow Suggestion Chips - Web Browser not serving Suggestions


I've been Working with DialogFlow for about a week, so excuse my ignorance if I've overlooked something.

I have Intents and Contexts chaining and working very well so far. Though Suggestion Chips as of yet dont appear except in the simulator. Not in the Integrations demo of Web. I'm using actions in with fulfillment to add a suggestion though its just showing the first message and no Suggestions.

 function gender(agent) {

    agent.add("Are you Male or Female?");
    agent.add(new Suggestion(`Male`));
    agent.add(new Suggestion(`Female`));
    agent.add(new Suggestion(`Other`));
    agent.setContext({ name: 'get_gender', lifespan: 2});
  }

Any suggestions / help would be greatly appreciated.

Thanks, Kieran


Solution

  • If by Integration demo of Web, you mean the web demo integration in Dialogflow. Your suggestions are not showing up because they are a Google Assistant feature. The web demo only supports Dialogflow features. The suggestion chips will only work in the Google Assistant Console or on a Google Assistant device.