Fundamentals of Artificial Intelligence - Part 2
Understand natural language processing
Natural language processing (NLP) is the area of AI that deals with creating software that understands written and spoken language.
NLP enables you to create software that can:
- Analyze and interpret the text in documents, email messages and other sources.
- Interpret spoken language and synthesize speech responses.
- Automatically translate spoken or written phrases between languages.
- Interpret commands and determine appropriate actions.
For example, Starship Commander, is a virtual reality (VR) game from Human Interact, that takes place in a science fiction world. The game uses natural language processing to enable players to control the narrative and interact with in-game characters and starship systems.
Natural language processing (NLP) is the area of AI that deals with creating software that understands written and spoken language.
NLP enables you to create software that can:
- Analyze and interpret the text in documents, email messages and other sources.
- Interpret spoken language and synthesize speech responses.
- Automatically translate spoken or written phrases between languages.
- Interpret commands and determine appropriate actions.
Natural language processing in Microsoft Azure
In Microsoft Azure, you can use the following cognitive services to build natural language processing solutions:Service Capabilities Text Analytics Use this service to analyze text documents and extract key phrases, detect entities (such as places, dates, and people), and evaluate sentiment (how positive or negative a document is). Translator Text Use this service to translate text between more than 60 languages. Speech Use this service to recognize and synthesize speech, and to translate spoken languages. Language Understanding Intelligent Service (LUIS) Use this service to train a language model that can understand spoken or text-based commands.
Service | Capabilities |
---|---|
Text Analytics | Use this service to analyze text documents and extract key phrases, detect entities (such as places, dates, and people), and evaluate sentiment (how positive or negative a document is). |
Translator Text | Use this service to translate text between more than 60 languages. |
Speech | Use this service to recognize and synthesize speech, and to translate spoken languages. |
Language Understanding Intelligent Service (LUIS) | Use this service to train a language model that can understand spoken or text-based commands. |
Try this
To see an example of a how you can use natural language to interact with an AI system, follow these steps:- Open another browser tab and go to https://aidemos.microsoft.com/luis/demo.
- Use the demo interface to control the lighting in the virtual home. You can type instructions, use the microphone button to speak commands, or select any of the suggested phrases to see how the system responds.
- Open another browser tab and go to https://aidemos.microsoft.com/luis/demo.
- Use the demo interface to control the lighting in the virtual home. You can type instructions, use the microphone button to speak commands, or select any of the suggested phrases to see how the system responds.
Understand conversational AI
Conversational AI is the term used to describe solutions where AI agents participate in conversations with humans. Most commonly, conversational AI solutions use bots to manage dialogs with users. These dialogs can take place through web site interfaces, email, social media platforms, messaging systems, phone calls, and other channels.
Bots can be the basis of AI solutions for:
- Costumer support for product or services.
- Reservation systems for restaurants, airlines, cinemas and other appointment based businesses.
- Health care cosultations and self-diagnosis.
- Home automation and personal digital assistents.
Conversational AI in Microsoft Azure
Service | Capabilities |
---|---|
QnA Maker | This cognitive service enables you to quickly build a knowledge base of questions and answers that can form the basis of a dialog between a human and an AI agent. |
Azure Bot Service | This service provides a platform for creating, publishing, and managing bots. Developers can use the Bot Framework to create a bot and manage it with Azure Bot Service - integrating back-end services like QnA Maker and LUIS, and connecting to channels for web chat, email, Microsoft Teams, and others. |
Try this
- Open another browser tab and go to https://www.microsoft.com/research/project/health-bot/.
- Select the option and Try a demo of an example end-user experience.
- Use the web chat interface to interact with the bot.
Understand responsible AI
Artificial Intelligence is a powerful tool that can be used to greatly benefit the world. However, like any tool, it must be used responsibly.
At Microsoft, AI software development is guided by a set of six principles, designed to ensure that AI applications provide amazing solutions to difficult problems without any unintended negative consequences.
Fairness
AI systems should treat all people fairly. For example, suppose you create a machine learning model to support a loan approval application for a bank. The model should make predictions of whether or not the loan should be approved without incorporating any bias based on gender, ethnicity, or other factors that might result in an unfair advantage or disadvantage to specific groups of applicants.
Azure Machine Learning includes the capability to interpret models and quantify the extent to which each feature of the data influences the model's prediction. This capability helps data scientists and developers identify and mitigate bias in the model.
Reliability and safety
AI systems should perform reliably and safely. For example, consider an AI-based software system for an autonomous vehicle; or a machine learning model that diagnoses patient symptoms and recommends prescriptions. Unreliability in these kinds of system can result in substantial risk to human life.
AI-based software application development must be subjected to rigorous testing and deployment management processes to ensure that they work as expected before release.
Privacy and security
Inclusiveness
Transparency
Accountability
Explore responsible AI in practice
Try this
- Open another browser tab and go to https://aidemos.microsoft.com/guidelines-for-human-ai-interaction/demo.
- Select cards from each of the decks, which represent four phases in a Human-AI interaction:
- Initially
- During the interaction
- When something goes wrong
- Over time
- For each card, view the examples provided.
- Try to identify which of the six principles the examples reflect (an example might reflect more than one principle).
Join the conversation