Test Virtual Agent with Google Dialogflow ES NLU in Virtual Agent Designer
Test topic discovery with Google Dialogflow and Virtual Agent in the Virtual Agent Designer interface.
Before you begin
Check the following:
Ensure that your Google Dialogflow agent (model) is published as a version with the most recent changes.
For more information, see Versions and environments in the Google Dialogflow documentation.
Ensure that at least one topic is mapped to an existing Google Dialogflow agent (model) and intent.
Role required: virtual_agent_admin or admin
Procedure
Navigate to All > Conversational Interfaces > Virtual Agent > Designer.
In the Topics page, click Test Active Topics.
Type an utterance that should trigger the Google Dialogflow intent that is mapped to the topic.
To test entity slot-filling, do the following:
On the Flow tab, add a Text user input node.
Select an entity for the NLU entity field.
Ensure that the entity you select is configured in your Google Dialogflow ES agent. When a matching utterance is entered in the Test this topic window, the topic should be triggered, and the entity should slot-fill automatically.
When the user's first utterance is "I like red," Virtual Agent matches the intent and responds with, "We have red as Input Color, is this correct?"
Parent Topic:Configure Google Dialogflow ES as the NLU provider for Virtual Agent
Previous topic:Activate the Google Dialogflow ES service and enable it in your instance
Next topic:Enhanced natural language handling of user inputs in NLU topic discovery