Jaa


BotConfigurationExtensions.ValidateQnAKeyExistence(BotConfiguration) Method

Definition

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.

Applies to