QnACardBuilder.GetQnADefaultResponse(QueryResult, BoolExpression) 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.
Get Card for Default QnA Maker scenario.
public static Microsoft.Bot.Schema.IMessageActivity GetQnADefaultResponse (Microsoft.Bot.Builder.AI.QnA.QueryResult result, AdaptiveExpressions.Properties.BoolExpression displayPreciseAnswerOnly);
static member GetQnADefaultResponse : Microsoft.Bot.Builder.AI.QnA.QueryResult * AdaptiveExpressions.Properties.BoolExpression -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function GetQnADefaultResponse (result As QueryResult, displayPreciseAnswerOnly As BoolExpression) As IMessageActivity
Parameters
- result
- QueryResult
Result to be dispalyed as prompts.
- displayPreciseAnswerOnly
- BoolExpression
Choice to render precise answer.
Returns
IMessageActivity.