![]() ![]() SetLogPersonalInformation(Boolean withLogPersonalInformation) Sets the QnA Maker knowledge base ID to query. SetKnowledgeBaseId(String withKnowledgeBaseId) Sets a value indicating whether gets or sets environment of knowledgebase to be called. SetHttpClient(OkHttpClient withHttpClient) Sets the QnA Maker host URL for the knowledge base. Sets the QnA Maker endpoint key to use to query the knowledge base. Sets the button text to use with active learning options, allowing a user to indicate none of the options are applicable. SetCardNoMatchText(String withCardNoMatchText) Sets the template to send the user if they select the no match option on an active learning card. SetCardNoMatchResponse(BindToActivity withCardNoMatchResponse) Sets the card title to use when showing active learning options to the user, if active learning is enabled. ![]() SetActiveLearningCardTitle(String withActiveLearningCardTitle) OnPreBubbleEvent(DialogContext dc, DialogEvent e) Gets the maximum number of answers to return from the knowledge base. Gets the threshold for answers returned, based on score. Gets the QnA Maker metadata with which to filter or boost queries to the knowledge base or null to apply none. Gets the options the dialog will use to display query results to the user. Gets the options for the QnA Maker client that the dialog will use to query the knowledge base. Gets an QnAMakerClient to use to access the QnA Maker knowledge base. Gets the template to send the user when QnA Maker does not find an answer. Gets the flag to determine if personal information should be logged in telemetry. Gets the QnA Maker knowledge base ID to query. Gets a value indicating whether gets or sets environment of knowledgebase to be called. Gets the Ok Http Client instance to use for requests to the QnA Maker service. Gets the QnA Maker host URL for the knowledge base. Gets the QnA Maker endpoint key to use to query the knowledge base. Gets the button text to use with active learning options, allowing a user to indicate none of the options are applicable. Gets the template to send the user if they select the no match option on an active learning card. Gets the card title to use when showing active learning options to the user, if active learning is enabled. ![]() QnAMakerDialog(String dialogId, String withKnowledgeBaseId, String withEndpointKey, String withHostName, Activity withNoAnswer, Float withThreshold, String withActiveLearningCardTitle, String withCardNoMatchText, Integer withTop, Activity withCardNoMatchResponse, Metadata withStrictFilters, OkHttpClient withHttpClient)īeginDialog(DialogContext dc, Object options)Ĭalled when the dialog is started and pushed onto the dialog stack.ĭisplayQnAResult(WaterfallStepContext stepContext)ĭisplays QnA Result from step Context through Activity - with first answer from QnA Maker response. Initializes a new instance of the QnAMakerDialog class. QnAMakerDialog(String withKnowledgeBaseId, String withEndpointKey, String withHostName, Activity withNoAnswer, Float withThreshold, String withActiveLearningCardTitle, String withCardNoMatchText, Integer withTop, Activity withCardNoMatchResponse, Metadata withStrictFilters, OkHttpClient withHttpClient) Initializes a new instance of the Qn AMaker Dialog} class. The path for storing and retrieving QnA Maker context data. The path for storing and retrieving the previous question ID. The path for storing and retrieving the options for this instance of the dialog. The default maximum number of answers to be returned for the question. The default threshold for answers returned, based on score. It supports knowledge bases that include follow-up prompt and active learning features. An instance of this class targets a specific QnA Maker knowledge base. A dialog that supports multi-step and adaptive-learning QnA Maker services. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |