BotConfigurationExtensions.ValidateLuisKeyExistence(BotConfiguration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.