api_ai_tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
api_ai_tutorial [2017/01/04 11:31] – dwallace | api_ai_tutorial [2017/01/04 11:43] (current) – dwallace | ||
---|---|---|---|
Line 17: | Line 17: | ||
API.AI is a cloud-based interface that allows developers to create dialogs between their users, and to implement Natural Language Understanding (NLU) and Machine Leanring (ML) into their applications. The API.AI framework is based on a web GUI that allows developers to create custom Intents, Entities, Actions, and Integrations for their Agents. API.AI allows integration with many platforms such as Facebook Messenger, Amazon Alexa, Google Home, and even Microsoft Cortana. It is a very powerful tool for building interactive chat bots and agents that make the user-experience even more seamless for your app. | API.AI is a cloud-based interface that allows developers to create dialogs between their users, and to implement Natural Language Understanding (NLU) and Machine Leanring (ML) into their applications. The API.AI framework is based on a web GUI that allows developers to create custom Intents, Entities, Actions, and Integrations for their Agents. API.AI allows integration with many platforms such as Facebook Messenger, Amazon Alexa, Google Home, and even Microsoft Cortana. It is a very powerful tool for building interactive chat bots and agents that make the user-experience even more seamless for your app. | ||
- | Agents are the individual conversation or command packages that have their unique set of intents, entities, and actions. An example of an a agent is a chatbot for finding new recipes for common foods. The Agent is really the assistant as a whole, and API.AI allows you to manage multiple agents with their web GUI. | + | Agents are the individual conversation or command packages that have their unique set of intents, entities, and actions. An example of an a agent is a chatbot for finding new recipes for common foods. The Agent is really the assistant as a whole, and API.AI allows you to manage multiple agents with their web GUI. For more info on Agents, visit the [[https:// |
Intents in API.AI are meanings that are mapped to a user's speech/text input. If a user asked "Ok Google, what the weather like?", | Intents in API.AI are meanings that are mapped to a user's speech/text input. If a user asked "Ok Google, what the weather like?", | ||
- | Entities are data fields that are to-be-filled by user input. So let's take the example of an AI assistant that finds clothes based on the parameters that the user sets. The entities for an app like this would be things like clothing_type, | + | Entities are data fields that are to-be-filled by user input. So let's take the example of an AI assistant that finds clothes based on the parameters that the user sets. The entities for an app like this would be things like clothing_type, |
- | Finally, Actions are what the agent executes when an intent is triggered. This can be done with either webhooks, SDK integration, | + | Finally, Actions are what the agent executes when an intent is triggered. This can be done with either webhooks, SDK integration, |
===== Downloads ===== | ===== Downloads ===== | ||
Line 79: | Line 79: | ||
Once you have imported the project, do a clean build to ensure no errors occur. If they do, fix them by installing the necessary libraries/ | Once you have imported the project, do a clean build to ensure no errors occur. If they do, fix them by installing the necessary libraries/ | ||
+ | \\ \\ | ||
+ | {{ dylanw: | ||
+ | \\ | ||
+ | |||
+ | Finally, in order to interface our agent that we created, with the SDK, we need to provide the Client Access Token which can be found under the Agent Settings. Copy this token and add it to the ACCESS_TOKEN field of the Config.java file. Save your changes and rebuild the project. If you are without errors, then we should be ready to deploy. | ||
+ | |||
+ | ===== Deployment ===== | ||
+ | |||
+ | For deployment, we will follow the same steps as outlined in the [[nest_tutorial# | ||
+ | |||
+ | ===== Testing ===== | ||
+ | |||
+ | In order to test, simply use the Button Sample on the app. This will take in the speech, send it to the Google' | ||
+ | |||
+ | For questions, clarifications, |
api_ai_tutorial.1483558289.txt.gz · Last modified: by dwallace