Skip to content

Microsoft LUISΒΆ

The Microsoft LUIS NLU connector enables integration with Microsoft LUIS to use its language understanding results for powering AI Agents in Cognigy.AI.

PrerequisitesΒΆ

  • Access to Microsoft LUIS.

Configuration on the NLU Provider SideΒΆ

  1. Set up a new LUIS app in the Microsoft LUIS portal, define intents, add entities, and train the model.
  2. Go to Manage > Azure Resources in your LUIS app to find the required parameters:
    • Location β€” the Azure region where the LUIS service is hosted. For example, westus2.
    • Subscription Key β€” the key (Primary or Secondary key) can be found in Manage > Azure Resources.
    • App ID β€” the App ID can be found in Manage > Settings of the LUIS app.
  3. Ensure the app is published in production mode for external services, such as Cognigy.AI, to access it.

Configuration on the Cognigy.AI SideΒΆ

  1. In Cognigy.AI, go to Build > NLU Connectors, create a LUIS NLU connector.
  2. Fill in the placeholders in the URL with the parameters you found in LUIS:

https://{location}.api.cognitive.microsoft.com/luis/v2.0/apps/{appId}?subscription-key={subscriptionKey}&q=
3. Paste this URL into the Authentication URL field.

Test your NLU ConnectorΒΆ

By default, the Cognigy NLU connector is used in the Interaction Panel for testing purposes. To change this behavior, open the Settings tab in the Interaction Panel, then select the configured connector form the NLU Connector list.

Add your NLU Connector to Endpoint SettingsΒΆ

By default, the Cognigy NLU connector is used in the Endpoint. To change this behavior, follow these steps:

  1. Go to Deploy > Endpoints.
  2. Select the desired Endpoint and open the Endpoint Settings.
  3. Go to Natural Language Understanding > NLU Connector and select the configured connector.

More InformationΒΆ