Exemplo n.º 1
0
        static void Main(string[] args)
        {
            // Change to your LUIS app Id
            string luisAppId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";

            // Change to your LUIS subscription key
            string luisSubscriptionKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

            string region = Luis.GetRegion(luisAppId, luisSubscriptionKey);

            Console.Write(string.Format("\n\rLUIS region: {0} \n\r", region));
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            // Change to your LUIS app Id
            string luisAppId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";

            // Change to your LUIS subscription key
            string luisSubscriptionKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

            string region = Luis.GetRegion(luisAppId, luisSubscriptionKey);

            Console.Write(string.Format("\n\rLUIS region: {0} \n\r", region));
            Console.Write("\nPress any key to continue...");
            Console.Read();             // to keep the console open
        }