Jaa


BotConfigurationExtensions.ValidateLuisKeyExistence(BotConfiguration) Method

Definition

Checks if the LuisService has its key defined.

public static (bool IsValid, string ErrMsg) ValidateLuisKeyExistence (this Microsoft.Bot.Configuration.BotConfiguration botConfiguration);
static member ValidateLuisKeyExistence : Microsoft.Bot.Configuration.BotConfiguration -> ValueTuple<bool, string>
<Extension()>
Public Function ValidateLuisKeyExistence (botConfiguration As BotConfiguration) As ValueTuple(Of Boolean, String)

Parameters

botConfiguration
BotConfiguration

BotConfiguration object to extend.

Returns

Tuple with a boolean that indicates if a bot configuration file's Luis keys are present and its Error message.

Applies to