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.
...
You can share your Dialog agent with your group members and TA by clicking the settings button, in the top-left corner of your dashboard screen, next to the name of your agent. Next, click on `Share' and add the email addresses to share the agent with, under 'INVITE NEW PEOPLE'. Click here to see how to connect a DialogFlow agent to your agent.
Dialogflow and Filter Group Information
Add Intents to the Dialogflow Agent
This can be done manually or by uploading a .json file that we provided.
Manually Adding Intents
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).
...
Also, make sure that the webhook switch is checked (see the figure below). Responses can be left untouched, as those are handled by the GOAL MARBEL agent.
...
Uploading Intents
On the Intent page, one should select the three vertical dots in the upper right-hand corner
...
and then select upload intent.
You choose the downloaded .json file from your directories, upload it and save the intent.
Add Entities to Dialogflow Agent
Entities can be made by clicking the '+' sign next to Entities' in the left-hand bar of the dashboard page or CREATE ENTITY at the top.
You can specify entity types (e.g.: recipes') and entities (e.g.: pasta aglio e olio').
Out of the kindness of our hearts, we When manually creating entities, be sure to use the synonym functionality to equate words to each other. This is important so the user can use different versions of the same word or different synonyms of the same word but we can encode our agent to understand it as the same concept.
For example:
...
On the right, we see the synonyms or other word versions of southern-American. In the database of recipes, we 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.
We shall provide CSV files for some of the entities so you do not have to manually add the plethora of entries. Make sure your naming is correct. This is done 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.
...