// 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 BasicQnAMakerDialogGA() : base(new QnAMakerService(new QnAMakerAttribute(ConfigurationManager.AppSettings["QnAAuthKey"], ConfigurationManager.AppSettings["QnAKnowledgebaseId"], BasicQnAMakerDialog.GetNoFoundText(), 0.5, 1, ConfigurationManager.AppSettings["QnAEndpointHostName"]))) { }
// 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(ConfigurationManager.AppSettings["QnAAuthKey"], ConfigurationManager.AppSettings["QnAKnowledgebaseId"], BasicQnAMakerDialog.GetNoFoundText(), 0.5))) { }