Exemple #1
0
 // Go to https://qnamaker.ai and feed data, train & publish your QnA Knowledgebase.
 // Parameters to QnAMakerService are:
 // Required: qnaAuthKey, knowledgebaseId, endpointHostName
 // Optional: defaultMessage, scoreThreshold[Range 0.0 – 1.0]
 public BasicQnAMakerDialog() : base(new QnAMakerService(new QnAMakerAttribute(RootDialog.GetSetting("QnAAuthKey"), Utils.GetAppSetting("QnAKnowledgebaseId"), "No good match in FAQ.", 0.5, 1, Utils.GetAppSetting("QnAEndpointHostName"))))
 {
 }
Exemple #2
0
 // Go to https://qnamaker.ai and feed data, train & publish your QnA Knowledgebase.
 // Parameters to QnAMakerService are:
 // Required: subscriptionKey, knowledgebaseId,
 // Optional: defaultMessage, scoreThreshold[Range 0.0 – 1.0]
 public BasicQnAMakerPreviewDialog() : base(new QnAMakerService(new QnAMakerAttribute(RootDialog.GetSetting("QnAAuthKey"), Utils.GetAppSetting("QnAKnowledgebaseId"), "No good match in FAQ.", 0.5)))
 {
 }