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ΒΆ
- Set up a new LUIS app in the Microsoft LUIS portal, define intents, add entities, and train the model.
- 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.
- Location β the Azure region where the LUIS service is hosted. For example,
- Ensure the app is published in production mode for external services, such as Cognigy.AI, to access it.
Configuration on the Cognigy.AI SideΒΆ
- In Cognigy.AI, go to Build > NLU Connectors, create a LUIS NLU connector.
- 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=
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:
- Go to Deploy > Endpoints.
- Select the desired Endpoint and open the Endpoint Settings.
- Go to Natural Language Understanding > NLU Connector and select the configured connector.