BotConfigurationExtensions.ValidateQnAKeyExistence(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 QnAMakerService has its key defined.
public static (bool IsValid, string ErrMsg) ValidateQnAKeyExistence (this Microsoft.Bot.Configuration.BotConfiguration botConfiguration);
static member ValidateQnAKeyExistence : Microsoft.Bot.Configuration.BotConfiguration -> ValueTuple<bool, string>
<Extension()>
Public Function ValidateQnAKeyExistence (botConfiguration As BotConfiguration) As ValueTuple(Of Boolean, String)
Parameters
- botConfiguration
- BotConfiguration
BotConfiguration object to extend.
Returns
Boolean that indicates if a bot configuration file's QnAMaker keys are present.