Professional Documents
Culture Documents
KEY CONCEPTS
Introduction (/docs/k
Agents Overview
Agents (/docs/co
(/docs/co
Google Project
Machine Learning (/d Agent Settings
Entities (/docs/conc General
Intents (/docs/conce ML Settings
Match Mode
Actions and Paramet
ML ClassiScation Threshold
Rich Messages (/doc
Export and Import
Response design for Export
Contexts (/docs/con Restore
Events (/docs/conce Import
Export and import to integrate with some known apps
Dialogs (/docs/dialo
Alexa
Training (/docs/traini
Cortana
Machine Learning Se Share
Prebuilt Agents (/doc
Analytics (/docs/anal
Agents Overview
API REFERENCE
DOMAINS (DEPRECATED)
GUIDELINES
VIDEOS
(https://Sles.readme.io/OwOSbicR5m1LIKRGZI9g_agents_processing.gif)
This transformation occurs when a user input matches one of the intents or
domains.
" Agents are platform agnostic. You only have to design an agent
once, and then you can integrate it with a variety of platforms using
our SDKs (https://docs.api.ai/docs/sdks) and Integrations
(https://docs.api.ai/docs/integrations), or download Sles
compatible with your Alexa (https://docs.api.ai/docs/alexa-
integration) or Cortana (https://docs.api.ai/docs/cortana-
integration) apps.
Related topics:
GOOGLE PROJECT
If youre logged into API.AI with your Google account, you will see a Google
Project Seld on the agent creation page. This drop down menu will list your
existing Google Cloud Projects (http://cloud.google.com) (if you have any)
and the Create a new Google project option.
(https://Sles.readme.io/8e543aa-gcp-001.png)
If Create a new Google project is selected when you create the agent, a
new Google project will be created using the agent name you entered.
" If the agent name you entered already exists as a Google Cloud
project, a randomized string of numbers and letters will be
appended to the end.
Agent Settings
To access your agent settings, click the gear button # in the API.AI
developer console.
GENERAL
ML SETTINGS
Match Mode
This setting deSnes what algorithms should be used for machine learning
classiScation. It applies to all the intents in which Machine learning is
enabled.
Hybrid match mode Sts best for agents with a small number of
examples in intents and/or wide use of templates syntax and
composite entities.
ML only match mode can be used for agents with a large number of
examples in intents, especially the ones using @sys.any .
(https://Sles.readme.io/fd8849b-ML_match_mode.png)
ML ClassiScation Threshold
You can deSne a threshold value in the range from 0 to 1 for the parameter
"score" returned in JSON responses to queries
Note that fallback intents return "score": 1 and when no intent is triggered,
"score": 0 is returned.
(https://Sles.readme.io/752c027-ML-threshold.png)
EXPORT
You can export your entire agent as a ZIP Sle which will contain some agent
settings and all of the intents and entities from your agent in JSON format.
To do this, go to your agent settings, select 'Export and Import' from the
horizontal menu, and click on the corresponding button.
(https://Sles.readme.io/rk1E4fPzRJOvekWCi10s_agent_export3.png)
webhook Object
RESTORE
You can replace the current agent version with a new one.
$ All the intents and entities in the older version will be deleted
deleted.
(https://Sles.readme.io/efXWIJeERvqXaAA4KPw6_agent_restore.png)
IMPORT
You can upload new intents and entities without deleting the current ones.
(https://Sles.readme.io/qFRPpLkVRA6Ahucu2Mxt_agent-
import.png)
(https://Sles.readme.io/j6IPFYlpSZKBGfrCgFeK_Alexa-
export-settings.png)
CORTANA
If you created a Cortana compatible agent
(https://docs.api.ai/docs/cortana-integration), use Export for Cortana
button to export Cortana compatible VCD Sles.
(https://Sles.readme.io/WhvoKZh2ToO4ume61nEk_export-
for-cortana.png)
Share
API.AI agents can be shared with individuals on your team, allowing for
collaborative development and review.
(https://Sles.readme.io/04779eb-agent-sharing-001.gif)
Enter the email address of the person you want to share the agent to, choose
one of the following roles for that user, and then click Add
Add:
A users role can be changed by choosing an alternate role from the drop
down menu for that user.
When youre done adding the people you want to share the agent to, make
sure to click the Save button.
At this time, API.AI does not have version control for agents, or
collision detection when making edits. This means changes could
potentially be overwritten by another user, in very speciSc
circumstances.
The best way to avoid issues like this is to ensure users aren't working
on individual elements of the agent (intents, entities, etc.)
simultaneously.