Getting an error when launching my virtual assistant application

sock1992

Well-known member
Joined
May 20, 2020
Messages
107
Programming Experience
Beginner
Hi, I've recently set up a virtual assistant in visual studio and when running the program, it gives me the following error:

"LuisService.Region cannot be Null"

I'm completely new to Azure so I'm not entirely sure what this means. Can anyone help? I've attached an image to give you more information about the exception I'm receiving.

1618597107454.png


I've created an LUIS AI and added a prediction resource, I've also added entities and intents, so i honestly have no idea why this error is occurring.

Is there somewhere in the program where i need to input the LUIS app ID?

Thankyou
 
Last edited:
Perhaps you could show us the relevant code and point out exactly where the exception is thrown. This is not something that I've ever done myself but the error message seems pretty clear about what the specific issue is, i.e. you have a LuisService object and its Region property is null. Where are you creating this object? Have you researched that property to see how and where it should be set?
 
Back
Top Bottom