Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

FOR ALL: Dialogflow Agent Creation

To set up an agent on Dialogflow, first sign up here. You may use your VU-account for logging in.

  • Choose 'Create new agent'.

  • On the next screen, start by choosing a name for your agent

  • Then give the preferred language (English).

  • When finished setting up, click the 'Create' button.

  • You will now see the general dashboard for creating the agent, with options to create your first intents or entities.

...

Dialogflow and Filter Group Information

...

Adding Intents to the Dialogflow Agent

This can be done manually or by uploading a .json file that we provided.

...

  • To add an intent to the agent, when on the dashboard page of your Dialogflow Agent, click on the '+' sign next to Intents' in the left-hand bar.

  • You can give the intent a name (will be provided) on the top screen and add a couple of variants in which the intent may be worded under Training Phrases'(See below).

...

On the Intent page, one should select the three vertical dots in the upper right-hand corner

...

and then select upload intent‘upload intent’.

You choose the downloaded .json file from your directories, upload it and save the intent.

...

You can specify entity types (e.g.: 'recipes') and entities (e.g.: 'pasta aglio e olio').

When manually creating entities, be sure to use the synonym functionality to equate words to each other. This is important for the robustness of the agent, since different users will likely use different words to refer to the same entity.

...

On the right, we see the synonyms or other word versions of southern-Americanamerican. In the database of recipes, a recipe from South America is coded as ‘southern-american’, thus we need to make sure that other words with the same meaning can be compared to the database knowledge, which is why the standard name of the entity (the name on the left) is exactly the same. This way, any of the forms to the right that are mentioned by the user will be forwarded to the MARBEL agent as ‘southern-american’, and can be aligned with the database entry.

We shall provide CSV files for some of the entities, so you do not have to manually add the plethora of entities. This can be used in Dialogflow by going to the main page of entities and clicking on the three vertical dots next to the blue CREATE ENTITY button. Click ‘upload entity’ and choose the file you wish to upload.

...