QnACardBuilder.GetQnAPromptsCard(QueryResult, String) 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 MultiTurn scenario. (Can be deprecated from 4.10.0 release of sdk).
public static Microsoft.Bot.Schema.IMessageActivity GetQnAPromptsCard (Microsoft.Bot.Builder.AI.QnA.QueryResult result, string cardNoMatchText = "");
static member GetQnAPromptsCard : Microsoft.Bot.Builder.AI.QnA.QueryResult * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function GetQnAPromptsCard (result As QueryResult, Optional cardNoMatchText As String = "") As IMessageActivity
Parameters
- result
- QueryResult
Result to be dispalyed as prompts.
- cardNoMatchText
- String
No match text.
Returns
IMessageActivity.