The Microsoft LUIS NLP
package contains actions that enable you to connect to and
consume the Microsoft Cognitive Services Text Analytics API to identify the language,
sentiment, key phrases, and entities. This package supports the following
languages: English, Chinese (Simplified), French, German, and Spanish.
Before you start
You must have an Azure Cognitive Services resource to use these actions. See Create a Cognitive Services resource using the
You also require the following in order to use the actions:
- Service Endpoint URL: the endpoint URL that identifies
the Azure service.
- Subscription Key: the unique key that authenticates Automation Anywhere Enterprise.
Actions in the Microsoft LUIS NLP package
||Identifies the language of the provided content and returns it in
ISO 639-1 language code. The output is stored in a string
|Get key phrases
||Identifies the main points and returns a list of key phrases. For
example, if the input text is about a basketball game, this action
returns the names of teams, the name of the venue, and the final
|Get named entities
||Identifies the entities in the provided content such as people,
places, organizations, date/time, quantities, branded products, and
The output is stored in a dictionary variable, where
each name is a key, and the corresponding entity is the
||Analyzes the provided content and returns a sentiment and score.
- If the score is greater than 0.6, the sentiment is
- If the score is in the 0.2 through 0.6 range, the sentiment
- If the score is less than 0.2, the sentiment is
The output is stored in a dictionary variable containing two
keys and their corresponding values: